3

Other than drawing a polygon in Google Maps API, is there a way for me to get the "Northwest Washington DC" region on a Google map? When I search this area in Google maps itself, it has a nice highlighting effect which I like to replicate in my own website.

The issue with drawing the polygon is that I wouldn't really know how to get the correct LatLng coordinates for the polygon's path!

1
  • 2
    You found the solution? If yes please share. Some websites stores the path as a polyline in there DB. Dont know how they do it.
    – Gurpreet
    Mar 10, 2016 at 12:01

1 Answer 1

0

You can try using Google Geo Charts

A geochart is a map of a country, a continent, or a region with areas identified in one of three ways:

  • The region mode colors whole regions, such as countries, provinces, or states.
  • The markers mode uses circles to designate regions that are scaled according to a value that you specify.
  • The text mode labels the regions with identifiers (e.g., "Russia" or "Asia").
1
  • Thanks for the suggestion but this is definitely not going to be a chart. The map will need to have several other functionality like any Google maps on top of the highlighted area which I can take care of on my own. Apr 9, 2015 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.