{{py: from html import escape import textwrap import json wrapper = textwrap.TextWrapper(replace_whitespace=False, width=90, break_long_words=False) def approx_bbox(layer, srs): from mapproxy.srs import SRS extent = layer.md['extent'].bbox_for(SRS(srs)) return ', '.join(map(lambda x: '%.2f' % x, extent)) menu_title= "WMTS %s %s"%(layer.name, srs) jscript_functions=None }} {{def jscript_openlayers}} {{enddef}}

Layer Preview - {{layer.name}}

Coordinate SystemImage format
{{layer.format}}

Bounding Box

{{', '.join(str(s) for s in layer.extent.bbox)}}