This commit is contained in:
LilleBRG 2024-09-12 13:40:14 +02:00
parent 525ac2e938
commit 8b3da8ff6e

View File

@ -282,7 +282,6 @@ class _MyHomePageState extends State<MyHomePage> {
LatLngBounds bounds = _mapController.camera.visibleBounds; LatLngBounds bounds = _mapController.camera.visibleBounds;
_getOpenStreetMapData(LatLng(bounds.southWest.latitude, bounds.southWest.longitude),LatLng(bounds.northEast.latitude, bounds.northEast.longitude)); _getOpenStreetMapData(LatLng(bounds.southWest.latitude, bounds.southWest.longitude),LatLng(bounds.northEast.latitude, bounds.northEast.longitude));
} }
Future<void> _getOpenStreetMapData(LatLng southWest, LatLng northEast) async { Future<void> _getOpenStreetMapData(LatLng southWest, LatLng northEast) async {