Re: [Google Maps API v2] google-static-maps and array of polygons
On 1 August 2012 11:16, ann01 <anna.vracheva@gmail.com> wrote:
> I have an array of polygons. I want to display them on a static map. How can
> I do this?
> If I use the path=...&path=... you draw a polygon, only the last
Specify each polygon. Multiple paths do work:
http://maps.googleapis.com/maps/api/staticmap?size=512x512&path=color:0x00000000|weight:5|fillcolor:0xFFFF0066|8th+Avenue+%26+34th+St,New+York,NY|8th+Avenue+%26+42nd+St,New+York,NY|Park+Ave+%26+42nd+St,New+York,NY,NY|Park+Ave+%26+34th+St,New+York,NY,NY&path=color:0x00000000|weight:5|fillcolor:0xFF003366|6th+Ave+%26+W+45th+St,NY|5th+Ave+%26+W+45th+St,NY|5th+Ave+%26+W+32nd+St,NY|6th+Ave+%26+W+45th+St,NY&sensor=false
There's a yellow rectangle and a red triangle.
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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