diff --git a/src/components/map/InspectionMap.jsx b/src/components/map/InspectionMap.jsx index c382129..ee836bd 100644 --- a/src/components/map/InspectionMap.jsx +++ b/src/components/map/InspectionMap.jsx @@ -61,6 +61,7 @@ export default class InspectionMap extends React.Component { const map = new MapboxGl.Map({ container: this.container, style: convertInspectStyle(this.props.mapStyle, this.props.sources), + hash: true, }) const nav = new MapboxGl.NavigationControl(); diff --git a/src/components/map/MapboxGlMap.jsx b/src/components/map/MapboxGlMap.jsx index 9ea24dd..fb344fd 100644 --- a/src/components/map/MapboxGlMap.jsx +++ b/src/components/map/MapboxGlMap.jsx @@ -36,6 +36,7 @@ export default class MapboxGlMap extends React.Component { const map = new MapboxGl.Map({ container: this.container, style: this.props.mapStyle, + hash: true, }) const nav = new MapboxGl.NavigationControl();