java.lang.Object
java.lang.Enum<FeatureType>
com.flowingcode.vaadin.addons.googlemaps.maptypestyle.FeatureType
All Implemented Interfaces:
Serializable, Comparable<FeatureType>, java.lang.constant.Constable

public enum FeatureType extends Enum<FeatureType>
Enum representing supported feature types. Features are geographic characteristics on the map, including roads, parks, bodies of water, businesses, and more.
  • Enum Constant Details

    • ALL

      public static final FeatureType ALL
      Selects all features. Is the default option.
    • ADMINISTRATIVE

      public static final FeatureType ADMINISTRATIVE
      Selects all administrative areas. Styling affects only the labels of administrative areas, not the geographical borders or fill.
    • ADMINISTRATIVE_COUNTRY

      public static final FeatureType ADMINISTRATIVE_COUNTRY
      Selects countries.
    • ADMINISTRATIVE_LAND_PARCEL

      public static final FeatureType ADMINISTRATIVE_LAND_PARCEL
      Selects land parcels.
    • ADMINISTRATIVE_LOCALITY

      public static final FeatureType ADMINISTRATIVE_LOCALITY
      Selects localities.
    • ADMINISTRATIVE_NEIGHBORHOOD

      public static final FeatureType ADMINISTRATIVE_NEIGHBORHOOD
      Selects neighborhoods.
    • ADMINISTRATIVE_PROVINCE

      public static final FeatureType ADMINISTRATIVE_PROVINCE
      Selects provinces.
    • LANDSCAPE

      public static final FeatureType LANDSCAPE
      Selects all landscapes.
    • LANDSCAPE_MAN_MADE

      public static final FeatureType LANDSCAPE_MAN_MADE
      Selects man-made features, such as buildings and other structures.
    • LANDSCAPE_NATURAL

      public static final FeatureType LANDSCAPE_NATURAL
      Selects natural features, such as mountains, rivers, deserts, and glaciers..
    • LANDSCAPE_NATURAL_LANDCOVER

      public static final FeatureType LANDSCAPE_NATURAL_LANDCOVER
      Selects land cover features, the physical material that covers the earth's surface, such as forests, grasslands, wetlands, and bare ground..
    • LANDSCAPE_NATURAL_TERRAIN

      public static final FeatureType LANDSCAPE_NATURAL_TERRAIN
      Selects terrain features of a land surface, such as elevation, slope, and orientation.
    • POI

      public static final FeatureType POI
      Selects all points of interest.
    • POI_ATTRACTION

      public static final FeatureType POI_ATTRACTION
      Selects tourist attractions.
    • POI_BUSINESS

      public static final FeatureType POI_BUSINESS
      Selects businesses.
    • POI_GOVERNMENT

      public static final FeatureType POI_GOVERNMENT
      Selects government buildings.
    • POI_MEDICAL

      public static final FeatureType POI_MEDICAL
      Selects emergency services, including hospitals, pharmacies, police, doctors, and others.
    • POI_PARK

      public static final FeatureType POI_PARK
      Selects parks.
    • POI_PLACE_OF_WORSHIP

      public static final FeatureType POI_PLACE_OF_WORSHIP
      Selects places of worship, including churches, temples, mosques, and others.
    • POI_SCHOOL

      public static final FeatureType POI_SCHOOL
      Selects schools.
    • POI_SPORTS_COMPLEX

      public static final FeatureType POI_SPORTS_COMPLEX
      Selects sports complexes.
    • ROAD

      public static final FeatureType ROAD
      Selects all roads.
    • ROAD_ARTERIAL

      public static final FeatureType ROAD_ARTERIAL
      Selects arterial roads.
    • ROAD_HIGHWAY

      public static final FeatureType ROAD_HIGHWAY
      Selects highways.
    • ROAD_HIGHWAY_CONTROLLED_ACCESS

      public static final FeatureType ROAD_HIGHWAY_CONTROLLED_ACCESS
      Selects highways with controlled access.
    • ROAD_LOCAL

      public static final FeatureType ROAD_LOCAL
      Selects local roads.
    • TRANSIT

      public static final FeatureType TRANSIT
      Selects all transit stations and lines.
    • TRANSIT_LINE

      public static final FeatureType TRANSIT_LINE
      Selects transit lines.
    • TRANSIT_STATION

      public static final FeatureType TRANSIT_STATION
      Selects transit stations.
    • TRANSIT_STATION_AIRPORT

      public static final FeatureType TRANSIT_STATION_AIRPORT
      Selects airports.
    • TRANSIT_STATION_BUS

      public static final FeatureType TRANSIT_STATION_BUS
      Selects bus stops.
    • TRANSIT_STATION_RAIL

      public static final FeatureType TRANSIT_STATION_RAIL
      Selects rail stations.
    • WATER

      public static final FeatureType WATER
      Selects bodies of water.
  • Method Details

    • values

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

      public static FeatureType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null