VirtualMapState
should not be in VirtualMap
if the map is empty
#19223
Milestone
VirtualMapState
should not be in VirtualMap
if the map is empty
#19223
In the current implementation of Virtual Mega Map there is always an instance of
VirtualMapState
which contains metadata for the map. There are two issues with this approach:isEmpty
method lost its meaningVirtualMapState
is an element of the map, it doesn't have the business meaning like other elements in the map and, therefore, should be hidden as much as possible.A proposed solution is to hide this element when the map is empty
isEmpty
should returntrue
andsize()
should return 0The text was updated successfully, but these errors were encountered: