| 12345678910111213141516171819202122 |
- import '../../flutter_map.dart';
- class Polyline {
- String lineId;
- List<LatLng> points;
- PolylineType lineType = PolylineType.normal;
- //自定义线颜色
- String? color;
- //自定义线宽度 单位以及原生计算为准,Android为dp
- double? width;
- Polyline(
- {required this.lineId,
- required this.points,
- this.color,
- this.width,
- this.lineType = PolylineType.normal});
- }
|