谷歌地图突出显示的位置

时间:2011-09-28 15:21:13

标签: html google-maps asp-classic

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

This is sample link.

1 个答案:

答案 0 :(得分:0)

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

e.g。 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);