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