public class BubbleOptions
extends java.lang.Object
构造器和说明 |
---|
BubbleOptions()
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
BubbleOptions |
background(android.graphics.Bitmap[] background)
已过时。
设置背景图片
|
BubbleOptions |
background(android.graphics.drawable.Drawable[] background)
已过时。
设置背景图片
|
BubbleOptions |
content(java.lang.String content)
已过时。
设置气泡要显示的内容
|
BubbleOptions |
contentView(android.view.View view)
已过时。
设置内容控件
|
BubbleOptions |
displayLevel(int level)
已过时。
设置显示级别(0:不参与避让 1:避让级别最高 数字越大 避让级别越低)
|
android.graphics.drawable.Drawable[] |
getBackground()
已过时。
获取背景图片
|
java.lang.String |
getContent()
已过时。
获取气泡显示的内容
|
android.view.View |
getContentView()
已过时。
获取内容控件
|
int |
getDisplayLevel()
已过时。
获取显示级别
|
Marker |
getMarker()
已过时。
获取气泡对应的marker
|
float |
getMarkerAnchorU()
已过时。
获取气泡所属marker沿x轴的锚点
|
float |
getMarkerAnchorV()
已过时。
获取气泡所属marker沿y轴的锚点
|
int |
getMarkerHeight()
已过时。
获取气泡所属marker的高
|
int |
getMarkerWidth()
已过时。
获取气泡所属marker的宽
|
boolean |
getOnTapHidden()
已过时。
该气泡点击底图区域是否隐藏
|
LatLng |
getPosition()
已过时。
获取气泡的经纬度坐标(该坐标是气泡对应marker的坐标)
|
BubbleOptions |
marker(Marker marker)
已过时。
设置气泡对应的marker
|
BubbleOptions |
markerAnchor(float anchorU,
float anchorV)
已过时。
设置气泡相对于marker沿x、y轴的偏移量
|
BubbleOptions |
markerSize(int width,
int height)
已过时。
设置气泡所属marker的宽、高
|
BubbleOptions |
position(LatLng position)
已过时。
设置气泡的经纬度坐标(该坐标是气泡对应marker的坐标)
|
BubbleOptions |
setOnTapHidden(boolean hidden)
已过时。
设置点击底图区域是否隐藏
|
public BubbleOptions marker(Marker marker)
marker
- public Marker getMarker()
public BubbleOptions markerSize(int width, int height)
width
- height
- public int getMarkerWidth()
public int getMarkerHeight()
public BubbleOptions markerAnchor(float anchorU, float anchorV)
anchorU
- anchorV
- public float getMarkerAnchorU()
public float getMarkerAnchorV()
public BubbleOptions content(java.lang.String content)
content
- public java.lang.String getContent()
public BubbleOptions position(LatLng position)
position
- public LatLng getPosition()
public BubbleOptions displayLevel(int level)
level
- public int getDisplayLevel()
public BubbleOptions contentView(android.view.View view)
view
- public android.view.View getContentView()
public BubbleOptions background(android.graphics.drawable.Drawable[] background)
background
- public BubbleOptions background(android.graphics.Bitmap[] background)
background
- public android.graphics.drawable.Drawable[] getBackground()
public BubbleOptions setOnTapHidden(boolean hidden)
hidden
- true 气泡隐藏;false气泡不隐藏;默认为不隐藏public boolean getOnTapHidden()