public class BasicInfoWindow extends InfoWindow
BasicInfoWindow
is the default
implementation of InfoWindow
for an
OverlayWithIW
.
It handles a title, a description and a sub-description.
Clicking on the bubble will close it.
Marker
Modifier and Type | Field and Description |
---|---|
(package private) static int |
mDescriptionId |
(package private) static int |
mImageId |
(package private) static int |
mSubDescriptionId |
(package private) static int |
mTitleId |
static int |
UNDEFINED_RES_ID
resource id value meaning "undefined resource id"
|
mIsVisible, mMapView, mRelatedObject, mView
Constructor and Description |
---|
BasicInfoWindow(int layoutResId,
MapView mapView) |
Modifier and Type | Method and Description |
---|---|
void |
onClose() |
void |
onOpen(Object item) |
close, closeAllInfoWindowsOn, draw, getMapView, getOpenedInfoWindowsOn, getRelatedObject, getView, isOpen, onDetach, open, setRelatedObject
public static final int UNDEFINED_RES_ID
static int mTitleId
static int mDescriptionId
static int mSubDescriptionId
static int mImageId
public BasicInfoWindow(int layoutResId, MapView mapView)
public void onOpen(Object item)
onOpen
in class InfoWindow
public void onClose()
onClose
in class InfoWindow