-
Notifications
You must be signed in to change notification settings - Fork 82
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
How can I import the leaflet-elevation. js file offline in a Vue project #293
Comments
Hi @InstantWindy, Be aware, It looks like you are trying to develop without http server (ie. I don't know how much this mode is supported).
Yes, otherwise you just need a leaflet-elevation/src/control.js Lines 750 to 764 in bd9316b
Here's a fairly complete example: leaflet-elevation/examples/leaflet-elevation_extended-ui.html Lines 42 to 221 in bd9316b
leaflet-elevation/examples/leaflet-elevation_extended-ui.html Lines 253 to 271 in bd9316b
👋 Raruto |
Hi!I want to use the L.control. elevation function in the Vue project by introducing the eaflet-elevation. js file. Here is my citation method
But I found that the following errors may occur.
Does it still need to import files like distance.js ?
The text was updated successfully, but these errors were encountered: