Skip to content

Commit

Permalink
M3-275 Refactor : trailing comma 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
qjvk2880 committed Aug 9, 2024
1 parent 0d69d45 commit 963ec48
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions lib/widgets/pixel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,22 @@ class Pixel extends Polygon {
double strokeWidthToLongitude = defaultStrokeWidthToLongitude * zoomScale;

return List<LatLng>.of({
LatLng(topLeftPoint.latitude - strokeWidthToLatitude,
topLeftPoint.longitude + strokeWidthToLongitude),
LatLng(topLeftPoint.latitude - strokeWidthToLatitude,
topLeftPoint.longitude + lonPerPixel - strokeWidthToLongitude),
LatLng(
topLeftPoint.latitude - strokeWidthToLatitude,
topLeftPoint.longitude + strokeWidthToLongitude,
),
LatLng(
topLeftPoint.latitude - strokeWidthToLatitude,
topLeftPoint.longitude + lonPerPixel - strokeWidthToLongitude,
),
LatLng(
topLeftPoint.latitude - latPerPixel + strokeWidthToLatitude,
topLeftPoint.longitude + lonPerPixel - strokeWidthToLongitude,
),
LatLng(topLeftPoint.latitude - latPerPixel + strokeWidthToLatitude,
topLeftPoint.longitude + strokeWidthToLongitude),
LatLng(
topLeftPoint.latitude - latPerPixel + strokeWidthToLatitude,
topLeftPoint.longitude + strokeWidthToLongitude,
),
});
}

Expand Down

0 comments on commit 963ec48

Please sign in to comment.