maplibre / maplibre-gl-js

MapLibre GL JS - Interactive vector tile maps in the browser
https://maplibre.org/maplibre-gl-js/docs/
Other
6.73k stars 720 forks source link

Cannot read properties of undefined (reading 'transform') #4953

Open catdevnull opened 3 weeks ago

catdevnull commented 3 weeks ago

I'm getting this error on my app's Sentry:

TypeError: Cannot read properties of undefined (reading 'transform')
  at L.MaplibreGL_transformGL (../../../../node_modules/@maplibre/maplibre-gl-leaflet/leaflet-maplibre-gl.js:202:25)
  at L.MaplibreGL_update (../../../../node_modules/@maplibre/maplibre-gl-leaflet/leaflet-maplibre-gl.js:176:18)
  at wrapperFn (../../../../node_modules/leaflet/dist/leaflet-src.js:100:9)
  at Events.fire (../../../../node_modules/leaflet/dist/leaflet-src.js:606:11)
  at Map._onPanTransitionStep (../../../../node_modules/leaflet/dist/leaflet-src.js:4708:10)
...
(8 additional frame(s) were not displayed)

This seems to be similar to https://github.com/mapbox/mapbox-gl-js/issues/10402, but seemingly not the same (MapLibre doesn't have _occlusionTimer)

HarelM commented 3 weeks ago

From the call stack it looks like an issue with maplibre-gl-leaflet, I propose to open an issue there...