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

upate: visual, choro map

parent 4d7fbddc
No related branches found
No related tags found
1 merge request!3Choropleth map implementation
......@@ -59,11 +59,15 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
borderRadius: BorderRadius.circular(20),
child: Stack( // Stack of quick view, map layer, satellite layer, and buttons
children: [
SizedBox(
/*SizedBox(
width: screenWidth * boxWidth,
height: screenWidth * boxHeight,
child: ChoroplethMap(relation: widget.relation),
/*FlutterMap(
child: Stack(
children: [
SatLayer(markerList: widget.markerList), // Satellite layer
Visibility(
visible: satLayer, // Only show layer if satellite button is toggled on
child: FlutterMap(
options: MapOptions(
center: mapCenter,
zoom: 9.0,
......@@ -97,21 +101,26 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
}).toList(),
),
],
),
),
],
),
),*/
SizedBox( // Colored box behind map
width: screenWidth * boxWidth,
height: screenWidth * boxHeight,
child: Container(
color: const Color(0x883366ff)
),
/*SizedBox(
),
SizedBox( // Lake map
width: screenWidth * boxWidth,
height: screenWidth * boxHeight,
child: Stack(
children: [
SatLayer(markerList: widget.markerList), // Satellite layer
Visibility(
visible: satLayer, // Only show layer if satellite button is toggled on
child: SatLayer(markerList: widget.markerList),
child: Padding(
padding: const EdgeInsets.all(15.0), // Padding around map
child: ChoroplethMap(relation: widget.relation),
),
],
),
),*/
Positioned( // Quick view box layered over map
bottom: 10,
right: 10,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment