@vizzuality/layer-manager-plugin-mapboxgl
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -361,16 +361,2 @@ "use strict"; | ||
} | ||
setDecodeParams(layerModel) { | ||
const { mapLayer, decodeParams } = layerModel; | ||
if (!mapLayer) { | ||
return this; | ||
} | ||
const layer = mapLayer.layers[1]; | ||
if (layer && typeof layer.setProps === 'function') { | ||
layer.setProps({ decodeParams }); | ||
} | ||
else { | ||
console.error("Layer is not present. You defined decodeParams but maybe you didn't define a decodeFunction"); | ||
} | ||
return this; | ||
} | ||
setDeck() { | ||
@@ -377,0 +363,0 @@ return this; |
{ | ||
"name": "@vizzuality/layer-manager-plugin-mapboxgl", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"author": "Vizzuality <hello@vizzuality.com>", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4a9b5dcf0c665530896708c50a183431ba28da22" | ||
"gitHead": "da8f184e25e8e0596a5d05bacff0e71ea00632c2" | ||
} |
@@ -13,4 +13,3 @@ export { default } from './src/index'; | ||
setSQLParams: () => void | ||
setDecodeParams: () => void | ||
getLayerByType: () => void | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45756
600