Resize the markers in google maps
Posted by navaneeth on Oct 13, 2012 in Google Maps, Javascript, Jquery | No comments yet
When we use the default markers and sometimes we need to resize the markers in google maps
and here is the code to resize icon image
var pinIcon = new google.maps.MarkerImage(
"http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|FFFF00",
null, /* size is determined at runtime */
null, /* origin is 0,0 */
null, /* anchor is bottom center of the scaled image */
new google.maps.Size(42, 68)
);
the icon for example
So this will help you to know how to Resize the markers in google maps


Leave a Reply