changeTileLayer method
this method used to change tiles of map. raster tiles are supported on all platforms; vector tile styles (via CustomTile.styleURL) are also supported on all platforms.
Implementation
Future<void> changeTileLayer({CustomTile? tileLayer}) async {
await osmBaseController.changeTileLayer(tileLayer: tileLayer);
}