-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught RangeError: out of range source coordinates for DEM data, new in 2.4.0 #10927
Comments
Perhaps another clue: previously, this same demo script would trigger #10610 |
More information:
|
Bingo! I've created a small pen which recreates the issue: Draw a polyline with multiple segments with devtools open. The bug is related to the style applied to linestring vertices using circles with user defined properties. |
Possibly related? mapbox/mapbox-gl-draw#1063 |
I was able to fix this problem on my end as described below, but the fact that my (apparent?) bug surfaces as a totally unrelated error of "out of range source coordinates for DEM data" was super confusing. And I still have no idea why the change below fixes the exception. What I changed:
I guess this issue can be closed. |
Just a friendly reminder that this is still an issue with 2.7.0. Here's a codepen: Draw a polyline with the map at a 45 degree pitch. Out comes a steady stream of:
|
I'm guessing the origin of the bug is: mapbox/mapbox-gl-draw#1077 |
Just a friendly reminder that this is still an issue with mapbox-gl 2.10.0. Here's a codepen: Draw a polyline with the map at a 45 degree pitch. Zoom in and out and rotate the map for maybe a minute. Eventually, out comes a steady stream of:
|
Just a friendly reminder that this is still an issue with mapbox-gl 2.12 and mapbox-gl-draw 1.3.0. Here's a codepen: Draw a polyline with the map at a 45 degree pitch. Finish the polyline and then click anywhere except the polyline.
|
Hi @jaybo, I'm sorry for not getting back to you sooner. I can confirm the issue, and unfortunately, it's still present with the filter modes bugfix applied in GL Draw. |
mapbox-gl 3.7.0 mapbox-gl-draw 1.4.3 Not yet resolved |
mapbox-gl-js version: 2.4.0
browser: Chrome 92.0.4515.131, also happens on Edge and Safari
Steps to Trigger Behavior
Link to Demonstration
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: