public abstract class FileOverlayContentHandler extends FileContentHandler implements ILocation, GoTo, FOVFilter.Filterable
| Modifier and Type | Field and Description |
|---|---|
protected GeoBounds |
_bounds |
protected android.content.Context |
_context |
protected MapView |
_mapView |
_file, _previouslyVisible, _visConduri| Modifier | Constructor and Description |
|---|---|
protected |
FileOverlayContentHandler(MapView mapView,
java.io.File file,
Envelope bounds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FOVFilter.MapState fov) |
GeoBounds |
getBounds(MutableGeoBounds bounds)
Get the geo bounds of this item
For points this is usually a bounds representation of the point
|
android.graphics.drawable.Drawable |
getIcon()
Get an icon that represents this content
|
GeoPoint |
getPoint(GeoPoint point)
Get the geo point of this item
For shapes this is usually the center point.
|
boolean |
goTo(boolean select) |
boolean |
isActionSupported(java.lang.Class<?> action)
Check if an action with a given class is supported by this handler
Besides the "instance of" check, this call may return false if a handler
only supports a given action under other conditions
i.e.
|
deleteContent, getContentType, getFile, getMIMEType, getTitle, importContent, isConditionVisible, isVisible, onVisibilityConditions, setVisible, setVisibleImplgetIconColor, getIconDrawable, getMenu, getURI, getView, getViewState, setViewStateprotected final MapView _mapView
protected final android.content.Context _context
protected GeoBounds _bounds
protected FileOverlayContentHandler(MapView mapView, java.io.File file, Envelope bounds)
public android.graphics.drawable.Drawable getIcon()
URIContentHandlergetIcon in class URIContentHandlerpublic GeoPoint getPoint(GeoPoint point)
ILocationpublic GeoBounds getBounds(MutableGeoBounds bounds)
ILocationpublic boolean accept(FOVFilter.MapState fov)
accept in interface FOVFilter.Filterablepublic boolean isActionSupported(java.lang.Class<?> action)
URIContentHandlerisActionSupported in class URIContentHandleraction - Action class