com.micello.mapapi.data
Interface MapObject

All Superinterfaces:
InfoObject
All Known Implementing Classes:
GeometryOverlay, MarkerOverlay

public interface MapObject
extends InfoObject

This interface is shared by all objects that can be placed on the map, including geometry, geometry overlays and marker overlays.


Nested Class Summary
static class MapObject.MapObjectType
          These are the allowed types of map objects.
 
Nested classes/interfaces inherited from interface com.micello.mapapi.data.InfoObject
InfoObject.InfoObjectType, InfoObject.StandardDetailInfo
 
Field Summary
 
Fields inherited from interface com.micello.mapapi.data.InfoObject
DETAIL_CUSTOM, DETAIL_HTML, DETAIL_NONE, DETAIL_STANDARD, DETAIL_SUPPRESS, DETAIL_URL_HTML, DETAIL_URL_VALUES, DETAIL_VALUE_LIST
 
Method Summary
 int getId()
          The ID for the object.
 java.util.List<MapLink> getLinks()
          This method returns the map links for this map object.
 float[] getMarkerXY(DrawingLevel level)
          The location on which to place a marker for this object.
 boolean isClickable()
          This object should return true if the object should be interacting.
 boolean isClickHandler()
          This object should be true if the object should handle any mouse or touch events internally rather than receiving the standard touch handling.
 
Methods inherited from interface com.micello.mapapi.data.InfoObject
getDetailObject, getDetailType, getName
 

Method Detail

getId

int getId()
The ID for the object.


getMarkerXY

float[] getMarkerXY(DrawingLevel level)
The location on which to place a marker for this object.


isClickable

boolean isClickable()
This object should return true if the object should be interacting.


isClickHandler

boolean isClickHandler()
This object should be true if the object should handle any mouse or touch events internally rather than receiving the standard touch handling. If the object is a click handler, touches received by the object will not be passed with other map touches.


getLinks

java.util.List<MapLink> getLinks()
This method returns the map links for this map object.