Skip to content
Snippets Groups Projects
Commit 00a64ada authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

fix: marker selection + text update

parent 809ddda1
No related branches found
No related tags found
No related merge requests found
......@@ -14,9 +14,10 @@ class MapContainerWidget extends StatefulWidget {
class _MapContainerWidgetState extends State<MapContainerWidget> {
MarkerTemplate? selectedMarker;
@override
Widget build(BuildContext context) {
MarkerTemplate? selectedMarker;
double screenWidth = MediaQuery.of(context).size.width;
double boxWidth = 0.9;
double boxHeight = 1.5;
......@@ -96,7 +97,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
style: TextStyle(fontSize: 30, color: Colors.black),
),
Text(
'Latitude: ${selectedMarker?.size}',
'Latitude: ${selectedMarker?.geoData.latitude}',
style: const TextStyle(fontSize: 20, color: Colors.black),
),
Text(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment