build: Update flutter_map package

This commit is contained in:
krille-chan 2024-04-07 15:36:59 +02:00
commit 7627f7b8ed
No known key found for this signature in database
3 changed files with 145 additions and 17 deletions

View file

@ -32,8 +32,8 @@ class MapBubble extends StatelessWidget {
children: <Widget>[
FlutterMap(
options: MapOptions(
center: LatLng(latitude, longitude),
zoom: zoom,
initialCenter: LatLng(latitude, longitude),
initialZoom: zoom,
),
children: [
TileLayer(
@ -50,7 +50,7 @@ class MapBubble extends StatelessWidget {
point: LatLng(latitude, longitude),
width: 30,
height: 30,
builder: (_) => Transform.translate(
child: Transform.translate(
// No idea why the offset has to be like this, instead of -15
// It has been determined by trying out, though, that this yields
// the tip of the location pin to be static when zooming.