Wiederinstandsetzung Heatmap @stoffelmauro musste dazu etwas in der API anpassen.
This commit is contained in:
1 parent
67382003ca
commit
2013d2b440
4 files changed
+28
-28
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user