{{py: from mapproxy.compat.modules import escape import textwrap wrapper = textwrap.TextWrapper(replace_whitespace=False, width=90, break_long_words=False) def strip(s): return s.split('/')[1] menu_title = "WMS %s %s" % (layer.name,srs) jscript_functions=None }} {{def jscript_openlayers}} {{enddef}}

Openlayers Client - Layer {{layer.name}}

Coordinate System Image format

JavaScript code

{{for line in jscript_openlayers().split('\n')}}
{{escape(wrapper.fill(line))}}
{{endfor}}