-
-
Notifications
You must be signed in to change notification settings - Fork 404
Maputnik CLI
pathmapper edited this page Feb 9, 2019
·
7 revisions
The Maputnik CLI is a Golang based cross platform executable. This binary packages up the JavaScript and CSS and embeds it in the program for easy distribution. It also allows exposing a local style file and work on it both in Maputnik and with your favorite editor.
You can download a single binary for Linux, OSX or Windows from the latest releases of maputnik/editor.
Simply start up a web server and access the Maputnik editor GUI at localhost:8000
.
maputnik
Expose a local style file to Maputnik allowing the web based editor to save to the local filesystem.
maputnik --file basic-v9.json
Watch the local style for changes and inform the editor via web socket. This makes it possible to edit the style with a local text editor and still use Maputnik.
maputnik --watch --file basic-v9.json
📹 https://youtu.be/vCFsrwocE9s
- Using the Maputnik CLI with OpenMapTiles: http://openmaptiles.org/docs/style/maputnik/