Updated zoom (again)
This commit is contained in:
parent
74edd64615
commit
5a00d8f1f3
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class Map extends React.Component {
|
||||||
height: '100vh',
|
height: '100vh',
|
||||||
latitude: 44.837789,
|
latitude: 44.837789,
|
||||||
longitude: -0.57918,
|
longitude: -0.57918,
|
||||||
zoom: 12,
|
zoom: 11,
|
||||||
},
|
},
|
||||||
userLocation: {},
|
userLocation: {},
|
||||||
gasStations: [],
|
gasStations: [],
|
||||||
|
@ -84,7 +84,7 @@ class Map extends React.Component {
|
||||||
width: '100vw',
|
width: '100vw',
|
||||||
latitude: position.coords.latitude,
|
latitude: position.coords.latitude,
|
||||||
longitude: position.coords.longitude,
|
longitude: position.coords.longitude,
|
||||||
zoom: 12,
|
zoom: 11,
|
||||||
};
|
};
|
||||||
this.setState({
|
this.setState({
|
||||||
viewport: newViewport,
|
viewport: newViewport,
|
||||||
|
|
Loading…
Reference in a new issue