Hi there, i user my own icon for my marker.
This icon is pretty big, 141X141 pixels. It is a round disc which i
want to stand where i click and want it to be draggable as well (this
is why i just didnt create a polygon circle arround it).
So this is how i create my marker
new_marker = new GMarker(point,{draggable: true,icon:roundIcon});
and this is my icon
roundIcon = new GIcon(G_DEFAULT_ICON);
roundIcon.image = "images/radius.png";
roundIcon.shadow = "";
roundIcon.iconSize=new GSize(141,141);
roundIcon.iconAnchor=new GPoint(70,70);
roundIcon.infoWindowAnchor=new GPoint(70,70);
I am having wo problems though
1) I can only click and drag it from its top left corner, not from the
whole png.
2) When the info window opens it does pan automatically as it should
but not ll the way so that the infowindow is all displayed...
Any suggestions on how i can fix those two problems??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---