edited the current location marker
This commit is contained in:
parent
7dd828a38c
commit
861dc783bf
|
@ -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 }
|
||||||
|
|
Loading…
Reference in New Issue