Closed answerquest closed 6 years ago
If you check the docs, you can use directly from the CDN:
<script src="https://unpkg.com/leaflet-ant-path" type="text/javascript"></script>
Or just download the file here
Thanks! I hadn't notice there was a documentation section in the .io site.
Type:
Environment:
I'm going to open a PR:
Description: Hi, apologies but I'm from the vanilla JS days, and the place where I want to publish my map with your awesome plugin animating the line, is also not going to have npm etc installed. Is there a .js file that I can include in my HTML, like
<script src="leaflet.antpath.js" type="text/javascript"></script>
to make this work? I looked up your demo's source code but it befuddles me. I've been using leaflet and several other plugins too since a long time and there's a clear .js file to use in the other cases.If there is one, could you put a mention of it in the readme? Great work btw.