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:
- (void)mapViewRegionWillChange:(WRLDMapView *)mapView
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:
- (void)mapViewRegionIsChanging:(WRLDMapView *)mapView
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:
- (void)mapViewRegionDidChange:(WRLDMapView *)mapView
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:
- (void)mapViewDidFinishLoadingInitialMap:(WRLDMapView *)mapView
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:
- (void)mapView:(WRLDMapView *)mapView didTapMap:(WRLDCoordinateWithAltitude)coordinateWithAltitude
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:
- (void)mapView:(WRLDMapView *)mapView didTapView:(WRLDTouchTapInfo)tapInfo
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:
- (void)mapView:(WRLDMapView *)mapView didTapMarker:(WRLDMarker *)marker
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:
- (void)mapView:(WRLDMapView *)mapView positionerDidChange:(WRLDPositioner *)positioner
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:
- (void)mapView:(WRLDMapView *)mapView poiSearchDidComplete:(int)poiSearchId poiSearchResponse:(WRLDPoiSearchResponse *)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:
- (void)mapView:(WRLDMapView *)mapView mapsceneRequestDidComplete:(int)requestId mapsceneResponse:(WRLDMapsceneRequestResponse *)mapsceneResponse
– mapView:routingQueryDidComplete:routingQueryResponse:
- (void)mapView:(WRLDMapView *)mapView routingQueryDidComplete:(int)routingQueryId routingQueryResponse:(WRLDRoutingQueryResponse *)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:
- (void)mapView:(WRLDMapView *)mapView didReceiveBuildingInformationForHighlight:(WRLDBuildingHighlight *)buildingHighlight
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:
- (void)mapView:(WRLDMapView *)mapView didTapIndoorEntities:(WRLDIndoorEntityTapResult *)indoorEntityTapResult
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:
- (void)mapView:(WRLDMapView *)mapView indoorMapEntityInformationDidChange:(WRLDIndoorMapEntityInformation *)indoorMapEntityInformation
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. |