On Dec 24, 4:19 am, Bala <[email protected]> wrote:
> Hi,
>  We are using Custom Marker in the Google Map. But it is moving
> whenever Zoomed Out, In other words it is changing the position. For
> example we are putting custom marker  in the place "VarBerg". The
> following code we applied for it.
>
> Javascript Code
> -----------------------
>
>       var icon = new GIcon();
>       icon.image = "images/gmap_icons/marker_green.png";
>       icon.shadow = "images/gmap_icons/marker_gray.png";
>
>       icon.iconSize = new GSize(25, 35);
>       icon.shadowSize = new GSize(30, 35);
>       icon.iconAnchor = new GPoint(10, 25);
>       icon.infoWindowAnchor = new GPoint(31, 8);
>

>
> It would be helpful if anybody answer this question. It is very urgent.

If it is urgent, help us to help you. Follow the posting guidelines
and post a link to your map that shows the problem.

The most likely cause of the problem you describe is that the
iconAnchor property that you have specified for your icon is not
correct. We can't tell because we can't see your icon or your map.

Usually the iconAnchor is at the middle top of the icon, yours isn't,
but I don't know what your icon looks like.

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to