@@ -255,9 +255,9 @@ discard block |
||
| 255 | 255 | $facts = $this->getPedigreeMapFacts($request, $this->chart_service); |
| 256 | 256 | |
| 257 | 257 | $geojson = [ |
| 258 | - 'type' => 'FeatureCollection', |
|
| 259 | - 'features' => [], |
|
| 260 | - ]; |
|
| 258 | + 'type' => 'FeatureCollection', |
|
| 259 | + 'features' => [], |
|
| 260 | + ]; |
|
| 261 | 261 | |
| 262 | 262 | $sosa_points = []; |
| 263 | 263 | |
@@ -285,14 +285,14 @@ discard block |
||
| 285 | 285 | // rather than generate polylines but the MarkerCluster library |
| 286 | 286 | // doesn't seem to like them |
| 287 | 287 | $polyline = [ |
| 288 | - 'points' => [ |
|
| 289 | - $sosa_points[$sosa_child], |
|
| 290 | - [$latitude, $longitude], |
|
| 291 | - ], |
|
| 292 | - 'options' => [ |
|
| 293 | - 'color' => $color, |
|
| 294 | - ], |
|
| 295 | - ]; |
|
| 288 | + 'points' => [ |
|
| 289 | + $sosa_points[$sosa_child], |
|
| 290 | + [$latitude, $longitude], |
|
| 291 | + ], |
|
| 292 | + 'options' => [ |
|
| 293 | + 'color' => $color, |
|
| 294 | + ], |
|
| 295 | + ]; |
|
| 296 | 296 | } |
| 297 | 297 | $geojson['features'][] = [ |
| 298 | 298 | 'type' => 'Feature', |