I would like to select county, or district like Google Maps do on http://maps.google.com/. I mean something like this:
Is it possible to do it by Google Maps API? Is it possible to select more districts?
The region coverage viewer lets you search for boundaries by name. Click anywhere on the map to select a polygon. Use the menu to select different types of boundaries.
To achieve this, you will basically need to look for the coordinates of the state or country on GADM. Once you have them, draw a shape on the Google Maps with the Polygon object providing an array with all the coordinates that play basically as borders of the place that you want to highlight.
Refer to the Google Maps JavaScript API V3 and Google Maps Overview
You can try with statesobj.js for borders
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With