public class InfoWindow
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
InfoWindow.OnInfoWindowClickListener
信息窗口点击事件监听接口
|
| Constructor and Description |
|---|
InfoWindow(BitmapDescriptor bd,
LatLng position,
int yOffset,
InfoWindow.OnInfoWindowClickListener listener)
通过传入的 bitmap descriptor 构造一个 InfoWindow。
|
InfoWindow(View view,
LatLng position,
int yOffset)
通过传入的 view 构造一个 InfoWindow, 此时只是利用该view生成一个Bitmap绘制在地图中,监听事件由开发者实现。
|
public InfoWindow(View view,
LatLng position,
int yOffset)
view - InfoWindow 展示的 viewposition - InfoWindow 显示的地理位置yOffset - InfoWindow Y 轴偏移量java.lang.IllegalArgumentException - view 和 position 不能为 nullpublic InfoWindow(BitmapDescriptor bd, LatLng position, int yOffset, InfoWindow.OnInfoWindowClickListener listener)
bd - InfoWindow 展示的bitmapposition - InfoWindow 显示的地理位置yOffset - InfoWindow Y 轴偏移量listener - InfoWindow 点击监听者java.lang.IllegalArgumentException - bitmapDescriptor 和 position 不能为 null