mapbox-gl-js
mapbox-gl-js copied to clipboard
MapboxGL freezes (crashes) when changing coordinates
MapboxGL freezes (crashes) when changing coordinates or city via Sensors developer tools (Chrome)
I checked both on the map in the official documentation, and on many sites where Mapbox is used. The problem is global
Play steps:
- Open the site with the Mabox map through the Chrome browser
- Open Developer Tools
- Open the "Sensors" tab
- Change the coordinates (or the city itself) through "Sensors"
Actual Result: Site completely freezes, including non-map related elements
Hi, I haven't been able to reproduce this. What version of Chrome are you using?
And just to confirm, you've only seen this triggered by devtools?
Hi, Chrome version 106.0.5249.103 Yes, I only checked through the devtool
The problem is being investigated. I also checked Google Maps. This problem only occurs if you stay at your original location and then switch to another one. It happened in both mapbox and google maps as well. If you choose a fake location before clicking on the "locate me" button and then choose another location, it will work. Here's a link you can try: https://docs.mapbox.com/mapbox-gl-js/example/locate-user/