MAPG-103 implement saving the modified map on server side

This commit is contained in:
bence committed 2020-06-09 21:29:51 +02:00
1 parent 88e8c5c027
commit 5dd877d075
4 files changed
+125 -4

No files matched your search

+20
View File
@@ -59,6 +59,26 @@ class Bounds
}
}
public function getSouthLat(): float
{
return $this->southLat;
}
public function getWestLng(): float
{
return $this->westLng;
}
public function getNorthLat(): float
{
return $this->northLat;
}
public function getEastLng(): float
{
return $this->eastLng;
}
public function calculateApproximateArea(): float
{
$dLat = $this->northLat - $this->southLat;