Getting zone/point/outline coordinates #318
PiotrMachowski
announced in
FAQ
Replies: 2 comments 1 reply
-
Awesome, thanks for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Dumb question - are the coordinates [x1,y1,x2,y2] or [x1,x2,y1,y2]? I suspect its the former and also x1,y1 being the top left point and x2,y2 being the bottom right point? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since v2.1.0 there is a simplified way to get coordinates for selection:
Documentation
Getting selection before v2.1.0
To get coordinates of zone, point or outline you have to:
Select appropriate mode:
template: vacuum_clean_zone
)template: vacuum_goto
)template: vacuum_follow_path
)If your platform doesn't support these templates (e.g.
Neato
) you can temporarily switch todefault
Mark desired shape/point on the map
Press "play" button and hold it for ~1s

A popup containing coordinates should be shown

If popup doesn't appear you can enable debug mode by adding
debug: true
to card's configurationIf content of popup is cropped or you can't copy it, you can view coordinates in browser's console
Beta Was this translation helpful? Give feedback.
All reactions