mirror of
https://github.com/maputnik/editor.git
synced 2026-12-06 08:44:20 +00:00
Upgrade ol-mapbox-style to v0.14
This commit is contained in:
1 parent
0fb59ca544
commit
7ff0ac9bb5
2 files changed
+1
-2
No files matched your search
@@ -19,7 +19,6 @@ class OpenLayers3Map extends React.Component {
|
||||
const olms = require('ol-mapbox-style')
|
||||
const jsonStyle = nextProps.mapStyle
|
||||
const styleFunc = olms.getStyleFunction(jsonStyle, 'openmaptiles', this.resolutions)
|
||||
console.log('New style babee')
|
||||
|
||||
const layer = this.layer
|
||||
layer.setStyle(styleFunc)
|
||||
|
||||
Reference in new issue
Block a user