[Google Maps API v2] Custom marker for GMap
I have code:
" var marker = new GMarker(new GLatLng(45.59366,17.22518))
GEvent.addListener(marker,"click", function() { Shadowbox.open({content: 'out.swf',
player: "swf", width: 800, height: 600});});map.addOverlay(marker); "
but everything I was try to do I cant get a custom image for a marker for Gmap! Everything is working and I dont know how to implement .png marker in this code to get all working ... Any idea?
TNX!
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/ZFW1WsJ1QMwJ.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home