[英]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. 我一直在寻找一些图书馆和API本身,以寻求一种解决方案,例如一个apartmentlist.com用于显示部分城市的方案。 For example when you hover over Palo Alto, Menlo Park or Redwood City, you get a nice overlay that cover that parts.
例如,当您将鼠标悬停在Palo Alto,Menlo Park或Redwood City上时,会得到覆盖该部分的漂亮叠加层。
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图形库可以轻松创建它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.