【问题标题】:The yellow person icon on the google map can't be moved around the maps谷歌地图上的黄色人形图标无法在地图周围移动
【发布时间】:2017-02-21 17:38:03
【问题描述】:

我有这个问题 google map上的黄色人形图标可以在google api的地图周围移动 我希望我的谷歌地图组件也一样。

在主页上的 Google 地图上,如果用户将黄色 Pegmen 拖到地图边缘附近,则地图必须自动响应以将新地图区域显示到 Pegmen 地址。此功能方便用户访问显示地图区域之外的区域。谷歌地图就是这样做的。但是我的组件没有,这可能吗?

<script>
     var map = new google.maps.Map (document.getElementById ('map'), {
       Zoom: 17,
       Center: {lat: 4.6680202, lng: -74.0622556},
     });

</script>

【问题讨论】:

    标签: javascript google-maps dictionary google-maps-api-3


    【解决方案1】:

    使用 google maps v3 javascript API 提交 feature request。所需的行为当前不可用(即不仅仅是您)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-29
      • 1970-01-01
      • 2017-09-21
      • 1970-01-01
      • 1970-01-01
      • 2018-08-23
      • 1970-01-01
      • 2013-04-25
      相关资源
      最近更新 更多