0

我正在使用 jquery 插件 Gmap3 创建地图。现在我已经成功地用这个代码创建了一个带有标记的地图:

    $(window).load(function() {

  $('#my_map').gmap3({
     map:{
        options:{
         center:[36.140093,-115.174012],
         zoom:12,
         mapTypeId: google.maps.MapTypeId.ROADMAP,
         mapTypeControl: true,
         mapTypeControlOptions: {
           style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
         },
         streetViewControl:false,
         scaleControl: true
        }
     },
    marker:{
      latLng:[36.140093,-115.174012]
    }

  });

});

如何在标记位置上放置信息窗口?

请让我知道这件事。谢谢你。

4

1 回答 1

1

You can find a sample code here

http://gmap3.net/en/catalog/10-overlays/marker-41

于 2013-07-15T06:54:27.773 回答