diff options
author | Konstantin Käfer <github@kkaefer.com> | 2014-01-08 12:13:46 +0100 |
---|---|---|
committer | Konstantin Käfer <github@kkaefer.com> | 2014-01-08 12:13:46 +0100 |
commit | 7253f808c6eda60fc76547faf165b329a1fd99bc (patch) | |
tree | 9c11f99be4eec0eb309bbce2602f4fe7448ef0c4 /README.md | |
parent | 4f8556a6b80c41df8f8842a36ce13274c27b9ceb (diff) | |
download | qtlocation-mapboxgl-7253f808c6eda60fc76547faf165b329a1fd99bc.tar.gz |
add readme info about protobuf styles
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -28,3 +28,17 @@ In `system/include/GL/glfw.h`, replace the wheel callback typedef with ```c typedef void (GLFWCALL * GLFWmousewheelfun)(float); ``` + + + +# 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. |