Map: Minor tweaks
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
This commit is contained in:
parent
80f444260a
commit
cb02776650
2 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,7 @@ class _MapScreenState extends State<MapScreen> {
|
|||
debugPrint("Info for map: minLon $minLon, maxLon $maxLon");
|
||||
}
|
||||
} else {
|
||||
showShortToast(context, "No images with location found");
|
||||
showShortToast(context, "No images with location");
|
||||
}
|
||||
|
||||
setState(() {
|
||||
|
|
|
@ -64,6 +64,7 @@ class _MapViewState extends State<MapView> {
|
|||
options: MapOptions(
|
||||
minZoom: widget.minZoom,
|
||||
maxZoom: widget.maxZoom,
|
||||
enableMultiFingerGestureRace: true,
|
||||
onPositionChanged: (position, hasGesture) {
|
||||
if (position.bounds != null) {
|
||||
if (!_isDebouncing) {
|
||||
|
@ -85,6 +86,7 @@ class _MapViewState extends State<MapView> {
|
|||
TileLayerOptions(
|
||||
urlTemplate: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
||||
subdomains: ['a', 'b', 'c'],
|
||||
backgroundColor: Colors.transparent,
|
||||
),
|
||||
MarkerClusterLayerOptions(
|
||||
maxClusterRadius: 100,
|
||||
|
|
Loading…
Add table
Reference in a new issue