You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at e.route (L.Routing.OpenRouteService.js:52:4)
at e.route (leaflet-routing-machine.js:16151:41)
at e.onAdd (leaflet-routing-machine.js:15919:10)
at e.addTo (Control.js:70:42)
at (index):588:8
my code snippet
// create the routing control and add it to the map
var routCtrl = new L.Routing.control({
waypoints:[
L.latLng(18.0928, -15.9611),
L.latLng(18.084189686687818, -15.966320625599066)
],
// create a Leaflet routing control and add it to the map
// router: L.Routing.graphHopper('b9aed0d1-2c8e-462b-8ea4-1d55a846ecb8')
router: new L.Routing.openrouteservice(api_key),
// static\assets\vendor\[email protected]
}).addTo(map);
The text was updated successfully, but these errors were encountered:
my code snippet
The text was updated successfully, but these errors were encountered: