简体   繁体   中英

Google Maps API polygon overlay

I have been looking through some libraries and the API itself for a solution like the one apartmentlist.com uses to show parts of cities. For example when you hover over Palo Alto, Menlo Park or Redwood City, you get a nice overlay that cover that parts.

I would like to do the same thing, but have no clue how it is done.

Have found out a bit about polygons but I don't really think that is what I am looking for?

This is what I want to achieve:

我想要实现的图像

Thanks in advance.

It was polygons I wanted to use. They are easy to create by using the Google Maps Drawing Library.

Google Maps Drawing Library

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM