Interface MarkerMapEntry
- All Superinterfaces:
GeoLocation, MapEntry
- All Known Implementing Classes:
ACARSMapEntry, ACARSRouteEntry, Airport, AirportLocation, ATCMapEntry, ConnectedUser, Controller, DispatchMapEntry, Gate, GroundMapEntry, Intersection, MapRouteEntry, METAR, NavigationDataBean, NavigationFrequencyBean, NDB, Pilot, PilotLocation, PositionData, RouteEntry, Runway, RunwayDistance, RunwayThreshold, RunwayUse, SelectableGate, TAF, VOR, WeatherDataBean, XARouteEntry
An interface to define entries that can be displayed in Google Maps using a standard marker.
- Since:
- 2.2
- Version:
- 2.2
- Author:
- Luke
-
Field Summary
Fields inherited from interface GeoLocation
ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILESModifier and TypeFieldDescriptionstatic final intFormat the Longitude and Latitude.static final doubleSize of a degree in feet.static final doubleSize of a degree in miles.static final intSize of a mile in feet.static final String[]Latitude directions.static final intFormat the Latitude only.static final String[]Longitude directions.static final intFormat the Longitude only.static final intRadius of the Earth in miles.Fields inherited from interface MapEntry
BLUE, BROWN, COLORS, GREEN, GREY, ORANGE, PURPLE, RED, WHITE, YELLOWModifier and TypeFieldDescriptionstatic final StringBlue Google Maps icon, displayed as $static/img/maps/point_blue.pngstatic final StringBrown Google Maps icon, displayed as $static/img/maps/point_brown.pngstatic final String[]All Google Maps icon colors.static final StringGreen Google Maps icon, displayed as $static/img/maps/point_green.pngstatic final StringGrey Google Maps icon, displayed as $static/img/maps/point_grey.pngstatic final StringOrange Google Maps icon, displayed as $static/img/maps/point_orange.pngstatic final StringPurple Google Maps icon, displayed as $static/img/maps/point_purple.pngstatic final StringRed Google Maps icon, displayed as $static/img/maps/point_red.pngstatic final StringWhite Google Maps icon, displayed as $static/img/maps/point_white.pngstatic final StringYellow Google Maps icon, displayed as $static/img/maps/point_yellow.png -
Method Summary
Modifier and TypeMethodDescriptionReturns the icon color for this entry if displayed in a Google Map.Methods inherited from interface GeoLocation
distanceFeet, distanceTo, getLatitude, getLongitudeModifier and TypeMethodDescriptiondefault intCalculates the distance between two points in feet.default intCalculates the distance between two GeoLocations.doubleReturns the latitude of this location.doubleReturns the longitude of this location.Methods inherited from interface MapEntry
getInfoBoxModifier and TypeMethodDescriptionReturns the text to display in this marker's infobox if displayed in a Google Map.
-
Method Details
-
getIconColor
String getIconColor()Returns the icon color for this entry if displayed in a Google Map.- Returns:
- the icon color
-