Layer class uses a deprecated method. So every time I get warning message in the console:
luma.gl: Model.updateModuleSettings is deprecated. Use Model.shaderInputs.setProps()
layer.js:
// TODO deprecate in favour of setShaderModuleProps
/** Update shader module parameters */
setModuleParameters(moduleParameters) {
for (const model of this.getModels()) {
model.updateModuleSettings(moduleParameters);
}
}
I use MapboxOverlay to display my layers on a MapboxGL map. When I pass my MapboxOverlay instance in map.addControl method as an argument I start to receive this warning message in the browser's console. But as I see it's a Layer class problem. Can you please fix this in the new update? Thank you
Flavors
[ ] Script tag
[ ] React
[ ] Python/Jupyter notebook
[X] MapboxOverlay
[ ] GoogleMapsOverlay
[ ] CartoLayer
[ ] ArcGIS
Expected Behavior
There is no warning message in the console
Steps to Reproduce
Create a Map instance from mapboxgl library
Create a MapboxOverlay instance and pass some deck.gl layers(I use TileLayer with GeoJsonLayer as sub layer)
Call addControl method of Map instance and pass created MapboxOverlay instance
Description
Layer
class uses a deprecated method. So every time I get warning message in the console:layer.js:
I use
MapboxOverlay
to display my layers on aMapboxGL
map. When I pass myMapboxOverlay
instance inmap.addControl
method as an argument I start to receive this warning message in the browser's console. But as I see it's aLayer
class problem. Can you please fix this in the new update? Thank youFlavors
Expected Behavior
There is no warning message in the console
Steps to Reproduce
Map
instance frommapboxgl
libraryMapboxOverlay
instance and pass some deck.gl layers(I useTileLayer
withGeoJsonLayer
as sub layer)addControl
method ofMap
instance and pass createdMapboxOverlay
instanceEnvironment
Logs