public class BasicInfoWindow extends InfoWindow
构造器和说明 |
---|
BasicInfoWindow(int layoutResId,
MapView mapView)
构造器
|
限定符和类型 | 方法和说明 |
---|---|
void |
onClose()
当infowindow关闭,默认实现,不需要添加功能
|
void |
onOpen(java.lang.Object item)
当infowindow开启,点击Marker开启infowindow
|
close, closeAllInfoWindowsOn, getMapView, getOpenedInfoWindowsOn, getView, isOpen, open
public BasicInfoWindow(int layoutResId, MapView mapView)
layoutResId
- xml布局mapView
- MapView对象public void onOpen(java.lang.Object item)
InfoWindow
onOpen
在类中 InfoWindow
item
- Marker对象,public void onClose()
InfoWindow
onClose
在类中 InfoWindow