Description
The Map plugin initializes all map configurations that are truthy and this includes also configuration like this one:
{
"eventListeners": {
"click": []
},
"mousePointer": "pointer"
}
For example the eventListeners property is persisted when we reset a map configuration.
It would be better to improve the if statement in the Map.jsx plugin to ensure only valid map configurations are initializing the component.
We could also remove the canRender state not used anymore
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information
Description
The Map plugin initializes all map configurations that are truthy and this includes also configuration like this one:
For example the
eventListenersproperty is persisted when we reset a map configuration.It would be better to improve the if statement in the Map.jsx plugin to ensure only valid map configurations are initializing the component.
We could also remove the canRender state not used anymore
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information