LandmarkCategory class Places
Represents a landmark category used to classify landmarks and POIs.
A LandmarkCategory defines a logical grouping for landmarks. Each category has a unique numeric identifier, a localized display name, and an optional image. Categories can be generic (built-in) or custom and may belong to a parent LandmarkStore.
A single landmark can belong to multiple categories simultaneously. Use the GenericCategories class to access SDK-provided default categories and their POI subcategories.
See also:
- GenericCategories — access predefined generic categories and POI subcategories.
- GenericCategoriesId — built-in generic category identifiers.
- LandmarkStore — store-level grouping of categories and landmarks.
Constructors
- LandmarkCategory.new()
-
Creates a new LandmarkCategory.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Returns the numeric identifier for this category.
no setter
- img ↔ Img
-
Get the image as a Img.
getter/setter pair
- landmarkStoreId → int
-
Returns the parent landmark store identifier when this is a store-scoped category.
no setter
- name ↔ String
-
Returns the localized display name for this category.
getter/setter pair
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
getImage(
{Size? size, ImageFileFormat? format}) → Uint8List? - Retrieves the category image as raw bytes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited