FeatureType
Stay organized with collections
Save and categorize content based on your preferences.
Identifiers for feature types.
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final String
ADMINISTRATIVE_AREA_LEVEL_1
Indicates a first-order civil entity below the country level.
Constant Value:
"ADMINISTRATIVE_AREA_LEVEL_1"
public static final String
ADMINISTRATIVE_AREA_LEVEL_2
Indicates a second-order civil entity below the country level.
Constant Value:
"ADMINISTRATIVE_AREA_LEVEL_2"
public static final String
COUNTRY
Indicates the national political entity.
Constant Value: "COUNTRY"
public static final String
DATASET
Indicates a third-party dataset.
Constant Value: "DATASET"
public static final String
FEATURE_TYPE_UNSPECIFIED
Unspecified, invalid feature type.
Constant Value:
"FEATURE_TYPE_UNSPECIFIED"
public static final String
LOCALITY
Indicates an incorporated city or town political entity.
Constant Value: "LOCALITY"
public static final String
POSTAL_CODE
Indicates a postal code as used to address postal mail within the country.
Constant Value: "POSTAL_CODE"
public static final String
SCHOOL_DISTRICT
Indicates a school district.
Constant Value:
"SCHOOL_DISTRICT"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`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`, and `ADMINISTRATIVE_AREA_LEVEL_1`."],["Developers can use these identifiers to interact with map features based on their type."]]],["`FeatureType` provides identifiers for various types of geographical features. It defines constants like `ADMINISTRATIVE_AREA_LEVEL_1` and `_2` (first and second-order civil entities), `COUNTRY` (national entity), `DATASET` (third-party), `LOCALITY` (city/town), `POSTAL_CODE`, `SCHOOL_DISTRICT`, and `FEATURE_TYPE_UNSPECIFIED` (invalid). `FeatureType` extends the `Annotation` interface and inherits methods such as `annotationType`, `equals`, `hashCode`, and `toString`. Each constant is a string value representing its feature.\n"]]