Merge branch 'dev' into feature/dev-yj
This commit is contained in:
commit
cdaeab1d42
@ -176,6 +176,10 @@ export const usePolygon = () => {
|
|||||||
* @param showDirectionText
|
* @param showDirectionText
|
||||||
*/
|
*/
|
||||||
const drawDirectionArrow = (polygon, showDirectionText = true) => {
|
const drawDirectionArrow = (polygon, showDirectionText = true) => {
|
||||||
|
if (!polygon) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (polygon.points.length < 3) {
|
if (polygon.points.length < 3) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user