Skip to content

A TerriaJS plugin using proj4leaflet library to implement custom projection support in Leaflet/2D mode.

License

Notifications You must be signed in to change notification settings

TerriaJS/plugin-proj4leaflet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ WIP

A TerriaJS plugin using proj4leaflet library to implement custom projection support in Leaflet/2D mode.

It uses the proj4leaflet library.

Setup

  1. Add the plugin as dependency to your terriamap.
cd terriamap/
yarn add -W plugin-terriajs-proj4leaflet 
  1. Register the plugin from terriamap/plugins.ts
// terriamap/plugins.ts
const plugins: () => Promise<TerriaPluginModule>[] = () => [
  import("terriajs-plugin-proj4leaflet")
];
  1. Configure available projections

You can set the available projections using a configuration similar to this one.

About

A TerriaJS plugin using proj4leaflet library to implement custom projection support in Leaflet/2D mode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published