Tile Providers
A TileProvider works with a TileLayer to supply tiles (usually images) when given tile coordinates.
Tile providers may support compatible caching providers (including built-in caching), or may implement caching themselves.
Tiles are usually dynamically requested from the network/Internet, using the default NetworkTileProvider. Tiles can also come from the app's assets, the filesystem, a container/bundle, or any other source.
NetworkTileProvider
This tile provider uses the TileLayer.urlTemplate to get the appropriate tile from the a network, usually the Internet.
For more information, check the API documentation.
Local Tile Providers
These tile providers use the urlTemplate to get the appropriate tile from the asset store of the application, or from a file on the users device, respectively.
AssetTileProvider
This tile providers uses the templateUrl to get the appropriate tile from the asset store of the application.
FileTileProvider
This tile providers uses the templateUrl to get the appropriate tile from the a path/directory/file on the user's device - either internal application storage or external storage.
Offline Mapping
Offline MappingLast updated
Was this helpful?