The Common Mapping Client (CMC) is a foundation for web-based mapping applications that leverages, combines, and abstracts certain commonly used mapping functionalities, enabling developers to spend less time reinventing the wheel and more time solving their specific problems. Sitting somewhere between a starter-kit and a framework, CMC aims fulfill the basic needs of a mapping application without getting in the way of any given project's unique goals.
Over the years, there have been many projects that try to solve the same issue: put data on a map and explore it. Unfortunately, there is an increasingly steep hill to climb when it comes to actually starting one of these projects. All of them have to decide: Which framework should I start from? Which library will give me the features I need? How to I glue all these together with a code layout that I won't want to burn next week? CMC solves this by bundling together a solid and modular base framework with robust mapping libraries, a well thought out structure, and a thick shield against feature-creep to let you start building the cool stuff faster.
We maintain a list of further example projects and projects that began from CMC so that you can easily get examples of building intricate and detailed workflows on top of this tool.
View our live demo.
NodeJS
npm install
: install node dependenciesnpm start
: build and server development code bundlenpm run build
: build production code bundlenpm run open:dist
: serve production code bundlenpm run test
: Single run of tests--includecoretests
: Include cmc-core tests as well--nowebgl
: Run tests in phantomJS and skip tests that require webgl--watch
: Run tests with code watchContributing Directly to CMC-Core
You are more than welcome to create forks to fix bugs, add features or enhancements or otherwise improve the tool. Please submit these changes through pull-requests for review.
Contributing to the CMC Ecosystem
If you use CMC for your own project, please let us know so that we may list it under our Example Projects for others to find inspiration in.
If you create a particularly useful or robust widget in your own CMC descendant, please create an example project demonstrating just that widget so that others who have the same problem down the road may find a solution faster.