diff --git a/.gitignore b/.gitignore index 2b377da..8276f97 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ wien_talks/wien_talks_flutter/pubspec.lock wien_talks/wien_talks_flutter/android/app/google-services.json +*.pptx# diff --git a/wien_talks/FunMap_Presentation.pptx b/wien_talks/FunMap_Presentation.pptx new file mode 100644 index 0000000..96ac4e9 Binary files /dev/null and b/wien_talks/FunMap_Presentation.pptx differ diff --git a/wien_talks/wien_talks_flutter/lib/get_location_widget.dart b/wien_talks/wien_talks_flutter/lib/get_location_widget.dart index 3c190e2..9fe8008 100644 --- a/wien_talks/wien_talks_flutter/lib/get_location_widget.dart +++ b/wien_talks/wien_talks_flutter/lib/get_location_widget.dart @@ -25,7 +25,7 @@ class _GetLocationWidgetState extends State { switch (snapshot.connectionState) { case ConnectionState.none: case ConnectionState.waiting: - return CircularProgressIndicator(); + return Center(child: CircularProgressIndicator()); case ConnectionState.active: case ConnectionState.done: { diff --git a/wien_talks/wien_talks_flutter/lib/location_mgr.dart b/wien_talks/wien_talks_flutter/lib/location_mgr.dart index 451870c..0893c5c 100644 --- a/wien_talks/wien_talks_flutter/lib/location_mgr.dart +++ b/wien_talks/wien_talks_flutter/lib/location_mgr.dart @@ -1,5 +1,6 @@ import 'dart:async'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:location/location.dart'; import 'package:mapsforge_flutter/core.dart'; @@ -34,7 +35,7 @@ class LocationMgr { final SymbolCache symbolCache = FileSymbolCache(); - final JobRenderer jobRenderer = MapOnlineRenderer(); + final JobRenderer jobRenderer = kIsWeb ? MapOnlineRendererWeb() : MapOnlineRenderer(); final MarkerByItemDataStore markerDataStore = MarkerByItemDataStore();