Thursday, October 29, 2009

Re: Red X markers when switching to "Earth" type

On Oct 29, 6:40 am, adube <ad...@mapgears.com> wrote:
> Hi,
>
>   I have some custom markers on my map.  When I switch to the "Earth"
> type, they become small red X markers.
>
>   How come ?  Am I doing something wrong ?

Where is your map?

http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines

http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical


-- Larry

>
>   All markers are created like that ( with the latlng being different,
> of course ) :
>
> <<<
>
>         var oIcon = new GIcon();
>         oIcon.image = "img/services/icon/hotel_sec.png";
>         oIcon.shadow = "";
>         oIcon.iconSize = new GSize(19,23);
>         oIcon.iconAnchor = new GPoint(19,11);
>         var oLatLng = new GLatLng(aCoordinates[1],aCoordinates[0]);
>         var oMarker = new GMarker(oLatLng,{icon: oIcon});
>
>
>
>    Don't mind the aCoordinates.
>
> Many thanks,
>
> Alexandre
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate