MapSurface

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

Types

MapInitListenerWrapper
Link copied to clipboard
inner class MapInitListenerWrapper : MapView.OnInitListener

Functions

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

Called by MapView to obtain the model

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