public static interface AMap.InfoWindowAdapter
Marker.showInfoWindow()同样可以触发上面两个回调。AMap.InfoWindowAdapter.getInfoWindow(Marker) 和 AMap.InfoWindowAdapter.getInfoContents(Marker) 均返回null,将不展示InfoWindow的信息
Used to customize the info window of a marker.Marker.showInfoWindow() can also trigger these two callbacks.AMap.InfoWindowAdapter.getInfoWindow(Marker) and AMap.InfoWindowAdapter.getInfoContents(Marker) return null, the InfoWindow information will not be displayed| 限定符和类型 | 方法和说明 |
|---|---|
android.view.View |
getInfoContents(Marker marker)
提定制展示marker信息的View。
|
android.view.View |
getInfoWindow(Marker marker)
定制展示marker信息的View。
|
android.view.View getInfoWindow(Marker marker)
AMap.InfoWindowAdapter.getInfoWindow(Marker) 和 AMap.InfoWindowAdapter.getInfoContents(Marker) 均返回null,将不展示InfoWindow的信息
Customize the View for displaying marker information.AMap.InfoWindowAdapter.getInfoWindow(Marker) and AMap.InfoWindowAdapter.getInfoContents(Marker) return null, the InfoWindow information will not be displayedmarker - 与改信息窗口相关联的marker对象。android.view.View getInfoContents(Marker marker)
AMap.InfoWindowAdapter.getInfoWindow(Marker) 和 AMap.InfoWindowAdapter.getInfoContents(Marker) 均返回null,将不展示InfoWindow的信息
Customize the View for displaying marker information.AMap.InfoWindowAdapter.getInfoWindow(Marker) and AMap.InfoWindowAdapter.getInfoContents(Marker) return null, the InfoWindow information will not be displayedmarker - 与改信息窗口相关联的marker对象。