Giter Club home page Giter Club logo

common-mapping-client's Introduction

Welcome to the Common Mapping Client!

CircleCI Dependencies Status Coverage Status license

Preview

Overview

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.

Features

  • 2D/3D Map library abstraction
  • Map layer controls
  • Map layer ingestion and merging (from JSON and WMTS capabilities XML)
  • Highly customizable user analytics
  • Configurable map projection
  • Basic vector layer support
  • Map extent synchronization across all maps (2D and 3D)
  • Geodesic map geometry synchronization across all maps (2D and 3D)
  • Global time widget, and interactive timeslider
  • Adjustable map layer cache
  • Shareable/loadable application state via url parameters with share widget (facebook, twitter, email, google plus)
  • Core set of UI elements necessary for most basic applications
  • Basemap switching
  • Basic shape drawing tools in 2D and 3D
  • Basic geodesic measurement (distance and area) tools in 2D and 3D
  • Display help documentation from markdown files
  • A preconfigured testing framework
  • A preconfigured build process
  • Handy development tools
    • Hot reloading
    • Local dev and production node servers
    • BrowserSync

Quickstart

Install
  1. Install NodeJS
  2. Get the code
    1. Option A: Grab a tag that suits you
    2. Option B: Fork the repo into your new project and get the cutting edge goodness
    3. Option C: Clone the repo, contribute back, and get the cutting edge goodness
  3. npm install: install node dependencies
  4. npm start: build and server development code bundle
  5. Start building.
Build
  • npm run build: build production code bundle
  • npm run open:dist: serve production code bundle
Test
  • npm run test: Single run of tests
  • npm run test:watch: Run tests with code watch
  • npm run test:cover: Single run of tests with coverage report
  • flags
    • --includecoretests: Include cmc-core tests as well
    • --nowebgl: Run tests in phantomJS and skip tests that require webgl

Contributing to the Project

Contributing 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.

Documentation Shortcut

common-mapping-client's People

Contributors

aaronplave avatar flynnplatt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.