MapSurface

open class MapSurface(initialSkins: List<String>? = null, initialCameraState: CameraState? = null) : MapDataProvider

Constructors

Link copied to clipboard
fun MapSurface(initialSkins: List<String>? = null, initialCameraState: CameraState? = null)

Types

Link copied to clipboard
inner class MapInitListenerWrapper : MapView.OnInitListener

Functions

Link copied to clipboard
open override fun getCameraDataModel(): Camera.CameraModel
Link copied to clipboard
fun getMapAsync(onMapInitListener: OnMapInitListener)
Link copied to clipboard
open override fun getMapDataModel(): MapView.MapDataModel

Called by MapView to obtain the model

Link copied to clipboard
fun onSurfaceAvailable(    surface: Surface,     width: Int,     height: Int,     dpi: Int,     context: Context = SygicContext.getInstance().context)
Link copied to clipboard
fun onSurfaceDestroyed()
Link copied to clipboard
fun onSurfaceSizeChanged(width: Int, height: Int)