Home > @magiclane/maps-sdk > EntranceLocations > addEntranceLocation
EntranceLocations.addEntranceLocation() method
Add new entrance location.
Signature:
addEntranceLocation(coordinates: Coordinates, type: EntranceLocationType): boolean;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
coordinates |
Coordinates of the entrance location | |
|
type |
Type of the entrance location |
Returns:
boolean
true if the entrance location was added successfully, false otherwise