mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
heatmap changed
This commit is contained in:
@@ -12,7 +12,7 @@ class Heatmap extends Component
|
|||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
$data = BookCase::query()
|
$data = BookCase::query()
|
||||||
//->whereHas('orangePills')
|
->whereHas('orangePills')
|
||||||
->get()->map(fn($bookCase) => [
|
->get()->map(fn($bookCase) => [
|
||||||
'lat' => $bookCase->latitude,
|
'lat' => $bookCase->latitude,
|
||||||
'lng' => $bookCase->longitude,
|
'lng' => $bookCase->longitude,
|
||||||
|
|||||||
Reference in New Issue
Block a user