diff --git a/pygeoapi/templates/stac/item.html b/pygeoapi/templates/stac/item.html index cfee31a2c1..6857cc5349 100644 --- a/pygeoapi/templates/stac/item.html +++ b/pygeoapi/templates/stac/item.html @@ -99,7 +99,7 @@

{% trans %}Assets{% endtrans %}

} )); - var bbox = gen_safe_bbox({{ data['extent']['spatial']['bbox'][0] }}); + var bbox = gen_safe_bbox({{ data['bbox'] }}); var bbox_layer = L.polygon([ [bbox[1], bbox[0]],