Companion

object Companion

Functions

Link copied to clipboard
fun name(e: Int): String

Properties

Link copied to clipboard
const val AddMarkers: Byte = 3

Use case: Display markers on map Precondition: Map with given id exists Postcondition: Map marker is displayed on given coordinates Arguments: mapId: id of map (returned by action CreateMapView) PFMapDataRequestParams.markerBitmaps: bitmap objects used as map marker icons PFMapDataRequestParams.markerDefinitions: definition of marker behaviour Return value: nothing

Link copied to clipboard
const val CreateMapView: Byte = 0

Use case: Create new map view and display it Precondition: NONE Postcondition: Map is displayed on given surface with given dimensions Arguments: surface: platform dependent surface used for map rendering mapSurfaceConfig: surface dimensions and dpi Return value: mapId - identifier of created mapview used to call actions on this instance of map

Link copied to clipboard
const val DestroyMapView: Byte = 2

Use case: Stop displaying existing map Precondition: Map with given id exists Postcondition: Map stops rendering and associated resources are released Arguments: mapId: id of map (returned by action CreateMapView) to destroy Return value: nothing

Link copied to clipboard
Link copied to clipboard
const val RemoveMarkers: Byte = 4

Use case: Remove displayed markers from map Precondition: Map with given id exists, markers with given ids exist Postcondition: Markers are not displated on map Arguments: mapId: id of map (returned by action CreateMapView) PFMapDataRequestParams.removeMarkerIds: ids of markers to remove (if empty, all markers are removed) Return value: nothing

Link copied to clipboard
const val ResizeMapView: Byte = 1

Use case: Resize existing map Precondition: Map with given id exists Postcondition: Map is resized acording to provided mapSurfaceConfig Arguments: mapId: id of map (returned by action CreateMapView) to resize mapSurfaceConfig: surface dimensions and dpi Return value: nothing

Link copied to clipboard
const val SetCamera: Byte = 5

Use case: Set camera Precondition: Map with given id exists Postcondition: The map camera is set with provided parameters Arguments: mapId: id of map (returned by action CreateMapView) PFMapCameraParams: params to set Return value: nothing