public class DirectionsService extends MapObject
| Modifier | Constructor and Description |
|---|---|
protected |
DirectionsService(Map map) |
| Modifier and Type | Method and Description |
|---|---|
void |
route(DirectionsRequest request,
DirectionsRouteCallback callback)
Calculates route for provided request.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updatePropertyprotected DirectionsService(Map map)
public void route(DirectionsRequest request, DirectionsRouteCallback callback)
request - request objectcallback - instance of DirectionsRouteCallback.