sdk-maps / com.tomtom.online.sdk.map / DisplaySettings

DisplaySettings

@Beta(2020, 6) interface DisplaySettings

This interface defines operations on displayed map components (e.g. retrieving rendered features).

Functions

featuresAtCoordinates

abstract fun featuresAtCoordinates(coordinates: LatLng, layersIds: MutableList<String!>): FeatureCollection

Provides access to rendered features related to passed location within specified layers.

featuresAtPoint

abstract fun featuresAtPoint(point: PointF, layersIds: MutableList<String!>): FeatureCollection

Provides access to rendered features related to passed screen point within specified layers.

featuresInScreenRect

abstract fun featuresInScreenRect(screenRect: RectF, layersIds: MutableList<String!>): FeatureCollection

Provides access to rendered features related to passed screenbox within specified layers.