WRLDMapViewDelegate Protocol Reference
This protocol defines an interface for observing a WRLDMapView for events. You can optionally implement these methods to receive messages from the map.
– mapViewRegionWillChange:
A message sent before the map view is changed, whether by a user or an API call.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
– mapViewRegionIsChanging:
A message sent every frame while the map view is changing. For example, during an animated camera transition.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
– mapViewRegionDidChange:
A message sent when the map view has finished changing. For example, when a camera transition ends.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
– mapViewDidFinishLoadingInitialMap:
A message sent when the map has finished streaming the minimum resources required to display the initial view.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
– mapView:didTapMap:
Notifies the delegate that the user has tapped a point on the map.
Argument | Description |
---|---|
mapView | The map view that has been tapped |
coordinateWithAltitude | The location on the terrain of the tapped point. |
– mapView:didTapView:
Notifies the delegate that the user has tapped the map view.
Argument | Description |
---|---|
mapView | The map view that has been tapped |
tapInfo | The location and screen coordinates of the tapped point. |
– mapView:didTapMarker:
A message sent when the user has tapped a marker on the map.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
marker | The WRLDMarker that was tapped. |
– mapView:positionerDidChange:
A message sent when a WRLDPositioner object has changed.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
positioner | The WRLDPositioner that has changed. |
– mapView:poiSearchDidComplete:poiSearchResponse:
A message sent when a POI search completes.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
poiSearchId | The ID of the WRLDPoiSearch. |
poiSearchResponse | The POI search results. |
– mapView:mapsceneRequestDidComplete:mapsceneResponse:
– mapView:routingQueryDidComplete:routingQueryResponse:
A message sent when a routing query completes.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
routingQueryId | The ID of the WRLDRoutingQuery. |
routingQueryResponse | The WRLDRoutingQueryResponse for this query. If successful, this will contain routing results. |
– mapView:didReceiveBuildingInformationForHighlight:
A message sent when a building information is received. Access this with [buildingHighlight buildingInformation].
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
buildingHighlight | The WRLDBuildingHighlight object for which WRLDBuildingInformation has been received. |
– mapView:didTapIndoorEntities:
A message sent when indoor entities are tapped.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
indoorEntityTapResult | The WRLDIndoorEntityTapResult containing information about the tapped indoor entities. |
– mapView:indoorMapEntityInformationDidChange:
A message sent in response to a WRLDIndoorMapEntityInformation isntance changing.
Argument | Description |
---|---|
mapView | The WRLDMapView that is being observed. |
indoorMapEntityInformation | The WRLDIndoorMapEntityInformation instance, containing updated information about indoor map entities for a specified indoor map. |