Try the Charts API:

http://code.google.com/apis/chart/docs/gallery/dynamic_icons.html#pins

Chris

On Thu, Dec 30, 2010 at 10:31 AM, Iam Anonymous <[email protected]
> wrote:

> I have an application that creates a map as a single html file that I want
> to be able to archive and to email to people.  An implication of this is
> that it can't reference other files because those files won't be present
> when the html file is opened by the recipient.
>
> So ... now I would like to customize the marker icons.  The only way I can
> see to do this is by referencing web urls that will be reliable over time.
>  This is especially important because from testing I see that if a custom
> marker link is broken I don't get the default marker.  I get nothing.
>
> I have found a couple of icon libraries at Google, like
> http://gmaps-samples.googlecode.com/svn/trunk/markers/ but the
> "gmaps-samples" portion of the link does not give me a sense of permanence.
>  I would like something more like "guaranteed-icons/google.com"  :-)
>
> Is there such a thing as a permanent icon library, preferably maintained by
> Google?
>
> Also, is there some way I can test a link within the Javascript to
> determine whether the icon is there or not?  I am relatively new to the
> language but if I could do this, then I could omit the "icon:" reference to
> a missing icon and let the map revert to the Google default.
>
> TIA
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to