【问题标题】:Using a image to overlay a section of google map api 3 in javascript在javascript中使用图像覆盖一部分google map api 3
【发布时间】:2012-12-07 16:08:15
【问题描述】:

您好,我正在使用 google maps api 3,这是我初始化地图的方式:

  myLatlng = new google.maps.LatLng(19.1113635001101, 72.86958755554201);

                var myOptions = 
                    {
                        zoom: 17,
                        center: myLatlng,
                        panControl: false,
                        zoomControl: true,
                        scaleControl: false,
                        scrollwheel: false,
                        disableDoubleClickZoom: true,
                        mapTypeId: google.maps.MapTypeId.ROADMAP
                     }
                map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

我也有整个位置的图像地图(矢量/光栅),我想覆盖在上面的地图上(这样覆盖的部分将隐藏在下面的谷歌地图(默认)),有没有办法做到这一点?

【问题讨论】:

  • 你在寻找类似this的东西吗?

标签: javascript google-maps


【解决方案1】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-11-09
    • 2019-01-08
    • 1970-01-01
    • 2019-02-01
    • 2015-10-15
    • 1970-01-01
    • 2015-12-19
    • 1970-01-01
    相关资源
    最近更新 更多