Wiederinstandsetzung Heatmap @stoffelmauro musste dazu etwas in der API anpassen.

This commit is contained in:
Giò Diani committed 2025-01-11 20:52:02 +01:00
1 parent 67382003ca
commit 2013d2b440
4 files changed
+28 -28

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ use App\Api;
Route::get('/', function () {
$regionHeat = Api::regionCapacities(1);
$regionPropertyCapacities = Api::regionPropertyCapacities(-1);
$propertiesGrowth = Api::propertiesGrowth();
$propsPerRegion = Api::propertiesPerRegion();
$propsPerRegionName = [];
@@ -18,7 +18,7 @@ Route::get('/', function () {
$propertiesGeo = Api::propertiesGeo();
return view('overview', ["heat" => $regionHeat, "geo" => $propertiesGeo, "growth" => $propertiesGrowth, "propsPerRegion" => [json_encode($propsPerRegionName), json_encode($propsPerRegionCounts)]]);
return view('overview', ["regionPropertiesCapacities" => $regionPropertyCapacities, "geo" => $propertiesGeo, "growth" => $propertiesGrowth, "propsPerRegion" => [json_encode($propsPerRegionName), json_encode($propsPerRegionCounts)]]);
});
Route::get('/prop/{id}', function (int $id) {