Skip to content

mapnerd/albers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

albers

This map applies a dynamic Albers equal-area conic projection to the Mapzen vector tiles, using the Tangram mapping library.

The Mapzen tiles are first converted from Web Mercator to spherical lat/lng coordinates, and then reprojected into Albers.

Conic projections are specified with a center and two "standard parallels", which are lines of latitude with no distortion – this map adjusts these parameters in real time with the movement of the map, using a vertex shader inside the scene.yaml file.

I've left the edges of the loaded tiles visible so the map's behavior is more obvious.

Live demo: http://meetar.github.io/albers/

usa

About

Albers projection on a Tangram map

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 63.9%
  • JavaScript 25.9%
  • HTML 10.2%