javascript - Add custom symbols to google Maps -
i doing project based on google maps. need simulate path subjects have traveled. idea how that?
fyi application functionality similar flightradar24.com
when creating google.maps.marker object in javascript can specify specific image used in place of pin icon property. simulate path can erase , redraw pins. recommend saving pins array can reference later update , redraw pins.
https://developers.google.com/maps/documentation/javascript/reference#markeroptions
ex:
var marker = new google.maps.marker({ position: location, map: map, icon: pintype });
Comments
Post a Comment