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

MapView

Container of 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, it is equal to the screen refresh rate.

Maximum allowed map refresh rate in power saving mode. If not set, it is equal to 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 is completed).

Returns the View used for rendering OpenGL.

Theme that is used by the map. To change during the lifecycle MapView, use setTheme.