Updated default zoom value

This commit is contained in:
dbroqua 2020-03-07 21:49:56 +01:00
parent f336fd67ed
commit 74edd64615

View file

@ -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,