mapbox-gl-js
mapbox-gl-js copied to clipboard
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
Fixes a regression introduced in https://github.com/mapbox/mapbox-gl-js/pull/12039 (Specifically commit https://github.com/mapbox/mapbox-gl-js/pull/12039/commits/7aa71e9af52971ffab762c4bcdca4fdac146963d), where the globe (without terrain and at low zoom) shows up blank on Android devices. Tested in Chrome and Firefox. Before:...
Introduced by this optimization: 7aa71e9af52971ffab762c4bcdca4fdac146963d, which changed terrain uniforms to only be added to shaders when terrain is enabled (previously they were also added with globe but no terrain.) One...
**mapbox-gl-js version**: 2.9.0 ### Question `case` fallback value works well for `==` condition, but not `>=` if property is not set: https://observablehq.com/@mourner/mapbox-gl-expression-playground `null` instead of `#fallback`: but it works for...
We render a map on a slide that can be landscape or portrait. For portrait mode we don't have specific css but for landscape mode we add `transform: rotate(-90deg) translateX(X)...
## Motivation It would be very useful to have an orthographic projection rather than only a perspective one available. This would allow us to present the Mapbox 3D map view,...
**mapbox-gl-js version**: 2.9.2 **browser**: any ### Steps to Trigger Behavior 1. Initialize a map with `lambertConformalConic` projection and `parallels: [-90, -90]` ``` new mapboxgl.Map({ container, style: "mapbox://styles/mapbox/light-v9", center: [0, 0],...
This reverts commit 7aa71e9af52971ffab762c4bcdca4fdac146963d. Fixes a regression introduced in https://github.com/mapbox/mapbox-gl-js/pull/12039 where the globe (without terrain and at low zoom) shows up blank on Android devices. Tested in Chrome and Firefox....
_From @lucaswoj on August 21, 2015 19:8_ It would be useful to support gradient-colored lines, fills, and backgrounds. What would the stylesheet syntax look like? How would this work with...
This is a POC to enable immediate rendering for custom layer when globe view is enabled. We can use this PR as a discussion panel to decide what needs to...
This pull request fixes the flickering issue between tiles (https://github.com/mapbox/mapbox-gl-js/issues/11858) by extruding vertices of globe tiles slightly towards the neighbouring tiles. Based on empirical testing I found `0.5` pixels to...