Enum FeatureType
- All Implemented Interfaces:
Serializable,Comparable<FeatureType>,java.lang.constant.Constable
Enum representing supported feature types. Features are geographic characteristics on the
map, including roads, parks, bodies of water, businesses, and more.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSelects all administrative areas.Selects countries.Selects land parcels.Selects localities.Selects neighborhoods.Selects provinces.Selects all features.Selects all landscapes.Selects man-made features, such as buildings and other structures.Selects natural features, such as mountains, rivers, deserts, and glaciers..Selects land cover features, the physical material that covers the earth's surface, such as forests, grasslands, wetlands, and bare ground..Selects terrain features of a land surface, such as elevation, slope, and orientation.Selects all points of interest.Selects tourist attractions.Selects businesses.Selects government buildings.Selects emergency services, including hospitals, pharmacies, police, doctors, and others.Selects parks.Selects places of worship, including churches, temples, mosques, and others.Selects schools.Selects sports complexes.Selects all roads.Selects arterial roads.Selects highways.Selects highways with controlled access.Selects local roads.Selects all transit stations and lines.Selects transit lines.Selects transit stations.Selects airports.Selects bus stops.Selects rail stations.Selects bodies of water. -
Method Summary
Modifier and TypeMethodDescriptionstatic FeatureTypeReturns the enum constant of this type with the specified name.static FeatureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALL
Selects all features. Is the default option. -
ADMINISTRATIVE
Selects all administrative areas. Styling affects only the labels of administrative areas, not the geographical borders or fill. -
ADMINISTRATIVE_COUNTRY
Selects countries. -
ADMINISTRATIVE_LAND_PARCEL
Selects land parcels. -
ADMINISTRATIVE_LOCALITY
Selects localities. -
ADMINISTRATIVE_NEIGHBORHOOD
Selects neighborhoods. -
ADMINISTRATIVE_PROVINCE
Selects provinces. -
LANDSCAPE
Selects all landscapes. -
LANDSCAPE_MAN_MADE
Selects man-made features, such as buildings and other structures. -
LANDSCAPE_NATURAL
Selects natural features, such as mountains, rivers, deserts, and glaciers.. -
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
Selects terrain features of a land surface, such as elevation, slope, and orientation. -
POI
Selects all points of interest. -
POI_ATTRACTION
Selects tourist attractions. -
POI_BUSINESS
Selects businesses. -
POI_GOVERNMENT
Selects government buildings. -
POI_MEDICAL
Selects emergency services, including hospitals, pharmacies, police, doctors, and others. -
POI_PARK
Selects parks. -
POI_PLACE_OF_WORSHIP
Selects places of worship, including churches, temples, mosques, and others. -
POI_SCHOOL
Selects schools. -
POI_SPORTS_COMPLEX
Selects sports complexes. -
ROAD
Selects all roads. -
ROAD_ARTERIAL
Selects arterial roads. -
ROAD_HIGHWAY
Selects highways. -
ROAD_HIGHWAY_CONTROLLED_ACCESS
Selects highways with controlled access. -
ROAD_LOCAL
Selects local roads. -
TRANSIT
Selects all transit stations and lines. -
TRANSIT_LINE
Selects transit lines. -
TRANSIT_STATION
Selects transit stations. -
TRANSIT_STATION_AIRPORT
Selects airports. -
TRANSIT_STATION_BUS
Selects bus stops. -
TRANSIT_STATION_RAIL
Selects rail stations. -
WATER
Selects bodies of water.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-