public class LogoOverlay extends Overlay
Overlay.Snappable
限定符和类型 | 字段和说明 |
---|---|
static int |
MENU_COMPASS |
DEBUGMODE, DEFAULT_ZOOMLEVEL_MINIMAP_DIFFERENCE, NOT_SET
构造器和说明 |
---|
LogoOverlay(Context context,
IOrientationProvider orientationProvider,
MapView mapView) |
LogoOverlay(Context context,
MapView mapView) |
限定符和类型 | 方法和说明 |
---|---|
void |
disableCompass()
Disable orientation updates
|
boolean |
enableCompass()
Enable receiving orientation updates from the provided
IOrientationProvider and show a compass on the map.
|
boolean |
isCompassEnabled()
If enabled, the map is receiving orientation updates and drawing your
location on the map.
|
void |
onDetach(MapView mapView)
关闭之前清理所有的资源, 默认不做任何事情
|
isEnabled, onDoubleTap, onDoubleTapEvent, onDown, onFling, onKeyDown, onKeyUp, onLongPress, onScroll, onShowPress, onSingleTapConfirmed, onSingleTapUp, onTouchEvent, onTrackballEvent, setEnabled
public LogoOverlay(Context context, MapView mapView)
public LogoOverlay(Context context, IOrientationProvider orientationProvider, MapView mapView)
public boolean enableCompass()
public void disableCompass()
public boolean isCompassEnabled()