edited the current location marker

This commit is contained in:
Al Duncanson 2018-10-04 18:30:20 -04:00
parent 7dd828a38c
commit 861dc783bf
1 changed files with 2 additions and 3 deletions

View File

@ -137,8 +137,7 @@ export class MapContainer extends Component {
<Marker
position = { this.state.myLatLng }
onClick = { this.onMarkerClick }
title = { 'You are here' }
name = { '' }
type = { 'You are here' }
// FIXME: fix custom icon
// icon={{
// url: "../images/marten-icon.png",
@ -151,7 +150,7 @@ export class MapContainer extends Component {
{ this.state.sightings.map((sighting) => {
return (
<Marker
key={sighting.id}
key={ sighting.id }
position={{ lat: sighting.lat, lng:sighting.lng }}
onClick = { this.onMarkerClick }
type = { 'Type: ' + sighting.type }