Topic: Change map type
I want to offer the possibility to the user to select the provider and type of map he wants.
I'm using this example :
So far so good, i'm dynamically loading all the providers in a dropdown menu, with a second dropdown just for the type of map.
It's working well with several providers, but not all of them. The reason is, i believe, that some of the providers need an api key and other don't.
I looked into the doc:
but couldn't find a way to check if a key is needed / to provide the key. Could you point me a way to achieve that ?