Thank you for the answer. I understand your idea, but the three test (with the three different icon) are made with the same parameters. I change only the Icon, if is static as (3) all run ok, otherwhise (1)(2) in earth I show only a red cross.
On 2 Dic, 13:26, Rossko <[email protected]> wrote: > > My guess is that some of the other properties of GIcon that you are > failing to define, are essential in Earth and cannot be left as null. > Things like size,etc. > Try basing your GIcon on the default icon and change the image source. > > cheers, Ross K >> I make 3 test with the icon: >> >> (1)***************************** >> var Icon = new GIcon(); >> Icon.image = "http://mysite/GetIcon.aspx?markerName=UniqueIconCode"; >> (2)***************************** >> Icon.image = "http://chart.apis.google.com/chart? >> chst=d_map_pin_icon&chld=cafe|996600"; >> (3)***************************** >> Icon.image = "http://www.google.com/intl/en_us/mapfiles/ms/micons/blue- >> dot.png"; >> ***************************** >> >> Only the last url produce a visible marker icon in earth (with the >> plug in for browser for FF 3.5.5). >> All the url produce a visible icon in the other map type. -- 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.
