#89 Added marker to map
parent
1155c08929
commit
1b52cdf375
|
@ -71,6 +71,7 @@ loadGoogleMapsAPI({ key:mapKey })
|
|||
marker = new googlemaps.Marker({
|
||||
position: { lat:mapuser.last.lat, lng:mapuser.last.lon },
|
||||
title: mapuser.name,
|
||||
icon: (mapuser.settings.marker)?'/static/img/marker/'+mapuser.settings.marker+'.png':'/static/img/marker/red.png',
|
||||
map: map,
|
||||
draggable: false
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue