Skip to content

JavaScript HTML5 Canvas+SVG vector map with Proj4js transformations.

License

Notifications You must be signed in to change notification settings

semchishinv/dbCartajs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbCartajs

HTML5 Canvas+SVG vector map viewer. Pure JavaScript and serverless. It uses Proj4js transformations. Supported projections:

  • espg:4326, longlat;
  • epsg:3875, Mercator projection;
  • mill, Miller Cylindrical projection;
  • laea, Lambert Azimuthal Equal Area;
  • nsper, General Vertical Near-Side Perspective projection (missing in original Proj4js code, ported from gctpc project);
  • ortho, Orthographic projection;
  • moll, Mollweide projection.

Starry Sky demo include satellite-js module.
Demos at http://egaxegax.github.io/dbCartajs/demo/index.html.
Docs in wiki at https://github.com/egaxegax/dbCartajs/wiki.

Usage

Simply download and unpack an archive, open index.html from demo folder in any browser with HTML5 support.

Controls

  • drag to move map;
  • use Ctrl+Left-Mouse-Button to draw zoom box;
  • use mouse wheel or right bar buttons to zoom;
  • touch support (move, zoom) on Tablet PC.

Screenshots

ortho-ns.gif ortho-ew.gif

Mercator Projection:

merc.jpg

Mollweide Projection:

moll.png

Starry Sky. Featured, copmlicated demo like Orbitron, Marble, Xephem but more lightweight.

starry.png

Moscow Rail Map:

mosrails.png

Image Viewer:

imgviewer.png

About

JavaScript HTML5 Canvas+SVG vector map with Proj4js transformations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%