mirror of
https://github.com/maputnik/editor.git
synced 2026-02-06 20:50:12 +00:00
Update to latest version of inspect
This commit is contained in:
9
package-lock.json
generated
9
package-lock.json
generated
@@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
||||
"@maplibre/maplibre-gl-geocoder": "^1.5.0",
|
||||
"@maplibre/maplibre-gl-inspect": "^1.6.2",
|
||||
"@maplibre/maplibre-gl-inspect": "^1.6.3",
|
||||
"@maplibre/maplibre-gl-style-spec": "^20.1.0",
|
||||
"@mdi/js": "^6.6.96",
|
||||
"@mdi/react": "^1.5.0",
|
||||
@@ -2592,12 +2592,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@maplibre/maplibre-gl-inspect": {
|
||||
"version": "1.6.2",
|
||||
"resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-inspect/-/maplibre-gl-inspect-1.6.2.tgz",
|
||||
"integrity": "sha512-ySKESs4LA7qbV0MhVAxbRFJQXA8auc2D5QidqWQVSfrwCoNI+DOOAzHXjYmyDprVXeOJMOXGb5QIspGIOz3hqw==",
|
||||
"version": "1.6.3",
|
||||
"resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-inspect/-/maplibre-gl-inspect-1.6.3.tgz",
|
||||
"integrity": "sha512-lJqLyTyrkhKF5+4bkXw7+ldzjFLtn6EiFj1dqrnvbCUo/ci7hSXflJFvDNjKjz5mAxGxdAOp0ku3k5bPwdTWAQ==",
|
||||
"dependencies": {
|
||||
"lodash.isequal": "^4.5.0",
|
||||
"lodash.throttle": "^4.1.1",
|
||||
"randomcolor": "^0.6.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"dependencies": {
|
||||
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
||||
"@maplibre/maplibre-gl-geocoder": "^1.5.0",
|
||||
"@maplibre/maplibre-gl-inspect": "^1.6.2",
|
||||
"@maplibre/maplibre-gl-inspect": "^1.6.3",
|
||||
"@maplibre/maplibre-gl-style-spec": "^20.1.0",
|
||||
"@mdi/js": "^6.6.96",
|
||||
"@mdi/react": "^1.5.0",
|
||||
|
||||
@@ -126,7 +126,6 @@ export default class MapMaplibreGl extends React.Component<MapMaplibreGlProps, M
|
||||
}
|
||||
if (this.state.inspect && this.props.inspectModeEnabled) {
|
||||
this.state.inspect!.setOriginalStyle(this.props.replaceAccessTokens(this.props.mapStyle));
|
||||
this.state.inspect!.render();
|
||||
}
|
||||
if (map) {
|
||||
map.showTileBoundaries = this.props.options?.showTileBoundaries!;
|
||||
|
||||
Reference in New Issue
Block a user