On Aug 18, 10:10 am, armands <[email protected]> wrote:
> Hi,
>
> I am adding the marker to the map this way:
>
> var blueIcon = new GIcon(G_DEFAULT_ICON);
> blueIcon.image = "http://www.google.com/intl/en_us/mapfiles/ms/micons/
> blue.png";
> wMarker = new GMarker(new GLatLng(wLat, wLng), {icon:blueIcon});
> map.addOverlay(wMarker);
>
> The result is that the added marker looks very wrong. Here is how it
> looks:http://new.knowledgeprice.com/gmaps.jpg
>
> Have you seen anything similar?

Yes.  You are using the template for the default icon G_DEFAULT_ICON,
but the icon image you are using is bigger (32x32 probably).

You need to adjust all the parameters of the GIcon to be correct for
the image you are using or use an image the same size as the default
icon.

  -- Larry


>
> Thanks,
> Armands

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