Home > @magiclane/maps-sdk > RouteBookmarks > getPreferences

RouteBookmarks.getPreferences() method

Retrieves the RoutePreferences saved with the route at index.

Signature:

getPreferences(index: number): RoutePreferences | null;

Parameters

Parameter

Type

Description

index

number

Index of the route in the current sort order.

Returns:

RoutePreferences | null

Preferences when present, otherwise null.