|
|
@@ -102,7 +102,7 @@ class CustomStationLayer @JvmOverloads constructor(
|
|
|
canvas.save()
|
|
|
// 把 mapView 本身的缩放/平移/旋转一次性 concat 到 Canvas
|
|
|
canvas.concat(currentMatrix)
|
|
|
- pointList.forEachIndexed { index, point ->
|
|
|
+ pointList.forEach { point ->
|
|
|
val switchStatus = ModBusController.getSwitchData()
|
|
|
.find { it.idx == point.pointSerialNumber?.toInt() }?.enabled
|
|
|
// point.pos.x/y 已经是「图内像素坐标」
|