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

public interface MapEntry extends GeoLocation
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Blue Google Maps icon, displayed as $static/img/maps/point_blue.png
    static final String
    Brown Google Maps icon, displayed as $static/img/maps/point_brown.png
    static final String[]
    All Google Maps icon colors.
    static final String
    Green Google Maps icon, displayed as $static/img/maps/point_green.png
    static final String
    Grey Google Maps icon, displayed as $static/img/maps/point_grey.png
    static final String
    Orange Google Maps icon, displayed as $static/img/maps/point_orange.png
    static final String
    Purple Google Maps icon, displayed as $static/img/maps/point_purple.png
    static final String
    Red Google Maps icon, displayed as $static/img/maps/point_red.png
    static final String
    White Google Maps icon, displayed as $static/img/maps/point_white.png
    static final String
    Yellow Google Maps icon, displayed as $static/img/maps/point_yellow.png

    Fields inherited from interface GeoLocation

    ALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES
    Modifier and Type
    Field
    Description
    static final int
    Format the Longitude and Latitude.
    static final double
    Size of a degree in feet.
    static final double
    Size of a degree in miles.
    static final int
    Size of a mile in feet.
    static final String[]
    Latitude directions.
    static final int
    Format the Latitude only.
    static final String[]
    Longitude directions.
    static final int
    Format the Longitude only.
    static final int
    Radius of the Earth in miles.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the text to display in this marker's infobox if displayed in a Google Map.

    Methods inherited from interface GeoLocation

    distanceFeet, distanceTo, getLatitude, getLongitude
    Modifier and Type
    Method
    Description
    default int
    Calculates the distance between two points in feet.
    default int
    Calculates the distance between two GeoLocations.
    double
    Returns the latitude of this location.
    double
    Returns the longitude of this location.
  • Field Details

    • BLUE

      static final String BLUE
      Blue Google Maps icon, displayed as $static/img/maps/point_blue.png
      See Also:
    • GREEN

      static final String GREEN
      Green Google Maps icon, displayed as $static/img/maps/point_green.png
      See Also:
    • ORANGE

      static final String ORANGE
      Orange Google Maps icon, displayed as $static/img/maps/point_orange.png
      See Also:
    • PURPLE

      static final String PURPLE
      Purple Google Maps icon, displayed as $static/img/maps/point_purple.png
      See Also:
    • RED

      static final String RED
      Red Google Maps icon, displayed as $static/img/maps/point_red.png
      See Also:
    • WHITE

      static final String WHITE
      White Google Maps icon, displayed as $static/img/maps/point_white.png
      See Also:
    • YELLOW

      static final String YELLOW
      Yellow Google Maps icon, displayed as $static/img/maps/point_yellow.png
      See Also:
    • GREY

      static final String GREY
      Grey Google Maps icon, displayed as $static/img/maps/point_grey.png
      See Also:
    • BROWN

      static final String BROWN
      Brown Google Maps icon, displayed as $static/img/maps/point_brown.png
      See Also:
    • COLORS

      static final String[] 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