BEViewDelegate
@objc
public protocol BEViewDelegate : NSObjectProtocol
BEView
Version
1.0Copyright
Copyright © 2019 GlobeCo Technologies Pvt Ltd. All rights reserved.-
becoView:didFailedWith:
- BEViewDelegate non-optional method.
- Invoked when an error occure while loading your BEView.
- If there is a permision error, will get BELocationPermissionError
- Trigger when failed to plot a route in your BEView, Triggered Routing errors are
- BERoutingErrorNoValidPath
- BERoutingErrorInvalidRouteRequest
Declaration
Swift
@objc func becoView(_ mapView: BEView, didFailedWith error: Error)
Parameters
mapView
BEView reference
error
Error details
-
becoView:updateUserLocation:
- Trigger when user’s current location is updated or changed.
- If there isn’t any valid BEPoint in user location, you will get a Dummy Point. Point name will be
Your Location
.
Declaration
Parameters
mapView
BEView reference
point
BEPoint reference.
-
becoView:didFindResult:
- This delegate is a call back for the function call
findMapPoint(text: String)
in your BEView.
Declaration
Parameters
mapView
BEView reference
results
List of BEPoint
searchText
search text.
results
are based onsearchText
- This delegate is a call back for the function call