Chowdotya Raito
unread,Oct 25, 2011, 11:31:41 PM10/25/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
sorry, i was so panic back there... :)
i have house icon 32x32px.
and this is my script :
var image = new google.maps.MarkerImage("image/house.png", new google.maps.Size(24,24), new google.maps.Point(0,0), new google.maps.Point(12, 24), new google.maps.Size(24,24));
var shape = {
coord: [1, 1, 1, 24, 24, 24, 24, 1],
type: 'poly'
};
var target = new google.maps.LatLng(latitudebase, longitudebase) ;
var markerb = new google.maps.Marker({position: target, map: map, icon: image, shape: shape, title: namabasev}) ;
yesterday, this function can resize my icon.. but today it can't...
anyway, i have solved this problem by resizing house icon to 24x24px directly, without MarkerImage function..
*sorry for my bad english