Compare commits
2 Commits
47e3ae7d29
...
cdaeab1d42
| Author | SHA1 | Date | |
|---|---|---|---|
| cdaeab1d42 | |||
| 65ec3d5153 |
@ -176,6 +176,10 @@ export const usePolygon = () => {
|
||||
* @param showDirectionText
|
||||
*/
|
||||
const drawDirectionArrow = (polygon, showDirectionText = true) => {
|
||||
if (!polygon) {
|
||||
return
|
||||
}
|
||||
|
||||
if (polygon.points.length < 3) {
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user