I have a set of different map types (styles). As you can see in the simplified example [1], I try to switch the map types with an onClick event. This works great for the default - by google.maps provided - styles. But when I try to switch to my custom style, I have a delay of ~2-3 seconds (local environment) and then get a completely grey map. I know that the map style itself works (not the same as in the linked example), because it's my initial map style. So only the switch back to my custom style is not working. Sadly I get nothing in the console and don't know how I could debug this.
Any help is highly appreciated.
Thanks in advance!