@evergis/react
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -14,2 +14,7 @@ "use strict"; | ||
factory: () => new EvergisTileLayer_1.EvergisTileLayer({ name }, api), | ||
update: (layer, [name]) => { | ||
layer.name = name; | ||
layer.clearCache(); | ||
layer.redraw(); | ||
}, | ||
destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer), | ||
@@ -16,0 +21,0 @@ }, [name]); |
@@ -12,2 +12,7 @@ import { useProperty } from './useProperty'; | ||
factory: () => new EvergisTileLayer({ name }, api), | ||
update: (layer, [name]) => { | ||
layer.name = name; | ||
layer.clearCache(); | ||
layer.redraw(); | ||
}, | ||
destructor: layer => map.indexOf(layer) !== -1 && map.removeLayer(layer), | ||
@@ -14,0 +19,0 @@ }, [name]); |
{ | ||
"name": "@evergis/react", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "React components for creating GIS apps with evergis server", | ||
@@ -38,3 +38,3 @@ "author": "everpoint", | ||
"devDependencies": { | ||
"@evergis/api": "^0.1.53", | ||
"@evergis/api": "^0.1.57", | ||
"@types/jest": "^24.0.15", | ||
@@ -41,0 +41,0 @@ "@types/node": "^12.6.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
87030
1121