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

Coordinates of the entrance location

type

EntranceLocationType

Type of the entrance location

Returns:

boolean

true if the entrance location was added successfully, false otherwise