JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 36408
  • Score
    100M100P100Q139666F
  • License MIT

Smooth Proj4js integration with Leaflet

Package Exports

  • proj4leaflet

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (proj4leaflet) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Proj4Leaflet NPM version

This Leaflet plugin adds support for using projections supported by Proj4js.

For compatibility with Leaflet 1.0-beta1 use the leaflet-proj-refactor branch.

Features

  • Supports all commonly used projections
  • Extends Leaflet with full TMS support even for local projections
  • Makes it easy to use GeoJSON data with other projections than WGS84
  • Image overlays with bounds set from projected coordinates rather than LatLngs

Leaflet comes with built in support for tiles in Spherical Mercator. If you need support for tile layers in other projections, the Proj4Leaflet plugin lets you use tiles in any projection supported by Proj4js, which means support for just about any projection commonly used.

For more details and API docs, see the Proj4Leaflet site.