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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -