Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

ol-mapbox-style

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ol-mapbox-style - npm Package Versions

1
17

10.3.4

Diff

Changelog

Source

10.3.4

  • Fix addMapboxLayer - updateMapboxLayer - removeMapboxLayer sequence
ahocevar
published 10.3.3 •

Changelog

Source

10.3.3

  • Fix updateMapboxLayer() and function/filter cache handling
ahocevar
published 10.3.2 •

Changelog

Source

10.3.2

  • Export removeMapboxLayer
ahocevar
published 10.3.1 •

Changelog

Source

10.3.1

  • Fix initial visibility of vector and geojson source layers
ahocevar
published 10.3.0 •

Changelog

Source

10.3.0

  • Add support for symbol-placement: "line-center"
ahocevar
published 10.2.0 •

Changelog

Source

10.2.0

  • Add support for the "id" expression
ahocevar
published 10.1.0 •

Changelog

Source

10.1.0

  • New removeMapboxLayer() function
  • Substantial fixes to the addMapboxLayer() function
  • Manage OpenLayers layer visibility based on the visibility of its Mapbox layers
ahocevar
published 10.0.0 •

Changelog

Source

10.0.0

Breaking changes

BBOX templates for geojson sources

Previously, the {bbox-epsg-3857} and {bbox-epsg-[custom projection srs code]} template replacement included the projection's SRS identifier, e.g. 1234,4567,4321,7654,EPSG:9876. Now, the template replacement just includes the bounding box. This means that e.g. WFS source URLs need to be changed in the Mapbox style.

If you previously had a source definition like

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857}"
}

you have to change it to

{
  "type": "geojson",
  "data": "https://ahocevar.com/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=osm:water_areas&outputFormat=application/json&srsname=EPSG:4326&bbox={bbox-epsg-3857},EPSG:3857"
}

The reason for this breaking change is compatibility with OCG API Features and other services that do not accept the SRS identifier as additional BBOX parameter.

ahocevar
published 9.7.0 •

Changelog

Source

9.7.0

  • Improved icon halo - now looks the same as text halo
  • New API for working with layer style objects and updating the rendered style
  • Improved access token handling for the Mapbox example
ahocevar
published 9.6.0 •

Changelog

Source

9.6.0

  • New updateSource option on applyStyle() for keeping pre-configured OpenLayers sources
  • Fix mapbox-layers array for raster or raster-dem layers that share the same source
  • Support for paint properties icon-halo-color and icon-halo-width
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc