You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the my react-leaflet library from 1.7.0 to 3.0.5
In my project i am using HeatMapLayer extends from MapLayer. After updating i am getting this error 'Attempted import error: 'MapLayer' is not exported from 'react-leaflet'.
Below my code block here export default class HeatMapLayer extends MapLayer { createLeafletElement() { return null; } componentDidMount() {} ... }
What should i do ?
The text was updated successfully, but these errors were encountered:
MapLayer Not Found
Hi,
I updated the my react-leaflet library from 1.7.0 to 3.0.5
In my project i am using HeatMapLayer extends from MapLayer. After updating i am getting this error 'Attempted import error: 'MapLayer' is not exported from 'react-leaflet'.
Below my code block here
export default class HeatMapLayer extends MapLayer { createLeafletElement() { return null; } componentDidMount() {} ... }
What should i do ?
The text was updated successfully, but these errors were encountered: