Files
rog_app/lib/widgets/base_layer_widget.dart

22 lines
954 B
Dart
Raw Normal View History

2022-12-13 18:19:16 +05:30
// import 'package:flutter/material.dart';
// import 'package:flutter_map/flutter_map.dart';
2022-03-14 12:28:57 +05:30
2022-12-13 18:19:16 +05:30
// class BaseLayer extends StatelessWidget {
// const BaseLayer({Key? key}) : super(key: key);
2022-03-14 12:28:57 +05:30
2022-12-13 18:19:16 +05:30
// @override
// Widget build(BuildContext context) {
// return TileLayerWidget(
// options: TileLayerOptions(
// backgroundColor: Colors.transparent,
// urlTemplate: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
// //urlTemplate: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
// subdomains: ['a', 'b', 'c'],
// ),
// );
// }
// }
2022-07-25 19:56:32 +05:30
2022-12-13 18:19:16 +05:30
// // var Esri_WorldImagery = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
// // attribution: 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
// // });