You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-7Lines changed: 1 addition & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,10 @@ So before setting it to false you need to provide a google maps API key in the A
27
27
```dart
28
28
LocationMapOptions(
29
29
enableOpenMapsTileLayer: true,
30
-
tileProvider: CancellableNetworkTileProvider(),
30
+
tileProvider: NetworkTileProvider(),
31
31
)
32
32
```
33
33
34
-
When using the openmaps tilelayer from the flutter_maps package it is recommended to use the [CancellableNetworkTileProvider](https://pub.dev/packages/flutter_map_cancellable_tile_provider) especially on Web where performance is drastically improved. Because flutter_locations shouldn't depend on flutter_map_cancellable_tile_provider it is not included in the dependencies. You can add it to your pubspec.yaml file like this:
0 commit comments