fix param

This commit is contained in:
philipp lang 2025-07-15 10:52:01 +02:00
parent 03340280d0
commit 5cedc661f5
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Point extends Data
]); ]);
} }
public function markerUrl(string $zoom = 20): string public function markerUrl(string $zoom = '20'): string
{ {
return '/osm-static-maps/?' . http_build_query([ return '/osm-static-maps/?' . http_build_query([
'geojson' => json_encode(['type' => 'Point', 'coordinates' => [$this->lon, $this->lat]]), 'geojson' => json_encode(['type' => 'Point', 'coordinates' => [$this->lon, $this->lat]]),