Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught ReferenceError: corslite is not defined #8

Open
muhamedoufi opened this issue Mar 28, 2023 · 1 comment
Open

Uncaught ReferenceError: corslite is not defined #8

muhamedoufi opened this issue Mar 28, 2023 · 1 comment

Comments

@muhamedoufi
Copy link

muhamedoufi commented Mar 28, 2023

 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);
@CCRDude
Copy link

CCRDude commented Sep 16, 2024

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants