Currently, the OLMapManager has accumulated lots of code that registers layers, interactions and ElementManagers to the map. This is not only messy but also stands against the idea of FeatureManagers managing everything that is relevant for specific to features.
Ideally I want OLMapManager to only
- Create and configure the Map
- Instantiate a collection of FeatureManagers and let them configure the map to their needs. They should add the layers, ElementManagers and interactions themselves.
Currently, the
OLMapManagerhas accumulated lots of code that registers layers, interactions and ElementManagers to the map. This is not only messy but also stands against the idea of FeatureManagers managing everything that is relevant for specific to features.Ideally I want
OLMapManagerto only