Let's start with an example: if I search for Alaska in maps.google.com it gives a map of Alaska with red borders.

How can I get similar results with Google Maps Api 3?

I understand that it is possible with overlays and KML data, but "the google way" would be better and more accurate.

有帮助吗?

解决方案

There currently isn't a way to do this in the Maps API. You would have to do it with an overlay.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top