小编Par*_*rth的帖子

我想在Android的谷歌地图的街景上添加popover/overlay/hotspot

我想要的是用一个图标标记街景中的一些对象.随着街景旋转,热点图标也应该随之移动,正如我在下面的图像中所示,标签应该与地图一起移动.图像只是自编辑.但我想通过指定角度,捏和latLong值在街景中看到这个.

在此输入图像描述

那有什么办法吗?

bellow是我编写的简单代码,用于通过意图调用手机的stretview应用程序.

Intent streetView = new Intent(android.content.Intent.ACTION_VIEW,Uri.parse("google.streetview:cbll=33.748832,-84.38751300000001"+"&cbp=1,90,,0,1.0&mz=8"));
    startActivity(streetView);
Run Code Online (Sandbox Code Playgroud)

执行相同操作的其他方式也很好...

提前致谢

android google-maps overlay google-street-view

6
推荐指数
1
解决办法
2769
查看次数

尝试在Android中使用Google Maps Android API v2显示StreetView,但无法使其正常工作

我很长时间以来在Android中显示特定位置的StreetView,但遗憾的是无法成功.

我需要的是,如果我向地图提供一个位置(LAT,LONG),它应该显示该特定位置的街景.

以下是显示地图,3D地图,混合地图,sattlatite视图等的工作代码.但是没有显示STREETVIEW ...

mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();
    mMap.addMarker(new MarkerOptions().position(new LatLng(33.748832, -84.38751300000001)).title("Marker"));
    mMap.setMapType(GoogleMap.MAP_TYPE_SATELLITE);
    mMap.setTrafficEnabled(true);
    CameraPosition cameraPosition = new CameraPosition.Builder()
    .zoom(17)                   // Sets the zoom
    .target(new LatLng(33.748832, -84.38751300000001))
    .bearing(90)                // Sets the orientation of the camera to east
    .tilt(30)                   // Sets the tilt of the camera to 30 degrees
    .build();                   // Creates a CameraPosition from the builder
mMap.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));
Run Code Online (Sandbox Code Playgroud)

我只需要一些方法来显示StreetView ..

android google-maps google-street-view google-maps-android-api-2

5
推荐指数
2
解决办法
1万
查看次数

创建浮动弹出列表

我想创建一个弹出窗口,如下面给出的链接.我以为它会使用QuickContactBabage,但事实并非如此.并且不打算如何创建它.

图片链接http://cdn3.staztic.com/screenshots/android-swim-32-2.jpg

提前致谢

android list popup

2
推荐指数
1
解决办法
1072
查看次数