ru.dgis.sdk.map.MapView | Android SDK | 2GIS Documentation

MapView

Container containing the map and additional controls.

Extends: android.widget.FrameLayout
MapView(context: Context)
Parameters
context
Returns
MapView(context: Context, attrs: AttributeSet)
Parameters
context
attrs
Returns
MapView(context: Context, options: MapOptions)
Parameters
context
options
Returns
MapView(context: Context, map: Map)
Parameters
context
map
Returns
Methods
Properties

Maximum allowed map refresh rate. If not set, equals the screen refresh rate.

Maximum allowable map refresh rate in power saving mode. If not set, equals maxFps.

Map update frequency. To get the correct value, you must keep a subscription to the channel. Before calling the method, the map must be initialized (getMapAsync completed).

Returns the View used for rendering OpenGL.