Companion
Functions
Properties
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
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
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