如何使用infowindow標記在android上實現開放式街道地圖?如何使用infowindow標記在android上實現開放式街道地圖?
OpenStreetMapTileProviderConstants.setUserAgentValue(BuildConfig.APPLICATION_ID);
openStreetMap = (MapView)findViewById(R.id.openmapview);
openStreetMap.setBuiltInZoomControls(true);
openStreetMapController = openStreetMap.getController();
openStreetMapController.setZoom(16);
openStreetMap.setMultiTouchControls(true);
GeoPoint initialLocation = new GeoPoint(lat , lng);
centerMap(initialLocation);
addLocation(lat ,lng , R.drawable.marker);}
這是我的代碼和y要添加標記與它就像谷歌地圖
信息窗口