MapViewPreferences

class MapViewPreferences(address: Long, isRef: Boolean) : GemNativeObj

Reference to ViewPreferences

Constructors

Link copied to clipboard
constructor(address: Long, isRef: Boolean)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Buildings visibility option.

Link copied to clipboard

Enable/Disable the cursor. When the cursor is enabled map selection can be activated by calling setCursorScreenPosition. The cursor is automatically disabled by startFollowingPosition. Note: Default is false.

Link copied to clipboard

Enable/Disable the cursor rendering. Note: Default is false.

Link copied to clipboard

Current follow position with route preferences. see FollowPositionPreferences.

Link copied to clipboard

Gets access to the visibility settings for the landmark stores.

Link copied to clipboard
Link copied to clipboard

Enable / Disable map labels fading. Note: Default is true.

Link copied to clipboard

Current map view details.

Link copied to clipboard

Current view style content path. See ContentStoreItem.filename

Link copied to clipboard

Get the map view perspective. Note: Default is EMapViewPerspective.TwoDimensional.

Link copied to clipboard

Get access to the collection of visible markers

Link copied to clipboard

Gets the max viewing angle.

Link copied to clipboard

Gets the min viewing angle.

Link copied to clipboard

Gets access to the collection of visible marker overlays.

Link copied to clipboard

Gets access to the collection of visible paths.

Link copied to clipboard

Map rotation angle in degrees relative to north-south axis. The value of 0 corresponds to north-up alignment

Link copied to clipboard

Gets access to the collection of visible routes.

Link copied to clipboard

Tilt angle in degrees.

Link copied to clipboard

Get enabled touch gestures packed

Link copied to clipboard

Traffic visibility

Link copied to clipboard

The viewing angle. Note: Default is 30.

Functions

Link copied to clipboard
external fun enableTouchGestures(gestures: Int, enable: Boolean)

Enable / disable touch gestures

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard
external fun getDrawFPS(): Boolean

Gets frames per second draw state

Link copied to clipboard

Gets the given map scene object visibility in current view

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard

Check if touch gesture is enabled

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
external fun setDrawFPS(enable: Boolean, pos: Xy)

Enable/disable frames per second draw

Link copied to clipboard

Sets the given map scene object visibility in current view

Link copied to clipboard
external fun setMapStyleByContentStoreItem(style: ContentStoreItem, smoothTransition: Boolean = false)

Set map view details by ContentStoreItem

Link copied to clipboard
external fun setMapStyleByDataBuffer(content: DataBuffer, smoothTransition: Boolean = false)

Set map view details by content

Link copied to clipboard
external fun setMapStyleById(value: Long)

Sets map view details.

Link copied to clipboard
external fun setMapStyleByPath(path: String)

Set map view details by content path

Link copied to clipboard
fun setMapViewPerspective(perspective: EMapViewPerspective, animation: Animation? = null)

Set the map view perspective.

Link copied to clipboard

Update current style from json ( studio style editor use case )