Files
MapLibreParticleLab/README.md
2014-01-27 12:58:36 -05:00

817 B

An OpenGL renderer for Mapbox vector tiles, implemented in C++, targeting iOS & OSX.

Build instructions

Mac OS X

You may need to install glfw3:

brew install homebrew/versions/glfw3
mkdir xcode
cd xcode
cmake .. -G Xcode

Then open the xcode project and build.

Style protobuf

We're encoding the styling information as a protocol buffer, according to proto/style.proto. The reason for doing so is that we don't have to ship with a JSON/yaml parser. To test the conversion script, run

bin/convert-style.js | protoc --decode=style proto/style.proto

You should see a nicely formatted hierarchical output of the converted style.

Usage

  • Press 'R' to reset the transform
  • Press 'N' to reset north