fixed china problem

This commit is contained in:
Al Duncanson
2018-11-14 16:55:40 -05:00
parent 80a73145f7
commit b8ac327139
3 changed files with 122 additions and 232 deletions

View File

@@ -119,8 +119,8 @@ export class MapContainer extends Component {
// center map on Grand Rapids, Michigan
this.setState({
myLatLng: {
lat: 42.9634,
lng: 85.6681
lat: 43.8666776,
lng: -85.9667325
}
});
}
@@ -251,8 +251,8 @@ export class MapContainer extends Component {
// marker and info window information
state = {
myLatLng: {
lat: 42.9634,
lng: 85.6681
lat: 43.8666776,
lng: -85.9667325
},
showingInfoWindow: false,
activeMarker: {},
@@ -271,9 +271,9 @@ export class MapContainer extends Component {
google={this.props.google}
initialCenter={this.state.myLatLng}
center={this.state.myLatLng}
defaultZoom={15}
onClick={this.onMapClick}
>
minZoom={6}
zoom={6}
onClick={this.onMapClick} >
<Marker
position={this.state.myLatLng}