Android Google Maps v2删除默认标记

Android Google Maps v2删除默认标记

问题描述:

我在自己的Android应用中实现了Android Google Maps v2,没有任何问题.

I implemented Android Google Maps v2 in my Android app without any problem.

但是,该地图包含一些我没有包括的默认标记".

However, the map includes some "default markers" that I haven't included.

我的意思是,一些私人营业地点.

I mean, some private business locations.

是否可以从地图上删除这些标记,以便仅获取城市名称和街道名称?

Is it possible to remove these markers from the map so that I only get the city names and the street names?

您要说的是Google地方标记,如果是,那么我们不能. 删除添加的标记 googleMap.addMarker()可以被删除的方法

Markers you mean to say google places , If yes then we cant. to remove markers that are added by googleMap.addMarker() method that can be remove by

marker.remove()

或通过清除标记​​ p>

or by clearing marker

googleMap.clear()