Move to waypoints from location

This commit is contained in:
Sacha Weatherstone
2022-08-31 17:32:19 +10:00
parent 0374b00359
commit c0be3bb2ba
8 changed files with 177 additions and 134 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ export const NewLocationMessage = (): JSX.Element => {
<Button
width="100%"
onClick={() => {
void connection?.sendLocation(
Protobuf.Location.create({
void connection?.sendWaypoint(
Protobuf.Waypoint.create({
latitudeI: Math.floor(3.89103 * 1e7),
longitudeI: Math.floor(105.87005 * 1e7),
name: "TEST",