> For the complete documentation index, see [llms.txt](https://docs.fleaflet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fleaflet.dev/v3/migration/to-v2.0.0.md).

# To v2.0.0

This update brings major breaking changes. Please refer to the sections below for information on how to fix problems you may encounter.

<details>

<summary>Deprecated <code>NonCachingNetworkTileProvider</code> in favour of <code>NetworkNoRetryTileProvider</code></summary>

The old `TileProvider` was deprecated due to the misleading name and internal refactoring.

The provider did indeed provide some basic, unreliable, caching, and therefore the old name was incorrect. Additionally, other providers used a similar internal implementation, which provided the same caching, but did not also include 'NonCaching' in the name.&#x20;

To fix warnings, change all references to the new provider. No functionality will have been lost in this transfer.

*This deprecated API will be removed in the next minor update.*

</details>

<details>

<summary><code>TileProviders</code> are no longer constant (<code>const</code>)</summary>

Due to internal refactoring, and the addition of the headers options, all built-in providers are no longer applicable to have the prefix keyword `const`.

To fix errors, remove the `const` keywords from the necessary locations.

</details>

<details>

<summary><code>updateInterval</code> and <code>tileFadeInDuration</code> are now <code>Duration</code>s </summary>

Previously, these parameters within the `TileLayerOptions` constructor were specified in an `int`eger number of milliseconds.

To fix errors, convert the millisecond time into a `Duration` object.

</details>

Additionally, you should implement [Recommended Options](/v3/usage/layers/tile-layer/recommended-options.md#package-name-useragentpackagename)as soon as possible, to prevent potential future blocking.

There are other changes, which can be seen in the full [CHANGELOG](https://pub.dev/packages/flutter_map/changelog).
