MAPG-111 query map area from DB
modify calculations to be in square km (instead of m)
This commit is contained in:
1 parent
4d7c86fd1b
commit
7159867db0
6 files changed
+27
-28
No files matched your search
@@ -118,7 +118,8 @@ class MapAdminController implements ISecured
|
||||
'bound_south_lat' => $mapBounds->getSouthLat(),
|
||||
'bound_west_lng' => $mapBounds->getWestLng(),
|
||||
'bound_north_lat' => $mapBounds->getNorthLat(),
|
||||
'bound_east_lng' => $mapBounds->getEastLng()
|
||||
'bound_east_lng' => $mapBounds->getEastLng(),
|
||||
'area' => $mapBounds->calculateApproximateArea(),
|
||||
];
|
||||
|
||||
if (isset($_POST['name'])) {
|
||||
|
||||
Reference in new issue
Block a user