On Dec 8, 8:05 am, Dark Wing <[email protected]> wrote: > Is it possible to use the new Encoded Polylines feature of the Static > Maps API to highlight geometries of > > 1. MULTIPOLYGON ie. 2 or more discontiguous POLYGONs
Yes: http://maps.google.com/maps/api/staticmap?size=400x400&key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSsTL4WIgxhMZ0ZK_kHjwHeQuOD4xQJpBVbSrqNn69S6DOTv203MQ5ufA&sensor=false&path=fillcolor:0xAA000033|color:0xFFFFFF00|enc:ihglFxjiuMkAeSzMkHbJxMqFfQaOoB&path=fillcolor:0xAA000033|color:0xFFFFFF00|enc:eyglF|_kumv...@u@sd...@xcx|BfCbAhCvCfFh@|ej...@deetaqgfcwjtacb? Just repeat the "path" parameter: &path=fillcolor: ... |enc: ... etc &path=fillcolor: ... |enc: ... etc &path=fillcolor: ... |enc: ... etc but you have to stay under the maximum URL length. > and > 2. POLYGONs with "internal holes"? I haven't been able to do this one, but remember that even though they can be closed and filled, we're talking about encoded "paths", or polylines, rather than polygons. -- Marcelo - http://maps.forum.nu -- -- 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.
