addTo(map); Custom Style Example js let customDirectionsControl = L.mapquest.directionsControl({ routeSummary: { enabled: true, compactResults: true, }, narrativeControl: { enabled: true, compactResults: true, }, directionsLayer: { startMarker: { icon: 'circle', iconOptions: { size:...
This does not work for multi-point routes, only for routes between a single origin and a destination. A returned result will contain the main route, along with additional potential routes that could be used. Note Additional routes will only be returned if the maxRoutes parameter is set to 2...