@cgcs2000/viewport-cgcs2000-project

Utilities for perspective-enabled Web Mercator projections

Usage no npm install needed!

<script type="module">
  import cgcs2000ViewportCgcs2000Project from 'https://cdn.skypack.dev/@cgcs2000/viewport-cgcs2000-project';
</script>

README

version build downloads stars

viewport-mercator-project | Docs

Projection and camera utilities supporting the Web Mercator Projection. At its core this is a utility for converting to and from map coordinates (i.e. latitude, longitude) to screen coordinates and back.

Who is this for?

Specifically built for use with deck.gl and react-map-gl, but could be useful for any web mapping application that wants to support perspective enabled Web Mercator Projections with floating point zoom levels.