mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
feat: Add support for offline vector maps using MBTiles
- Introduced new MapLayerType for vector MBTiles. - Enhanced MapLayer class to handle vector-specific properties. - Implemented MBTilesService for managing MBTiles files, including import and deletion functionalities. - Updated MapManagementScreen to allow importing and managing MBTiles files. - Added UI components for displaying and interacting with MBTiles layers. - Integrated vector tile rendering in MapTab, supporting dynamic theme loading. - Updated pubspec.yaml to include necessary dependencies for MBTiles and vector tiles.
This commit is contained in:
11
pubspec.yaml
11
pubspec.yaml
@@ -53,6 +53,16 @@ dependencies:
|
||||
# Offline tile caching
|
||||
flutter_map_tile_caching: ^10.1.1
|
||||
|
||||
# Vector map tiles
|
||||
vector_map_tiles: ^9.0.0-beta.8
|
||||
vector_map_tiles_mbtiles:
|
||||
git:
|
||||
url: https://github.com/josxha/flutter_map_plugins.git
|
||||
path: vector_map_tiles_mbtiles
|
||||
vector_tile_renderer: ^6.0.0
|
||||
mbtiles: ^0.4.0
|
||||
http: ^1.2.0
|
||||
|
||||
# Permissions
|
||||
permission_handler: ^12.0.1
|
||||
|
||||
@@ -63,6 +73,7 @@ dependencies:
|
||||
# File handling
|
||||
share_plus: ^12.0.0
|
||||
path_provider: ^2.1.5
|
||||
file_picker: ^8.0.0
|
||||
|
||||
# Persistent storage
|
||||
shared_preferences: ^2.3.3
|
||||
|
||||
Reference in New Issue
Block a user