Enum Class MapInfo.ZoomLevel

java.lang.Object
java.lang.Enum<MapInfo.ZoomLevel>
com.arubanetworks.meridian.maps.MapInfo.ZoomLevel
All Implemented Interfaces:
Serializable, Comparable<MapInfo.ZoomLevel>, java.lang.constant.Constable
Enclosing class:
MapInfo

public static enum MapInfo.ZoomLevel extends Enum<MapInfo.ZoomLevel>
An enumeration to qualify real world zoom levels.
  • Enum Constant Details

    • ZOOM_LEVEL_WORLD

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_WORLD
      A constant to specify the zoomable scale of objects 156,412 meters/point
    • ZOOM_LEVEL_TOWN

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_TOWN
      A constant to specify the zoomable scale of objects 19.093 meters/point
    • ZOOM_LEVEL_LARGE_CAMPUS

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_LARGE_CAMPUS
      A constant to specify the zoomable scale of objects 9.547 meters/point (~2 miles)
    • ZOOM_LEVEL_MEDIUM_CAMPUS

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_MEDIUM_CAMPUS
      A constant to specify the zoomable scale of objects 4.773 meters/point (~1 mile)
    • ZOOM_LEVEL_SMALL_CAMPUS

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_SMALL_CAMPUS
      A constant to specify the zoomable scale of objects 2.387 meters/point (~0.5 miles)
    • ZOOM_LEVEL_LARGE_BUILDING

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_LARGE_BUILDING
      A constant to specify the zoomable scale of objects 1.193 meters/point (~0.25 miles)
    • ZOOM_LEVEL_MEDIUM_BUILDING

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_MEDIUM_BUILDING
      A constant to specify the zoomable scale of objects 0.596 meters/point (~625 feet)
    • ZOOM_LEVEL_LARGE_STORE

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_LARGE_STORE
      A constant to specify the zoomable scale of objects 0.298 meters/point (~300 feet)
    • ZOOM_LEVEL_MEDIUM_STORE

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_MEDIUM_STORE
      A constant to specify the zoomable scale of objects 0.149 meters/point (~150 feet)
    • ZOOM_LEVEL_SMALL_STORE

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_SMALL_STORE
      A constant to specify the zoomable scale of objects 0.0745 meters/point (~80 feet)
    • ZOOM_LEVEL_DEPARTMENT

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_DEPARTMENT
      A constant to specify the zoomable scale of objects 0.0372 meters/point (~40 feet)
    • ZOOM_LEVEL_CONFERENCE_ROOM

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_CONFERENCE_ROOM
      A constant to specify the zoomable scale of objects 0.0186 meters/point (~20 feet)
    • ZOOM_LEVEL_OFFICE

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_OFFICE
      A constant to specify the zoomable scale of objects 0.0093 meters/point (~10 feet)
    • ZOOM_LEVEL_CUBICLE

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_CUBICLE
      A constant to specify the zoomable scale of objects 0.0046 meters/point (~5 feet)
    • ZOOM_LEVEL_ATOM

      public static final MapInfo.ZoomLevel ZOOM_LEVEL_ATOM
      A constant to specify the zoomable scale of objects 0 meters/point
  • Method Details

    • values

      public static MapInfo.ZoomLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MapInfo.ZoomLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLevelValue

      public int getLevelValue()
    • getScaleFor

      public float getScaleFor(float unitsPerMeter)
    • getScaleFor

      public static float getScaleFor(double unitsPerMeter, double level)