Color of zip code area in google maps api?

I want to show each zip code differently, having a border around it and a color inside its area. I am using google maps api service in js.

+4
source share
1 answer

The Google API does not provide a feature that allows you to directly have a border around any kind of location, whether it's a zip code or a city. Thus, you will have to manually obtain the lat lng array, denoting the border of the region from any third party, and build a polyline. Perhaps the links below.

Google map is divided into regions with color and subregions

google maps v3 - highlight states or state areas

how to add or show border of google maps v3 zip code

http://www.quora.com/How-do-I-show-the-boundaries-of-postcodes-on-google-maps

http://www.quora.com/Is-there-a-way-to-get-boundaries-of-neighborhoods-in-Google-maps-api

0
source

Source: https://habr.com/ru/post/1443649/


All Articles