map updated to 6

This commit is contained in:
2023-12-06 11:16:17 +05:30
parent 8d1c84d9fb
commit fa0587178f
19 changed files with 631 additions and 596 deletions

View File

@ -126,19 +126,11 @@ class _GpsPageState extends State<GpsPage> {
MarkerLayer(
markers: gpsData.map((i) {
return Marker(
anchorPos: AnchorPos.exactly(Anchor(108.0, 18.0)),
height: 32.0,
width: 120.0,
point: LatLng(i.lat, i.lon),
builder: (ctx) {
return getMarkerShape(i);
// return Container(
// width: 40,
// height: 40,
// color: Colors.orange,
// );
},
);
alignment: Alignment.topCenter,
height: 32.0,
width: 120.0,
point: LatLng(i.lat, i.lon),
child: getMarkerShape(i));
}).toList(),
)
],