You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
The Static Maps API very nicely and easily provides different color markers. How do I get different color markers in the Maps JavaScript API v3?
geoco...@gmail.com
unread,
Dec 25, 2010, 7:46:07 PM12/25/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
On Dec 25, 7:25 pm, Mark Adler <goo...@madler.net> wrote:
> The Static Maps API very nicely and easily provides different color markers.
> How do I get different color markers in the Maps JavaScript API v3?
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Thanks! That's a start. Though not nearly as convenient as in the static maps API. There should be a color option for markers, as well as a label option in this API, like in the other API. So there is no way to simply specify a color and a label?
Is there a list of what icons are there? By trial and error I also found red, yellow, orange, and purple. But not the other colors that are in the static API, specifically white, black, brown, or gray. Are there icons there with letters and numbers in them as well?
Replacing the default marker image looks a little difficult. Do I also have to provide a shape and a shadow? If so, can I find those somewhere? For the image, do I need to provide a size, or can it just figure that out from the image loaded?
geoco...@gmail.com
unread,
Dec 26, 2010, 12:47:34 AM12/26/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
On Dec 25, 8:38 pm, Mark Adler <goo...@madler.net> wrote:
> Thanks! That's a start. Though not nearly as convenient as in the static
> maps API. There should be a color option for markers, as well as a label
> option in this API, like in the other API. So there is no way to simply
> specify a color and a label?
> By trial and error I also found
> red, yellow, orange, and purple. But not the other colors that are in the
> static API, specifically white, black, brown, or gray. Are there icons
> there with letters and numbers in them as well?
I believe so.
>
> Replacing the default marker image looks a little difficult. Do I also have
> to provide a shape and a shadow?
> On Dec 25, 7:25 pm, Mark Adler <goo...@madler.net> wrote:
>
> > The Static Maps API very nicely and easily provides different color markers.
> > How do I get different color markers in the Maps JavaScript API v3?
>
> Either:
> 1. make them
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
If anyone is interested, a program is linked here that reads a png image with an alpha channel and writes a list of points for a polygon that exactly circumscribes the non-zero alpha values. This would be used to generate the coordinates for a shape to be used in a custom marker.