setMapType

fun setMapType(mapType: Int)(source)

Sets the map type with API key handling.

If the requested map type requires an API key that is not configured:

  • Falls back to STANDARD tile source

  • Creates an overlay indicating the missing API key

  • The map remains interactive (touch events pass through)

Parameters

mapType

The MapType constant