onError

Called when the custom POI was plotted but a route to it could not be computed (e.g. no start location available, or the engine returned an error / no path).

Parameters

poi

the custom POI that was added (still plotted)

message

a human-readable reason