Hi there,

I don't think a Chart API image can be used as marker on a GMap -
there's a heap of technical reasons behind this, and I think it might
not be possible to do in a practical way.

My solution would involve pre-fetching the Chart Image using cURL,
saving it and then referencing this image for the GMap pin icon

The shadow on the Gmap is the normal result of a non-available image
for an Icon -

bye

C_M
::carloslabs::

On Jun 20, 1:34 pm, Brian <[email protected]> wrote:
> Greetings,
>
> I'm new, so forgive me for busting in.  I'm relatively new to using
> the GMap API, but recently I setup a Gmap, and can easily add Map Pins
> from my standard library locally, or ones on the web.  For example,
> this works great:
>
> var icon = new GIcon(G_DEFAULT_ICON);
> icon.image = 'http://www.google.com/mapfiles/dd-start.png';
> icon.iconSize = new GSize(12, 20);
> icon.shadowSize = new GSize(22, 20);
> icon.iconAnchor = new GPoint(6,20);
>
> But when I do this:
>
> icon.image = 'http://www.google.com/chart?chst=d_map_pin_letter&chld=A|
> FF0000|000000'
>
> I just see the shadows, no icon on the map.  Not sure what i am
> doing.  I am using GMap2 and PDMarker if that helps.
>
> Anything obviously wrong?
>
> Thanks
>
> Brian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to