Interface MapEntry
- All Superinterfaces:
GeoLocation
- All Known Subinterfaces:
IconMapEntry, LabelMapEntry, MarkerMapEntry, TabbedMapEntry
- All Known Implementing Classes:
AbstractRoute, ACARSMapEntry, ACARSRouteEntry, Airport, AirportLocation, Airspace, ATCMapEntry, ConnectedUser, Controller, DispatchMapEntry, FIR, Gate, GetFlightReportStatistics.DispatchScheduleRoute, GroundMapEntry, ImportRoute, Intersection, MapRouteEntry, METAR, NavigationDataBean, NavigationFrequencyBean, NDB, Pilot, PilotLocation, PositionData, RouteEntry, RouteStats, Runway, RunwayDistance, RunwayThreshold, RunwayUse, ScheduleRoute, SelectableGate, TAF, VOR, WeatherDataBean, XARouteEntry
An interface to define icon formatting for entries that can be displayed in Google Maps.
- Since:
- 1.0
- Version:
- 12.0
- Author:
- Luke
-
Field Summary
FieldsModifier 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.pngFields 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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the text to display in this marker's infobox 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.
-
Field Details
-
BLUE
Blue Google Maps icon, displayed as $static/img/maps/point_blue.png- See Also:
-
GREEN
Green Google Maps icon, displayed as $static/img/maps/point_green.png- See Also:
-
ORANGE
Orange Google Maps icon, displayed as $static/img/maps/point_orange.png- See Also:
-
PURPLE
Purple Google Maps icon, displayed as $static/img/maps/point_purple.png- See Also:
-
RED
-
WHITE
White Google Maps icon, displayed as $static/img/maps/point_white.png- See Also:
-
YELLOW
Yellow Google Maps icon, displayed as $static/img/maps/point_yellow.png- See Also:
-
GREY
Grey Google Maps icon, displayed as $static/img/maps/point_grey.png- See Also:
-
BROWN
Brown Google Maps icon, displayed as $static/img/maps/point_brown.png- See Also:
-
COLORS
All Google Maps icon colors.
-
-
Method Details
-
getInfoBox
String getInfoBox()Returns the text to display in this marker's infobox if displayed in a Google Map.- Returns:
- the infobox HTML text, or null if no infobox to be displayed
-