A Maputnik fork with the pmtiles protocol.
Find a file
Lukas Martinelli 2db80db95a Spaces not tabs
2016-12-03 17:03:39 +01:00
media Add media files into own dir 2016-11-23 21:09:20 +01:00
src Serve font locally 2016-11-23 21:02:34 +01:00
test Add karma based testing 2016-11-23 16:05:52 +01:00
.editorconfig Spaces not tabs 2016-12-03 17:03:39 +01:00
.gitignore Initial commit 2016-09-08 19:49:23 +02:00
.travis.yml Ensure firefox is installed on OSX 2016-11-23 19:18:22 +01:00
appveyor.yml Create public dir directly in appveyor 2016-11-23 21:06:56 +01:00
Dockerfile - Added a Dockerfile to allow the editor to be served using docker containers 2016-11-09 22:08:38 +08:00
karma.conf.js Run Firefox in Karma on Travis 2016-11-23 16:33:03 +01:00
LICENSE Change names in package.json and License 2016-09-08 19:52:06 +02:00
package.json Run Firefox in Karma on Travis 2016-11-23 16:33:03 +01:00
README.md Use official Docker image 2016-11-24 10:18:56 +01:00
webpack.config.js Add karma based testing 2016-11-23 16:05:52 +01:00
webpack.loaders.js Serve font locally 2016-11-23 21:02:34 +01:00
webpack.production.config.js Add multi os build 2016-11-03 13:39:17 +01:00

Maputnik Build Status Windows Build Status License

A free and open visual editor for the Mapbox GL styles targeted at developers and map designers. Creating your own custom map is easy with Maputnik.

Please support this project on Kickstarter.

Support this project and watch the Kickstarter campaign video

Reasons for building a Mapbox GL Style Editor

Mapbox GL is one of the biggest innovations the GIS world and is the first cross platform framework to display maps on the browser, mobile applications and the desktop. Maps are styled using a JSON style document with properties described in the Mapbox GL style specification. The style specification is adopted in more and more clients such as Open Layers 3 and therefore the missing piece in the puzzle is a style editor that is easy to use, free and open source!

In constrast to earlier approaches using CartoCSS the format is difficult to edit by hand but much more suitable for generating from an editor. As of today Mapbox GL styles are usually designed within the cloud based Mapbox Studio which is a great example how a style editor should look like.

The big problem is that Mapbox Studio is not open source and you have to upload your data sources to external servers and essentially are locked in the Mapbox ecosystem. By reusing existing proprietary base styles you legally tie your style for use with Mapbox services. It is difficult to use other data source like OSM2VectorTiles, Mapzen or Kartotherian or even your own custom vector tile sources.

This is why I think we should rally behind and build our own style editor for the Mapbox GL style specification! Help me get the funding together to take time of work and make this happen!

Features

  • Completely free and open source
  • Visual interface for designing maps
  • Immediate feedback (thanks to style diffs)
  • Edit layers
  • No vendor lock-in, no proprietary base styles
  • Easy to deploy as single HTML file

Demo showing interactive feedback

Roadmap

  • Layer editing history (it is a mess right now)
  • Add new layers
  • Support all layer types
  • Choose sources
  • Filter data from sources
  • Support zoom level specific values
  • Faster map feedback with custom diff algorithm
  • Tests for React components
  • Make it prettier

Develop

Maputnik is written in ES6 and is using React, Immutable.js and Mapbox GL JS.

We ensure building and developing Maputnik works with

  • Linux, OSX and Windows
  • Node >4

Install the deps, start the dev server and open the web browser on http://localhost:8888/.

# install dependencies
npm install
# start dev server
npm start

Build a production package for distribution.

npm run build

Lint the JavaScript code.

# install lint dependencies
npm install --save-dev eslint eslint-plugin-react
# run linter
npm run lint

Docker

Start a container using the official Docker image.

docker run --name maputnik -p 8888:8888 -d maputnik/editor

Stop the container

docker stop maputnik

Sponsors

This project would not be possible without commercial and individual sponsors.

Gold

Wemap

Terranodo

Silver

Klokan Technologies Dreipol

Individuals

Influential Stakeholder

  • Alan McConchie
  • Odi
  • Mats Norén
  • Uli geOps
  • Helge Fahrnberger Kirusanth Poopalasingam

Stakeholder

  • Brian Flood
  • Vasile Coțovanu
  • Andreas Kalkbrenner
  • Christian Mäder
  • Gregor Wassmann
  • Lee Armstrong
  • Rafel
  • Jon Burgess
  • Lukas Lehmann
  • Joachim Ungar
  • Alois Ackermann
  • Zsolt Ero
  • Jordan Meek

Supporter

  • Sina Martinelli
  • Nicholas Doiron
  • Neil Cawse
  • Urs42
  • Benedikt Groß
  • Manuel Roth
  • Janko Mihelić
  • Moritz Stefaner
  • Sebastian Ahoi
  • Juerg Uhlmann
  • Tom Wider
  • Nadia Panchaud
  • Oliver Snowden
  • Stephan Heuel
  • Tobin Bradley
  • Adrian Herzog
  • Antti Lehto
  • Pascal Mages
  • Marc Gehling
  • Imre Samu
  • Lauri K.
  • Visahavel Parthasarathy
  • Christophe Waterlot-Buisine
  • Max Galka
  • ubahnverleih
  • Wouter van Dam
  • Jakob Lobensteiner
  • Samuel Kurath
  • Brian Bancroft

License

Maputnik is licensed under MIT and is Copyright (c) Lukas Martinelli and contributors.

Disclaimer This project is not affiliated with Mapbox or Mapbox Studio. It is a free independent style editor for the open source technology in the Mapbox GL ecosystem. As contributor please take extra care of not violating any Mapbox trademarks. Do not get inspired by Mapbox Studio and make your own decisions for a good style editor in order to avoid future copyright problems like in OSM2VectorTiles.