Home > @magiclane/maps-sdk > LandmarkStore > getLandmarksInArea
LandmarkStore.getLandmarksInArea() method
Get the landmarks within the specified area.
Signature:
getLandmarksInArea(input?: {
area?: GeographicArea;
categoryId?: number;
}): Landmark[];Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ area, categoryId, } |
(not declared) |
(Optional) |
|
input |
{ area?: GeographicArea; categoryId?: number; } |
(Optional) |
input properties:
- Optional area?: GeographicArea
- Optional categoryId?: number
Returns:
Landmark[]
The landmark list corresponding to given criteria.
Exceptions
An exception if it fails.