How to add custom marker on Static Map
Please see the folowing URL:
http://maps.googleapis.com/maps/api/staticmap?size=512x512&maptype=roadmap\&
markers=size:mid|color:blue|icon:http://knowledgeserve.in/images/logo.png|San+Francisco,CA|Oakland,CA|San+Jose,CA&sensor=false
See icon: http://knowledgeserve.in/images/logo.png , here you can give the image path, wherever it is..
So change your image link and then copy and paste this URL.
http://maps.googleapis.com/maps/api/staticmap?size=512x512&maptype=roadmap\&
markers=size:mid|color:blue|icon:http://knowledgeserve.in/images/logo.png|San+Francisco,CA|Oakland,CA|San+Jose,CA&sensor=false
See icon: http://knowledgeserve.in/images/logo.png , here you can give the image path, wherever it is..
So change your image link and then copy and paste this URL.
Comments
Post a Comment