mapbox/mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL

C++

4,456

14,329 commits

updated Jul 27, 2023

See the code

README

Mapbox GL Native

Circle CI build status Coverage Status

A C++ library that powers customizable vector maps in native applications on multiple platforms by taking stylesheets that conform to the Mapbox Style Specification, applying them to vector tiles that conform to the Mapbox Vector Tile Specification, and rendering them using OpenGL or Metal.

To embed interactive maps into a native application using a platform-specific language, install the Mapbox Maps SDK:

Mapbox GL JS is the WebGL-based counterpart to Mapbox GL Native that is designed for use on the Web.

Developing

We use CMake to build Mapbox GL Native for various platforms, including Linux, Android, iOS, macOS and Windows. The following command, executed from the root of this repository tree, will build Mapbox GL Native targeting your host architecture given that you have all the dependencies installed and run the example app.

$ git submodule update --init --recursive
$ cmake . -B build
$ cmake --build build
$ MAPBOX_ACCESS_TOKEN=my_access_token_here ./build/platform/glfw/mbgl-glfw

License

Mapbox GL Native is licensed under the 2-Clause BSD license. The licenses of its dependencies are tracked via FOSSA:

FOSSA Status

android
c-plus-plus
geojson
ios
java
macos
map
mapbox
mapbox-gl
maps
monorepo
nodejs
objective-c
objective-c-plus-plus
opengl
opengl-es
openstreetmap
qt
swift
vector-tiles

mapbox/mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL

C++

4,456

14,329 commits

updated Jul 27, 2023

See the code

README

Mapbox GL Native

Circle CI build status Coverage Status

A C++ library that powers customizable vector maps in native applications on multiple platforms by taking stylesheets that conform to the Mapbox Style Specification, applying them to vector tiles that conform to the Mapbox Vector Tile Specification, and rendering them using OpenGL or Metal.

To embed interactive maps into a native application using a platform-specific language, install the Mapbox Maps SDK:

Mapbox GL JS is the WebGL-based counterpart to Mapbox GL Native that is designed for use on the Web.

Developing

We use CMake to build Mapbox GL Native for various platforms, including Linux, Android, iOS, macOS and Windows. The following command, executed from the root of this repository tree, will build Mapbox GL Native targeting your host architecture given that you have all the dependencies installed and run the example app.

$ git submodule update --init --recursive
$ cmake . -B build
$ cmake --build build
$ MAPBOX_ACCESS_TOKEN=my_access_token_here ./build/platform/glfw/mbgl-glfw

License

Mapbox GL Native is licensed under the 2-Clause BSD license. The licenses of its dependencies are tracked via FOSSA:

FOSSA Status

android
c-plus-plus
geojson
ios
java
macos
map
mapbox
mapbox-gl
maps
monorepo
nodejs
objective-c
objective-c-plus-plus
opengl
opengl-es
openstreetmap
qt
swift
vector-tiles

Project health

Overall

4.2/10

Maintained

0/10

Code review

10/10
OpenSSF Scorecard

Latest release

5.0.2 · Oct 30, 2019

Releases this year

0

Significant stargazers

(top 24 of 27)

Behdad Esfahbod

2,273 followers · starred Oct 2016

Marc Foley

312 followers · starred May 2016

Jeff Huang

131 followers · starred May 2016

Mark McDonald

859 followers · starred Sep 2015