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
noDefaultControls and noDefaultInteractions are not expected to be support updating as they are related to the map initialization, but maxZoom and minZoom should work and as far as I can see - they do work. I have added a special unit test for updating those.
I've noticed many other properties are not updating dynamically like on the
RMap
component:noDefaultControls
,noDefaultInteractions
,maxZoom
.The docs only state a few specific props that don't update, but the above examples don't...
I see this is because the
RMap
constructor creates anew Map
, and never reinitializes it after props change:rlayers/src/RMap.tsx
Line 107 in e81efc4
Originally posted by @TrySpace in #85 (comment)
The text was updated successfully, but these errors were encountered: