When the map style changes, the datasetRegistry now has the mapStyle attached.
This means that we could auto trigger the layerAdapter's onMapStyleChanged at the point where the mapStyle is attached to the datasetRegistry and remove the direct dependency on the layerAdapter, requiring the mapStyle to be passed in to methods.
When the map style changes, the datasetRegistry now has the mapStyle attached.
This means that we could auto trigger the layerAdapter's onMapStyleChanged at the point where the mapStyle is attached to the datasetRegistry and remove the direct dependency on the layerAdapter, requiring the mapStyle to be passed in to methods.