AI-generated Key Takeaways
-
FeatureType
is an annotation interface used to identify feature types on a map. -
It provides various string constants representing different geographical or political entities, such as countries, cities, and postal codes.
-
These constants can be used to categorize and filter features displayed on a map.
-
Examples of feature types include
COUNTRY
,LOCALITY
,POSTAL_CODE
, andADMINISTRATIVE_AREA_LEVEL_1
. -
Developers can use these identifiers to interact with map features based on their type.
Identifiers for feature types.
Constant Summary
String | ADMINISTRATIVE_AREA_LEVEL_1 | Indicates a first-order civil entity below the country level. |
String | ADMINISTRATIVE_AREA_LEVEL_2 | Indicates a second-order civil entity below the country level. |
String | COUNTRY | Indicates the national political entity. |
String | DATASET | Indicates a third-party dataset. |
String | FEATURE_TYPE_UNSPECIFIED | Unspecified, invalid feature type. |
String | LOCALITY | Indicates an incorporated city or town political entity. |
String | POSTAL_CODE | Indicates a postal code as used to address postal mail within the country. |
String | SCHOOL_DISTRICT | Indicates a school district. |
Inherited Method Summary
Constants
public static final String ADMINISTRATIVE_AREA_LEVEL_1
Indicates a first-order civil entity below the country level.
public static final String ADMINISTRATIVE_AREA_LEVEL_2
Indicates a second-order civil entity below the country level.
public static final String COUNTRY
Indicates the national political entity.
public static final String DATASET
Indicates a third-party dataset.
public static final String FEATURE_TYPE_UNSPECIFIED
Unspecified, invalid feature type.
public static final String LOCALITY
Indicates an incorporated city or town political entity.
public static final String POSTAL_CODE
Indicates a postal code as used to address postal mail within the country.
public static final String SCHOOL_DISTRICT
Indicates a school district.