Open smeyer-p2er opened 4 months ago
I'm facing the issue following issue:
null is not an object (evaluating 'this._map.containerPointToLayerPoint')
as seen in the original mapbox-package (https://github.com/mapbox/mapbox-gl-leaflet/blob/master/leaflet-mapbox-gl.js) on: https://github.com/mapbox/mapbox-gl-leaflet/blob/df9c10ccf4fe92238f97ea0d64d8366ec709d5d3/leaflet-mapbox-gl.js#L159-L1
the _update method will return, if this._map is not null.
in the current release of https://github.com/maplibre/maplibre-gl-leaflet/blob/0dc10160e353851b59a1800e3876a57bdcefcf31/leaflet-maplibre-gl.js#L158
this part is missing if (!this._map) { return; }
if (!this._map) { return; }
Resolved in version 0.0.22 from https://github.com/maplibre/maplibre-gl-leaflet/commit/c7ba89ca993ef5987390220680dbd93b47de6a93
I'm facing the issue following issue:
null is not an object (evaluating 'this._map.containerPointToLayerPoint')
as seen in the original mapbox-package (https://github.com/mapbox/mapbox-gl-leaflet/blob/master/leaflet-mapbox-gl.js) on: https://github.com/mapbox/mapbox-gl-leaflet/blob/df9c10ccf4fe92238f97ea0d64d8366ec709d5d3/leaflet-mapbox-gl.js#L159-L1
the _update method will return, if this._map is not null.
in the current release of https://github.com/maplibre/maplibre-gl-leaflet/blob/0dc10160e353851b59a1800e3876a57bdcefcf31/leaflet-maplibre-gl.js#L158
this part is missing
if (!this._map) { return; }