Skip to content
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
JavaScript HTML GLSL Other
Branch: master
Clone or download
astojilj and ansis Fix map size in benchmarks (#9049)
display: none on Chrome (Chrome 78.0.3904.108 (Official Build) (64-bit) on macos), results with container clientWidth and clientHeight equal to 0.
This led to and container dimension [400 x 300](https://github.com/mapbox/mapbox-gl-js/blob/3c36a67716d7c8ad8d69b15f7e5fd19b72e7a7ff/src/ui/map.js#L1922) instead of using specified size in e.g. bench/benchmark/layers.js (1024x768)
Latest commit c82a0b8 Dec 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Minify CSS and report size for PRs (#8881) Oct 21, 2019
.github Add changelog instructions to PULL_REQUEST_TEMPLATE.md (#9023) Nov 27, 2019
bench Fix map size in benchmarks (#9049) Dec 6, 2019
build An option to use a feature property as ID for feature state (#8987) Dec 2, 2019
cloudformation Collect GL performance stats (#8645) Sep 10, 2019
debug An option to use a feature property as ID for feature state (#8987) Dec 2, 2019
flow-typed remove magic path resolution in unit tests Jun 11, 2019
rollup Fix and refactor the benchmark suite (#8066) Mar 23, 2019
src add placement benchmark (#9077) Dec 5, 2019
test check that latest version appears in changelog (#9071) Dec 5, 2019
vendor/docs-page-shell merge publisher-production into master (#8519) Jul 19, 2019
.editorconfig EditorConfig updates (#3537) [ckip ci] Nov 4, 2016
.eslintrc Add eslint config for JSDoc (#8961) Nov 15, 2019
.flowconfig update Flow ignores for faster start (#8337) Jun 11, 2019
.gitignore Add Popup methods to manipulate container class names (#8759) Oct 30, 2019
.stylelintrc Minify SVG images and add rules for High Contrast mode on Windows (#8874 Oct 31, 2019
.topissuesrc Update high priority label Aug 10, 2018
ARCHITECTURE.md "element" → "index" Aug 24, 2017
CHANGELOG.md add changelogs from v1.6.0 (#9070) Dec 5, 2019
CODE-OF-CONDUCT.md Add CODE-OF-CONDUCT.md (#5015) Jul 21, 2017
CONTRIBUTING.md Update CONTRIBUTING.md to point to new docs repo (#8629) Aug 14, 2019
LICENSE.txt Ditch gl-matrix fork in favor of the original package (#6751) May 29, 2018
README.md fix images in the readme (#8641) Aug 15, 2019
package.json bump version to 1.7.0-dev (#9038) Nov 28, 2019
postcss.config.js Minify SVG images and add rules for High Contrast mode on Windows (#8874 Oct 31, 2019
rollup.config.csp.js Introduce static worker version of the bundle for strict CSP environm… Mar 21, 2019
rollup.config.js Introduce static worker version of the bundle for strict CSP environm… Mar 21, 2019
yarn.lock Disable using transferrables for ArrayBuffers in Safari(#9003) Nov 21, 2019

README.md

Mapbox

Mapbox GL JS is a JavaScript library for interactive, customizable vector maps on the web. It takes map styles that conform to the Mapbox Style Specification, applies them to vector tiles that conform to the Mapbox Vector Tile Specification, and renders them using WebGL.

Mapbox GL JS is part of the cross-platform Mapbox GL ecosystem, which also includes compatible native SDKs for applications on Android, iOS, macOS, Qt, and React Native. Mapbox provides building blocks to add location features like maps, search, and navigation into any experience you create. To get started with GL JS or any of our other building blocks, sign up for a Mapbox account.

In addition to GL JS, this repository contains code, issues, and test fixtures that are common to both GL JS and the native SDKs. For code and issues specific to the native SDKs, see the mapbox/mapbox-gl-native repository.

Mapbox GL gallery

License

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

FOSSA Status

You can’t perform that action at this time.