|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapProvider
Field Summary | |
---|---|
static double |
DEFAULT_LATITUDE
|
static double |
DEFAULT_LONGITUDE
|
static long |
FEATURE_CENTER_ON_LAST
|
static long |
FEATURE_CORRIDORS
|
static long |
FEATURE_DETAIL_INFO_BOX
|
static long |
FEATURE_DETAIL_REPORT
|
static long |
FEATURE_DISTANCE_RULER
|
static long |
FEATURE_GEOZONES
|
static long |
FEATURE_LATLON_DISPLAY
|
static long |
FEATURE_REPLAY_POINTS
|
static java.lang.String |
ID_DETAIL_CONTROL
|
static java.lang.String |
ID_DETAIL_TABLE
|
static java.lang.String |
ID_DISTANCE_DISPLAY
|
static java.lang.String |
ID_LAT_LON_DISPLAY
|
static java.lang.String |
ID_LATEST_BATTERY
|
static java.lang.String |
ID_LATEST_EVENT_DATE
|
static java.lang.String |
ID_LATEST_EVENT_TIME
|
static java.lang.String |
ID_LATEST_EVENT_TMZ
|
static java.lang.String |
ID_MESSAGE_TEXT
|
static java.lang.String |
ID_ZONE_LATITUDE_
|
static java.lang.String |
ID_ZONE_LONGITUDE_
|
static java.lang.String |
ID_ZONE_RADIUS_M
|
static int |
MAP_HEIGHT
|
static int |
MAP_WIDTH
|
static java.lang.String[] |
PROP_auto_count_device
|
static java.lang.String[] |
PROP_auto_count_fleet
|
static java.lang.String[] |
PROP_auto_enable_device
|
static java.lang.String[] |
PROP_auto_enable_fleet
|
static java.lang.String[] |
PROP_auto_interval_device
|
static java.lang.String[] |
PROP_auto_interval_fleet
|
static java.lang.String[] |
PROP_auto_onload_device
|
static java.lang.String[] |
PROP_auto_onload_fleet
|
static java.lang.String[] |
PROP_combineSpeedHeading
|
static java.lang.String[] |
PROP_default_latitude
|
static java.lang.String[] |
PROP_default_longitude
|
static java.lang.String[] |
PROP_default_zoom
|
static java.lang.String[] |
PROP_detail_showSatCount
|
static java.lang.String[] |
PROP_iconSel_fleet
|
static java.lang.String[] |
PROP_iconSel_fleet_legend
|
static java.lang.String[] |
PROP_iconSelector
|
static java.lang.String[] |
PROP_iconSelector_legend
|
static java.lang.String[] |
PROP_info_inclBlankAddress
|
static java.lang.String[] |
PROP_info_inclBlankOptFields
|
static java.lang.String[] |
PROP_info_showAltitude
|
static java.lang.String[] |
PROP_info_showOptionalFields
|
static java.lang.String[] |
PROP_info_showSpeed
|
static java.lang.String[] |
PROP_javascript_inline
|
static java.lang.String[] |
PROP_javascript_src
|
static java.lang.String[] |
PROP_map_fillFrame
|
static java.lang.String[] |
PROP_map_height
|
static java.lang.String[] |
PROP_map_includeGeozones
|
static java.lang.String[] |
PROP_map_maxCreationAge
|
static java.lang.String[] |
PROP_map_minProximity
|
static java.lang.String[] |
PROP_map_pushpins
|
static java.lang.String[] |
PROP_map_routeLine
|
static java.lang.String[] |
PROP_map_routeLine_arrows
|
static java.lang.String[] |
PROP_map_routeLine_color
|
static java.lang.String[] |
PROP_map_routeLine_snapToRoad
|
static java.lang.String[] |
PROP_map_view
|
static java.lang.String[] |
PROP_map_width
|
static java.lang.String[] |
PROP_maxPushpins_device
|
static java.lang.String[] |
PROP_maxPushpins_fleet
|
static java.lang.String[] |
PROP_maxPushpins_report
|
static java.lang.String[] |
PROP_pushpin_zoom
|
static java.lang.String[] |
PROP_replay_enable
|
static java.lang.String[] |
PROP_replay_interval
|
static java.lang.String[] |
PROP_replay_singlePushpin
|
static java.lang.String[] |
PROP_scrollWheelZoom
|
static java.lang.String[] |
PROP_zone_map_corridor
|
static java.lang.String[] |
PROP_zone_map_height
|
static java.lang.String[] |
PROP_zone_map_multipoint
|
static java.lang.String[] |
PROP_zone_map_polygon
|
static java.lang.String[] |
PROP_zone_map_width
|
static int |
ZONE_HEIGHT
|
static int |
ZONE_WIDTH
|
Method Summary | |
---|---|
java.lang.String |
getAuthorization()
Returns the MapProvider authorization String/Key (passed to the map service provider) |
long |
getAutoUpdateCount(boolean isFleet)
Returns the auto-update count |
boolean |
getAutoUpdateEnabled(boolean isFleet)
Returns true if auto-update is enabled |
long |
getAutoUpdateInterval(boolean isFleet)
Returns the auto-update interval in seconds |
boolean |
getAutoUpdateOnLoad(boolean isFleet)
Returns true if auto-update on-load is enabled |
java.lang.String[] |
getCorridorInstructions(java.util.Locale loc)
Returns the localized GeoCorridor instructions |
GeoPoint |
getDefaultCenter(GeoPoint dft)
Returns the default map center (when no pushpins are displayed) |
double |
getDefaultZoom(double dft,
boolean withPushpins)
Returns the default zoom level |
MapDimension |
getDimension()
Returns the MapDimension for this MapProvider |
java.lang.String[] |
getGeozoneInstructions(int type,
java.util.Locale loc)
Returns the localized Geozone instructions |
int |
getGeozoneSupportedPointCount(int type)
Gets the number of supported Geozone points |
int |
getHeight()
Returns the Height from the MapDimension |
java.lang.String |
getIconSelector(RequestProperties reqState)
Gets the icon selector for the current map |
java.lang.String |
getIconSelectorLegend(RequestProperties reqState)
Gets the IconSelector legend displayed on the map page to indicate the type of pushpins displayed on the map. |
long |
getMaxPushpins(RequestProperties reqState)
Gets the maximum number of allowed pushpins on the map at one time |
java.lang.String |
getName()
Returns the MapProvider name |
RTProperties |
getProperties()
Returns the properties for this MapProvider |
OrderedMap<java.lang.String,PushpinIcon> |
getPushpinIconMap(RequestProperties reqState)
Gets the pushpin icon map |
boolean |
getReplayEnabled()
Returns true if replay is enabled |
long |
getReplayInterval()
Returns the replay interval in seconds |
boolean |
getReplaySinglePushpin()
Returns true if only a single pushpin is to be displayed at a time during replay |
int |
getWidth()
Returns the Width from the MapDimension |
MapDimension |
getZoneDimension()
Returns the Geozone MapDimension for this MapProvider |
int |
getZoneHeight()
Returns the Geozone Height from the MapDimension |
int |
getZoneWidth()
Returns the Geozone Width from the MapDimension |
boolean |
isFeatureSupported(long featureMask)
Returns true if the specified feature is supported |
void |
setProperties(java.lang.String props)
Sets the properties for this MapProvider. |
void |
writeJavaScript(java.io.PrintWriter out,
RequestProperties reqState)
Writes any required JavaScript to the specified PrintWriter. |
void |
writeMapCell(java.io.PrintWriter out,
RequestProperties reqState,
MapDimension mapDim)
Writes map cell to the specified PrintWriter. |
void |
writeMapUpdate(int mapDataFormat,
RequestProperties reqState)
Updates the points to the current displayed map |
void |
writeMapUpdate(java.io.PrintWriter out,
int indentLvl,
int mapDataFormat,
boolean isTopLevelTag,
RequestProperties reqState)
Updates the points to the current displayed map |
void |
writeStyle(java.io.PrintWriter out,
RequestProperties reqState)
Writes any required CSS to the specified PrintWriter. |
Field Detail |
---|
static final long FEATURE_GEOZONES
static final long FEATURE_LATLON_DISPLAY
static final long FEATURE_DISTANCE_RULER
static final long FEATURE_DETAIL_REPORT
static final long FEATURE_DETAIL_INFO_BOX
static final long FEATURE_REPLAY_POINTS
static final long FEATURE_CENTER_ON_LAST
static final long FEATURE_CORRIDORS
static final java.lang.String ID_DETAIL_TABLE
static final java.lang.String ID_DETAIL_CONTROL
static final java.lang.String ID_LAT_LON_DISPLAY
static final java.lang.String ID_DISTANCE_DISPLAY
static final java.lang.String ID_LATEST_EVENT_DATE
static final java.lang.String ID_LATEST_EVENT_TIME
static final java.lang.String ID_LATEST_EVENT_TMZ
static final java.lang.String ID_LATEST_BATTERY
static final java.lang.String ID_MESSAGE_TEXT
static final java.lang.String ID_ZONE_RADIUS_M
static final java.lang.String ID_ZONE_LATITUDE_
static final java.lang.String ID_ZONE_LONGITUDE_
static final int MAP_WIDTH
static final int MAP_HEIGHT
static final int ZONE_WIDTH
static final int ZONE_HEIGHT
static final java.lang.String[] PROP_zone_map_width
static final java.lang.String[] PROP_zone_map_height
static final java.lang.String[] PROP_zone_map_multipoint
static final java.lang.String[] PROP_zone_map_polygon
static final java.lang.String[] PROP_zone_map_corridor
static final java.lang.String[] PROP_map_width
static final java.lang.String[] PROP_map_height
static final java.lang.String[] PROP_map_fillFrame
static final java.lang.String[] PROP_maxPushpins_device
static final java.lang.String[] PROP_maxPushpins_fleet
static final java.lang.String[] PROP_maxPushpins_report
static final java.lang.String[] PROP_map_pushpins
static final java.lang.String[] PROP_map_maxCreationAge
static final java.lang.String[] PROP_map_routeLine
static final java.lang.String[] PROP_map_routeLine_color
static final java.lang.String[] PROP_map_routeLine_arrows
static final java.lang.String[] PROP_map_routeLine_snapToRoad
static final java.lang.String[] PROP_map_view
static final java.lang.String[] PROP_map_minProximity
static final java.lang.String[] PROP_map_includeGeozones
static final java.lang.String[] PROP_pushpin_zoom
static final java.lang.String[] PROP_default_zoom
static final java.lang.String[] PROP_default_latitude
static final java.lang.String[] PROP_default_longitude
static final java.lang.String[] PROP_info_showSpeed
static final java.lang.String[] PROP_info_showAltitude
static final java.lang.String[] PROP_info_inclBlankAddress
static final java.lang.String[] PROP_info_showOptionalFields
static final java.lang.String[] PROP_info_inclBlankOptFields
static final java.lang.String[] PROP_detail_showSatCount
static final java.lang.String[] PROP_auto_enable_device
static final java.lang.String[] PROP_auto_onload_device
static final java.lang.String[] PROP_auto_interval_device
static final java.lang.String[] PROP_auto_count_device
static final java.lang.String[] PROP_auto_enable_fleet
static final java.lang.String[] PROP_auto_onload_fleet
static final java.lang.String[] PROP_auto_interval_fleet
static final java.lang.String[] PROP_auto_count_fleet
static final java.lang.String[] PROP_replay_enable
static final java.lang.String[] PROP_replay_interval
static final java.lang.String[] PROP_replay_singlePushpin
static final java.lang.String[] PROP_combineSpeedHeading
static final java.lang.String[] PROP_iconSelector
static final java.lang.String[] PROP_iconSelector_legend
static final java.lang.String[] PROP_iconSel_fleet
static final java.lang.String[] PROP_iconSel_fleet_legend
static final java.lang.String[] PROP_javascript_src
static final java.lang.String[] PROP_javascript_inline
static final java.lang.String[] PROP_scrollWheelZoom
static final double DEFAULT_LATITUDE
static final double DEFAULT_LONGITUDE
Method Detail |
---|
java.lang.String getName()
java.lang.String getAuthorization()
void setProperties(java.lang.String props)
props
- A String representation of the properties to set in this
MapProvider. The String must be in the form "key=value key=value ...".RTProperties getProperties()
long getMaxPushpins(RequestProperties reqState)
reqState
- The session RequestProperties instance
OrderedMap<java.lang.String,PushpinIcon> getPushpinIconMap(RequestProperties reqState)
reqState
- The RequestProperties for the current session
java.lang.String getIconSelector(RequestProperties reqState)
reqState
- The RequestProperties for the current session
java.lang.String getIconSelectorLegend(RequestProperties reqState)
reqState
- The RequestProperties for the current session
MapDimension getDimension()
int getWidth()
int getHeight()
MapDimension getZoneDimension()
int getZoneWidth()
int getZoneHeight()
GeoPoint getDefaultCenter(GeoPoint dft)
dft
- The GeoPoint center to return if not otherwised overridden
double getDefaultZoom(double dft, boolean withPushpins)
dft
- The default zoom level to returnwithPushpins
- If true, return the default zoom level is at least
one pushpin is displayed.
boolean getAutoUpdateEnabled(boolean isFleet)
isFleet
- True for fleet map
boolean getAutoUpdateOnLoad(boolean isFleet)
isFleet
- True for fleet map
long getAutoUpdateInterval(boolean isFleet)
isFleet
- True for fleet map
long getAutoUpdateCount(boolean isFleet)
isFleet
- True for fleet map
boolean getReplayEnabled()
long getReplayInterval()
boolean getReplaySinglePushpin()
void writeStyle(java.io.PrintWriter out, RequestProperties reqState) throws java.io.IOException
out
- The PrintWriterreqState
- The session RequestProperties
java.io.IOException
void writeJavaScript(java.io.PrintWriter out, RequestProperties reqState) throws java.io.IOException
out
- The PrintWriterreqState
- The session RequestProperties
java.io.IOException
void writeMapCell(java.io.PrintWriter out, RequestProperties reqState, MapDimension mapDim) throws java.io.IOException
out
- The PrintWriterreqState
- The session RequestPropertiesmapDim
- The MapDimension
java.io.IOException
void writeMapUpdate(int mapDataFormat, RequestProperties reqState) throws java.io.IOException
reqState
- The session RequestProperties
java.io.IOException
void writeMapUpdate(java.io.PrintWriter out, int indentLvl, int mapDataFormat, boolean isTopLevelTag, RequestProperties reqState) throws java.io.IOException
out
- The output PrintWriterindentLvl
- The indentation level (0 for no indentation)reqState
- The session RequestProperties
java.io.IOException
int getGeozoneSupportedPointCount(int type)
type
- The Geozone type
java.lang.String[] getGeozoneInstructions(int type, java.util.Locale loc)
type
- The Geozone typeloc
- The current Locale
java.lang.String[] getCorridorInstructions(java.util.Locale loc)
loc
- The current Locale
boolean isFeatureSupported(long featureMask)
featureMask
- The feature mask to test
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |