Comments (2)
Technically, the map is never idle when you pass
repaint: true
to options. Can you add more context on why you need to set that option totrue
? We exposed this option in v3.4, that's why it "works" in older versions (because this option has no effect).
This is a good point, indeed the repaint: true
is causing the issue starting 3.4.
The repaint: true
in our case comes from a long time ago, when our mapbox-gl version was 0.23.0. It seems the repaint
property back then was used for something different (this PR is one of the few things I found from that time) and we probably used it to work around some issues with updating data on existing map instance.
With the new semantics, it might be safer to name the property with a distinct/unique name (debugContinuousRepaint
), but our ancient leftover is probably not a strong enough trigger for this, so just a minor suggestion.
In any case, we will remove the repaint: true
which is all that is needed for our case, thanks for the quick help!
from mapbox-gl-js.
Technically, the map is never idle when you pass repaint: true
to options. Can you add more context on why you need to set that option to true
? We exposed this option in v3.4, that's why it "works" in older versions (because this option has no effect).
from mapbox-gl-js.
Related Issues (20)
- GeoJSONSource In dynamic mode, the new element is rendered in the wrong order HOT 1
- styleimagemissing event missing id property HOT 2
- the geojson source with dynamic property, when the camera is zooming ,symbol layer elements disappear and huge memory consumed HOT 9
- Intersection doesn't seem to work consistently HOT 1
- Problems displaying overlapping portions of two fill-extrusion layers of the same height and different colors
- Dynamic hillshade with terrain doesn't update lighting smoothly HOT 3
- `Map#getLayer` returns `undefined` for the `custom` layer type HOT 5
- Retain Globe Curvature at higher zoom levels and/or when camera tilted
- Layer with id "jsx-layer-0" already exists on this map HOT 2
- `map.setTerrain` makes vector tiles disappear
- updateData throws exception when called on source with dynamic=true and cluster=true HOT 2
- Custom Layer has incorrect hierarchy in terrain or globe projection HOT 2
- API reference page crash when viewing method of `Map` HOT 5
- [3.5.2] setConfigProperty rerender HOT 2
- "mapLayer.layout.get()" is no longer a function HOT 1
- map.setConfigProperty('basemap', 'show3dObjects', false) in standard style doesn't work anymore in 3.6.0 HOT 2
- querySourceFeatures returns features outside the viewbox HOT 2
- setTerrain does not allow null, when it should
- Map Jumps on setFreeCameraOptions if altitude changes from above ~10k to below
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-gl-js.