Change Google map marker -


how change marker in google map.is possible add our custome image map?

thanks, companion

it simple - see http://code.google.com/intl/en-us/apis/maps/documentation/javascript/overlays.html#simpleicons

example straight google docs

var image = 'beachflag.png'; var mylatlng = new google.maps.latlng(-33.890542, 151.274856); var beachmarker = new google.maps.marker({   position: mylatlng,   map: map,   icon: image }); 

if want more complex stuff, can extend googles overlay classes , perform custom rendering ...


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -