Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
628 changes: 0 additions & 628 deletions .idea/libraries/Dart_Packages.xml

This file was deleted.

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,16 @@ Widget build(ctx) {
```

Make sure PanBoundaries are within offline map boundary to stop missing asset errors.<br>
See the `flutter_map_example/` folder for a working example.

Note that there is also `FileTileProvider()`, which you can use to load tiles from the filesystem.

Note that there is also next classes for offline tiles:
* `FileTileProvider`, which you can use to load tiles from the filesystem;
* `StorageCachingTileProvider`, caches all browsing tiles in local db;
* `TileStorageCachingManager`, manages local tile db. This class
has easy static api for config db size, loading and preloading tiles.
`StorageCachingTileProvider` uses this class under the hood.

See the `flutter_map_example/` folder for a working examples.

## Plugins

Expand Down
2 changes: 2 additions & 0 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';

import './pages/animated_map_controller.dart';
import './pages/auto_cached_tiles.dart';
import './pages/circle.dart';
import './pages/custom_crs/custom_crs.dart';
import './pages/esri.dart';
Expand Down Expand Up @@ -50,6 +51,7 @@ class MyApp extends StatelessWidget {
OverlayImagePage.route: (context) => OverlayImagePage(),
WMSLayerPage.route: (context) => WMSLayerPage(),
CustomCrsPage.route: (context) => CustomCrsPage(),
AutoCachedTilesPage.route: (context) => AutoCachedTilesPage(),
},
);
}
Expand Down
Loading