Skip to content

Commit

Permalink
Update to latest version of inspect
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Mar 13, 2024
1 parent a0e0c49 commit e7a9e8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion src/components/MapMaplibreGl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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!;
Expand Down

0 comments on commit e7a9e8f

Please sign in to comment.