When I load an image into the property of the marker icon, it is displayed with its original size, which is much larger than it should be.
I want to resize to a smaller size. What is the best way to do this?
the code:
function addMyPos(latitude,longitude){ position = new google.maps.LatLng(latitude,longitude) marker = new google.maps.Marker({ position: position, map: map, icon: "../res/sit_marron.png" }); }
javascript google-maps image-resizing google-maps-markers
Golan_trevize Feb 26 '13 at 18:22 2013-02-26 18:22
source share