public class MarkerInfoWindow extends BasicInfoWindow
| 构造器和说明 |
|---|
MarkerInfoWindow(int layoutResId,
MapView mapView)
构造器
|
| 限定符和类型 | 方法和说明 |
|---|---|
Marker |
getMarkerReference()
获得Marker对象,如果没有,则返回null.
|
void |
onClose()
当infowindow关闭,默认实现,不需要添加功能
|
void |
onOpen(java.lang.Object item)
当infowindow开启,点击Marker开启infowindow
|
close, closeAllInfoWindowsOn, getMapView, getOpenedInfoWindowsOn, getView, isOpen, openpublic MarkerInfoWindow(int layoutResId,
MapView mapView)
layoutResId - xml布局mapView - MapView对象public Marker getMarkerReference()
public void onOpen(java.lang.Object item)
InfoWindowonOpen 在类中 BasicInfoWindowitem - Marker对象,public void onClose()
InfoWindowonClose 在类中 BasicInfoWindow