mirror of
https://github.com/maputnik/editor.git
synced 2025-12-28 09:00:02 +00:00
Allow hash for location
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user