I am not familiar with nodejs environment, I want to get the js file of Leaflet.MapboxVectorTile
Is it possible to use it without installing nodejs?
Yes, all you have to do is download the file from GitHub. Here is the link to the source javascript file, here is the link to the minified file. The minified file is recommended, as it is smaller and takes less time for the browser to fetch.
Once you have downloaded the file, put it in the same directory as your html document, and then place the following code in the head
section of your html document:
<script src="Leaflet.MapboxVectorTile.min.js"></script>
If you searched a little bit, you could find answers for this, as all you have to do is download a file from GitHub. Please see How much research effort is expected of Stack Overflow users?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.