mirror of
https://github.com/maputnik/editor.git
synced 2026-06-15 03:37:27 +00:00
Updated '@mapbox/mapbox-gl-style-spec'
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import styleSpec from '@mapbox/mapbox-gl-style-spec'
|
||||
import styleSpec from '@mapbox/mapbox-gl-style-spec/style-spec'
|
||||
|
||||
export function diffMessages(beforeStyle, afterStyle) {
|
||||
const changes = styleSpec.diff(beforeStyle, afterStyle)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import styleSpec from '@mapbox/mapbox-gl-style-spec'
|
||||
import styleSpec from '@mapbox/mapbox-gl-style-spec/style-spec'
|
||||
export const combiningFilterOps = ['all', 'any', 'none']
|
||||
export const setFilterOps = ['in', '!in']
|
||||
export const otherFilterOps = Object
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import styleSpec from '@mapbox/mapbox-gl-style-spec'
|
||||
import styleSpec from '@mapbox/mapbox-gl-style-spec/style-spec'
|
||||
|
||||
export function changeType(layer, newType) {
|
||||
const changedPaintProps = { ...layer.paint }
|
||||
|
||||
Reference in New Issue
Block a user