go-spatial / go-mbgl

Go bindings for Mapbox GL Native
15 stars 1 forks source link
gis golang mapbox-gl raster

go-mbgl

go-mbgl aims to provide Go bindings for Mapbox GL native's C++ API.

WARNING: This project is under heavly development, and is not production ready.

WARNING: This will only work on Linux

This repository depends on git-lfs

Repoistory Layout

Development Env

Running the following commands should set up a working development environment


docker build -t mbgl .

docker run --rm -v "$(pwd)":/go/src/github.com/go-spatial/go-mbgl -it mbgl

In the docker image if you need to rebuil the c archive files, you can use the mbgl/c/install.sh bash script to rebuild them.

Build snap commandline utility.


cd cmd/snap

go build