简体   繁体   English

鼠标悬停时自定义地图/区域

[英]Custom map/regions on mouse over

I'm looking to create a map like this one with mouseovers on the different regions. 我正在寻找使用不同区域上的鼠标悬停创建这样的地图。

http://www.visitcalifornia.com/Explore/ http://www.visitcalifornia.com/探索/

What would be the easiest way to do this with Javascript (and/or google maps). 用Javascript(和/或Google Maps)执行此操作的最简单方法是什么。

You need to use custom overlays. 您需要使用自定义叠加层。 Here is the link to the documentation and some examples. 这里是文档链接和一些示例。 custom overlays 自定义叠加

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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