error with multiple points in live tracking
-
Hi,
First of all, thanks for this plugin, I wanted to use to track some drones. I have seen that when I specify some users in a map, like user=@user1,user3 only the last user has metadata. I think this is a misplacement of a line in the code:
— a/trackserver.php
+++ b/trackserver.php
@@ -3907,8 +3907,8 @@
);
}
$tracks[ $id ][‘points’][] = array( $row[‘latitude’], $row[‘longitude’] );
+ $tracks[ $id ][‘metadata’] = $this->get_metadata( $row );
}
– $tracks[ $id ][‘metadata’] = $this->get_metadata( $row );// Convert points to Polyline
foreach ( $tracks as $id => $values ) {Hope is useful
The topic ‘error with multiple points in live tracking’ is closed to new replies.