tileProvider property

TileProvider tileProvider
latefinal

Provider with which to load map tiles

The default is NetworkTileProvider which supports both IO and web platforms, with basic session-only caching. It uses a RetryClient backed by a standard Client to retry failed requests.

userAgentPackageName is a TileLayer parameter, which should be passed the application's correct package name, such as 'com.example.app'. See https://docs.fleaflet.dev/layers/tile-layer#useragentpackagename for more information.

For information about other prebuilt tile providers, see https://docs.fleaflet.dev/layers/tile-layer/tile-providers.

Implementation

late final TileProvider tileProvider;