new DirectionsController(options)
Parameters:
Name | Type | Description |
---|---|---|
options |
lucid.maps.limbs.DirectionsControllerOptions | Options for the default behaviour of this controller. |
- Source:
- maps/limbs/DirectionsController.js, line 15
Methods
-
addTransportLink(travelOptions) → {lucid.maps.limbs.Limb}
-
Parameters:
Name Type Description travelOptions
lucid.maps.limbs.TransportLinkOptions Options to override the default options passed into the factory's constructor. - Source:
- maps/limbs/DirectionsController.js, line 62
Returns:
The LIMB that was created for the new travel point. -
<inner> defaultClickHandlerFactory(marker) → {function}
-
Parameters:
Name Type Description marker
google.maps.Marker The marker to create a click-handler for. - Source:
- maps/limbs/DirectionsController.js, line 91
Returns:
A function that handles the click on that marker.- Type
- function