【问题标题】:Google Maps API v2 Marker with Street View Image as Icon以街景图像为图标的 Google Maps API v2 标记
【发布时间】:2013-04-20 20:56:32
【问题描述】:

我使用的是 Google Maps Android API v2,并且一切设置正确。我已经根据纬度/经度设置了一些标记。

如何将 lat/lng 的街景图像添加为图标?

/* Google Maps API v2 map set code here */
Marker marker = map.addMarker(new MarkerOptions().position(point)
  .title("Title")
  .snippet("Snippet")
  .icon(  StreetViewObject? ));

谢谢

【问题讨论】:

    标签: android google-maps-api-2 google-street-view


    【解决方案1】:

    您可以使用此 api 根据您的经纬度获取图像:

    https://developers.google.com/maps/documentation/streetview/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-03-22
      • 2013-08-31
      • 1970-01-01
      • 1970-01-01
      • 2013-03-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多