Reorder fires
This commit is contained in:
parent
9d9c81e410
commit
18aaf002a3
1 changed files with 3 additions and 3 deletions
|
|
@ -385,9 +385,6 @@ class _genericMapState extends State<genericMap> {
|
||||||
List<Marker> markers = [];
|
List<Marker> markers = [];
|
||||||
print('building markers: fires: ${fires.length} falsePos: ${falsePosList.length} industries: ${industries.length}, isNotif: ${isNotif} ');
|
print('building markers: fires: ${fires.length} falsePos: ${falsePosList.length} industries: ${industries.length}, isNotif: ${isNotif} ');
|
||||||
const calibrate = false; // useful when we change the fire icons size
|
const calibrate = false; // useful when we change the fire icons size
|
||||||
markers.add(FireMarker(
|
|
||||||
pos, isNotif ? FireMarkType.fire : FireMarkType.position));
|
|
||||||
if (calibrate) markers.add(FireMarker(pos, FireMarkType.pixel));
|
|
||||||
falsePosList.forEach((falsePos) {
|
falsePosList.forEach((falsePos) {
|
||||||
var coords = falsePos['geo']['coordinates'];
|
var coords = falsePos['geo']['coordinates'];
|
||||||
print('false pos: ${coords}');
|
print('false pos: ${coords}');
|
||||||
|
|
@ -408,6 +405,9 @@ class _genericMapState extends State<genericMap> {
|
||||||
FireMarker(loc, FireMarkType.fire, () => print('marker pressed')));
|
FireMarker(loc, FireMarkType.fire, () => print('marker pressed')));
|
||||||
markers.add(FireMarker(loc, FireMarkType.pixel));
|
markers.add(FireMarker(loc, FireMarkType.pixel));
|
||||||
});
|
});
|
||||||
|
markers.add(FireMarker(
|
||||||
|
pos, isNotif ? FireMarkType.fire : FireMarkType.position));
|
||||||
|
if (calibrate) markers.add(FireMarker(pos, FireMarkType.pixel));
|
||||||
return markers;
|
return markers;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue