Package com.pointrlabs.core.geojson
Class FeatureType
-
- All Implemented Interfaces:
public final class FeatureType
Feature types
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
FeatureType.FeatureTypeClass
-
Field Summary
Fields Modifier and Type Field Description private final String
typeCode
private final String
title
private final FeatureType.FeatureTypeClass
featureTypeClass
private final String
iconImage
private final String
image
private final String
mobileDisplayMode
private final List<String>
shapes
private final List<String>
categories
private final HashMap<String, String>
customFields
private final String
keyword
-
Method Summary
Modifier and Type Method Description final String
getTypeCode()
The feature type of the feature. final String
getTitle()
The title of the feature. final FeatureType.FeatureTypeClass
getFeatureTypeClass()
The class of the feature. final String
getIconImage()
final String
getImage()
The image of the feature. final String
getMobileDisplayMode()
The mobile display mode of the feature. final List<String>
getShapes()
The shapes of the feature. final List<String>
getCategories()
The categories of the feature. final HashMap<String, String>
getCustomFields()
The custom fields of the feature. final String
getKeyword()
The keyword of the feature. final Boolean
isDescriptionEnabled()
final Boolean
isGeoJsonEnabled()
final Boolean
isMapObject()
If the feature is a map object. final Boolean
isSearchable()
final Boolean
isTitleEnabled()
final Boolean
isWalkable()
final Boolean
isZoomLevelConfigurable()
final String
getCustomField(String key)
The custom field of the feature. -
-
Method Detail
-
getTypeCode
final String getTypeCode()
The feature type of the feature.
-
getFeatureTypeClass
final FeatureType.FeatureTypeClass getFeatureTypeClass()
The class of the feature.
-
getIconImage
final String getIconImage()
-
getMobileDisplayMode
final String getMobileDisplayMode()
The mobile display mode of the feature.
-
getCategories
final List<String> getCategories()
The categories of the feature.
-
getCustomFields
final HashMap<String, String> getCustomFields()
The custom fields of the feature.
-
getKeyword
final String getKeyword()
The keyword of the feature.
-
isDescriptionEnabled
final Boolean isDescriptionEnabled()
- Returns:
If description is enabled for the feature.
-
isGeoJsonEnabled
final Boolean isGeoJsonEnabled()
- Returns:
If geojson is enabled for the feature.
-
isMapObject
final Boolean isMapObject()
If the feature is a map object.
-
isSearchable
final Boolean isSearchable()
- Returns:
If the feature is searchable.
-
isTitleEnabled
final Boolean isTitleEnabled()
- Returns:
If title is enabled for the feature.
-
isWalkable
final Boolean isWalkable()
- Returns:
If the feature is walkable.
-
isZoomLevelConfigurable
final Boolean isZoomLevelConfigurable()
- Returns:
If the feature's zoom level is configurable.
-
getCustomField
final String getCustomField(String key)
The custom field of the feature.
-
-
-
-