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

update: remove print

parent 10f5e549
No related branches found
No related tags found
No related merge requests found
......@@ -66,12 +66,9 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
setState(() {
selectedMarker = markerTemplate;
});
// NB: temporary print
print('Icon tapped: ${selectedMarker?.size}');
},
child: Image.asset(
'assets/icons/circle-red.png',
// Path to your custom icon asset
color: markerTemplate.color,
width: markerTemplate.size,
height: markerTemplate.size,
......@@ -104,7 +101,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
child: GestureDetector(
onTap: () {
setState(() {
selectedMarker = null; // Clear the selected marker
selectedMarker = null;
});
},
child: const Icon(Icons.close),
......@@ -137,11 +134,11 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
style: titleStyle,
),
Text(
'Latitude: ${selectedMarker?.geoData.latitude}',
'Safety level: ${selectedMarker?.geoData.safetyLevel}',
style: regTextStyle,
),
Text(
'Longitude: ${selectedMarker?.geoData.longitude}',
'Location: (${selectedMarker?.geoData.latitude},${selectedMarker?.geoData.longitude})',
style: regTextStyle,
),
const SizedBox(height: contPadding),
......
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