Optional
isochroneOptional
contours?: Contour[]Optional
contourType?: "distance" | "time"The type of contour to compute isochrone either 'time' or 'distance'
Optional
costingModel?: "auto" | "pedestrian" | "bicycle"Means of transport for Valhalla isochrone API. 'auto', 'bicycle', 'pedestrian' models are available in the plugin. https://valhalla.github.io/valhalla/api/isochrone/api-reference/#costing-parameters
Optional
routingOptional
costingModel?: "auto" | "pedestrian" | "bicycle"Means of transport for Valhalla routing API. 'auto', 'bicycle', 'pedestrian' models are available in the plugin. https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/#costing-models
Optional
distanceUnit?: "miles" | "kilometers"Dustance unit for Valhalla routing API. https://valhalla.github.io/valhalla/api/turn-by-turn/api-reference/#directions-options
Optional
urlURL of Valhalla API. Default is empty string, which means you need to set the URL before using the control. If you want to use the demo Valhalla API, set the URL to 'https://valhalla.water-gis.com'. However, this demo api is only available for Rwanda, Uganda and Kenya.
If the URL is not set, the control constructor will throw an error.
Please read more about how to set up your own Valhalla API at https://valhalla.github.io/valhalla/
List of contours for isochrone API. Each contour has time, distance and color properties.