dispose method
Called when the TileLayer is disposed
When disposing resources, ensure that they are not currently being used by tiles in progress.
Implementation
@override
Future<void> dispose() async {
if (_isInternallyCreatedClient) _httpClient.close();
super.dispose();
}