Only Map needs to track this state, and it can simply be set when beginning to load a style and reset when finished.