L
L
LMI2016-10-22 13:11:20
Google
LMI, 2016-10-22 13:11:20

How to draw the borders of a region (area) in Google Maps?

You need to insert a Google Maps map on a site with region boundaries.
e08659e60ef14c76bb1a138695bce5f6.png
If you specify in the search for example "Kyiv region", then the maps will draw its borders in red.
How to do it on your site? In office The API did not find the answer.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
LMI, 2016-11-08
@LMI

Who needs it, I decided it all like this:
1. To display areas, you need to use GeoJSON from the Google Maps API.
2. Specify the path to the JSON file, which contains the coordinates of the desired region, country, etc.
3. JSONs found here https://github.com/EugeneBorshch/ukraine_geojson

W
WQP, 2016-10-22
@WQP

https://developers.google.com/maps/documentation/j...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question