Did you know that mapbox-gl-native supports high resolution exports? It's true. Follow these steps to enable.
- Open the console.
- Check out mapbox gl native with
git clone [email protected]:mapbox/mapbox-gl-native.git
- Run
make render
which kicks off the build process for a CLI tool for making images. Aftermake render
succeeds, the CLI tool will be located at./build/macos/Debug/mbgl-render
. - Type
./build/macos/Debug/mbgl-render
in the console. If you press return without any arguments, you'll see help output:
Allowed options:
-s [ --style ] json Map stylesheet