带有突出显示位置的 Google 地图

发布于 2024-12-06 20:40:42 字数 131 浏览 1 评论 0原文

我想要使​​用 html 或经典 asp 突出显示位置的谷歌地图。我该怎么做?请检查链接。

这是示例链接。

I want google map with highlighted locations using html or classic asp. How can i do it? Please check the link.

This is sample link.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

云巢 2024-12-13 20:40:42

他们创建了单独的叠加层,将透明的 PNG 图像叠加在地图的顶部,

例如
http://www.shelbybb.com/gunnel.png

以及将其添加到的代码地图:

var gunnelBounds = new google.maps.LatLngBounds(new google.maps.LatLng(38.01051, -85.00043), new google.maps.LatLng(38.54504, -83.97889));
        var gunnelmap = new google.maps.GroundOverlay("gunnel.png", gunnelBounds);
        gunnelmap.setMap(map);

They've created separate overlays, in which they're layering transparent PNG images over the top of a map,

e.g.
http://www.shelbybb.com/gunnel.png

And the code to add it to the map:

var gunnelBounds = new google.maps.LatLngBounds(new google.maps.LatLng(38.01051, -85.00043), new google.maps.LatLng(38.54504, -83.97889));
        var gunnelmap = new google.maps.GroundOverlay("gunnel.png", gunnelBounds);
        gunnelmap.setMap(map);
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文