Home > @magiclane/maps-sdk > MapViewPreferences
MapViewPreferences class
Mapview preferences
Signature:
export declare class MapViewPreferences Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | Get if the map scales are drawn by the user or by the SDK | ||
Get buildings visibility option. | |||
string | Set car model by path. | ||
| boolean | Check if cursor is enabled. | |
| boolean | Check if cursor render is enabled. | |
| boolean | Get frames per second draw state. | |
boolean | Check if the cursor mode is enabled. | ||
boolean | Check if the cursor rendering is enabled. | ||
RectType<number> | Get the map view focus viewport. | ||
| Get follow position preferences. | ||
boolean | Check if fast browsing is enabled | ||
| Get access to the settings for the visible landmark stores. | ||
Get map details quality level. | |||
| number | ||
RectType<number> | Get the map scale position. | ||
| number | Get the current view style content id. | |
| string | Get the current map view style | |
| Get the map view perspective. | ||
| Get access to the collections of visible markers. | ||
| number | Get the maximum viewing angle. | |
| number | Get the minimum viewing angle. | |
| boolean | Get the value of the NorthFixed flag. | |
| Get access to the collection of visible overlays. | ||
| |||
| number | bigint | ||
number | Get map rotation angle in degrees relative to north-south axis. | ||
| Get access to the collection of visible routes. | ||
boolean | Set the value of the NorthFixed flag. | ||
boolean | Check if map scale is shown | ||
number | Get tilt angle in degrees. | ||
number | Get enabled touch gestures packed. | ||
| boolean | Get traffic visibility. | |
| number | Get the viewing angle. |
Methods
Method | Modifiers | Description |
|---|---|---|
Enable / disable touch gestures. | ||
| ||
Check if touch gesture is enabled. | ||
Enable/disable frames per second draw. | ||
Set map view details by content. | ||
Set map view style by content buffer | ||
Set map view details by content id. | ||
Set map view style by content path | ||
Set the map view perspective. | ||
Set traffic visibility. | ||
Set the viewing angle. | ||