Map editing made easy
This project contains code for processing and editing map data. Our goal is to provide a shared foundation upon which developers can build map editors, data processors, validators, and other innovative tools.
This code is used by the Rapid map editor.
The modules and methods are documented at rapideditor.github.io/rapid-sdk.
Includes:
-
⭐️ Math Constants
-
🌐 Geographic (spherical) math functions
-
📈 Geometric (planar) math functions
-
🔢 Number math functions
-
📐 Vector math functions
-
📦 Extent class for working with bounding boxes
-
🀄️ Tiler class for splitting the world into rectangular tiles
-
🕹️ Transform class for managing translation, zoom, rotation
-
📺 Viewport class for managing view state and converting between Lon/Lat [λ,φ] and Cartesian [x,y] coordinates
See CONTRIBUTING.md for setup instructions and contribution guidelines.
This project is available under the ISC License. ISC is a permissive free software license — functionally equivalent to the MIT License.