It seems like after you switch from a map to the list and back to the map, if we just re-use the existing map with a new DOM node it's not working properly. This code creates a new Map and View each time. This may be overkilll but seems to fix the problem - @odoe what do you think?
Fixes (or workaround for?) #28.
It seems like after you switch from a map to the list and back to the map, if we just re-use the existing map with a new DOM node it's not working properly. This code creates a new Map and View each time. This may be overkilll but seems to fix the problem - @odoe what do you think?