From 39f06f844b0721f91fe84246ff52c8c83ef64918 Mon Sep 17 00:00:00 2001 From: Al Duncanson Date: Fri, 2 Nov 2018 14:46:06 -0400 Subject: [PATCH 1/2] changed maps default zoom --- src/components/SightingMap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/SightingMap.js b/src/components/SightingMap.js index 2d00465..097ba17 100644 --- a/src/components/SightingMap.js +++ b/src/components/SightingMap.js @@ -235,7 +235,8 @@ export class MapContainer extends Component { google={this.props.google} initialCenter={this.state.myLatLng} center={this.state.myLatLng} - defaultZoom={15} + minZoom={6} + zoom={6} onClick={this.onMapClick} > Date: Wed, 14 Nov 2018 17:06:27 -0500 Subject: [PATCH 2/2] refixed map --- src/components/SightingMap.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/SightingMap.js b/src/components/SightingMap.js index 2cdb676..0f9bc0e 100644 --- a/src/components/SightingMap.js +++ b/src/components/SightingMap.js @@ -273,9 +273,8 @@ export class MapContainer extends Component { center={this.state.myLatLng} minZoom={6} zoom={6} - onClick={this.onMapClick} > - defaultZoom={15} onClick={this.onMapClick} + defaultZoom={15} >