Updated default zoom value
This commit is contained in:
parent
f336fd67ed
commit
74edd64615
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: 11,
|
zoom: 12,
|
||||||
},
|
},
|
||||||
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: 10,
|
zoom: 12,
|
||||||
};
|
};
|
||||||
this.setState({
|
this.setState({
|
||||||
viewport: newViewport,
|
viewport: newViewport,
|
||||||
|
|
Loading…
Reference in a new issue