lnglattotile

Convert longitude, latitude and zoom level (lng, lat, zoom) to tile coordinates (x, y, z)

Usage no npm install needed!

<script type="module">
  import lnglattotile from 'https://cdn.skypack.dev/lnglattotile';
</script>

README

lnglattotile

Convert longitude, latitude and zoom level (lng, lat, zoom) to tile coordinates (x, y, z)