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

ol-mapbox-style

Package Overview
Dependencies
Maintainers
4
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

6.1.1

Diff

Changelog

Source

6.1.1

  • Fix version issue with @mapbox/mapbox-gl-style-spec
ahocevar
published 6.1.0 •

Changelog

Source

6.1.0

  • Improvements and bug fixes for multi-line text and wrapping
  • Support for running stylefunction in web workers
ahocevar
published 6.0.1 •

ahocevar
published 6.0.0 •

Changelog

Source

6.0.0

Breaking changes

Module paths

ol-mapbox-style now ships with transpiled modules in the dist/ folder, and sources in the src/ folder. Previously, all modules were provided in the root directory.

When upgrading, the import paths need to be checked. For example,

import stylefunction from 'ol-mapbox-style/stylefunction';

needs to be changed to

import stylefunction from 'ol-mapbox-style/dist/stylefunction';

Other changes

  • Allow mapbox:// urls for all layer types, not just vector
ahocevar
published 5.0.2 •

Changelog

Source

5.0.2

  • Update dependencies
  • Use ol@6.0.1
  • Do not fail when icons come from an expression
  • Only set the maxResolution on a new view, instead of the whole resolutions array
ahocevar
published 5.0.1 •

ahocevar
published 5.0.0-beta.3 •

Changelog

Source

5.0.0-beta.3

  • Fix an issue with `icon-color´ handling
  • Fix an issue with parsing Google font names
  • Add support for the icon-anchor property
  • More efficient handling or tilejson and shared vector tile sources
fredj
published 5.0.0-beta.2 •

Changelog

Source

5.0.0-beta.2

  • More efficient midpoint rendering
  • Only include style spec once
  • Trim the label-field string
  • Round text size to integer pixels
ahocevar
published 5.0.0-beta.1 •

Changelog

Source

5.0.0-beta.1

  • Requires ol@6
  • Uses new OpenLayers z-index ordering for decluttered content
  • Support for the text-rotation-alignment property
  • Better max-angle handling in combination with text-letter-spacing
ahocevar
published 4.3.1 •

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