Soo I know it’s basically working, but I’m trying to adjust it a bit further, and add a marker at the center. Using their example, this should work, but it doesn’t:
{{ if .Params.location_latitude }}
<img src="https://maps.geoapify.com/v1/staticmap?style=osm-bright&width=600&height=400¢er=lonlat:{{ .Params.location_longitude }},{{ .Params.location_latitude }}&zoom=14&marker=lonlat:{{ .Params.location_longitude }},{{ .Params.location_latitude }};%23ff0000;size:medium&scaleFactor=2&apiKey=b50691d48f5445d5a006d1d241524816" width="600" height="400" alt="">
{{ end }}
However, without the marker bit, it does:
{{ if .Params.location_latitude }}
<img src="https://maps.geoapify.com/v1/staticmap?style=osm-bright&width=600&height=400¢er=lonlat:{{ .Params.location_longitude }},{{ .Params.location_latitude }}&zoom=14&scaleFactor=2&apiKey=b50691d48f5445d5a006d1d241524816" width="600" height="400" alt="">
{{ end }}
Is there an issue with repeating the location params twice, once for the map and once for the marker perhaps? Or maybe some syntax error I don’t see?