[OpenLayers-Dev] WMTS GetCap bug?
Tobias Reinicke
ramotswa at gmail.com
Wed Nov 7 08:42:12 PST 2012
Hello All,
In combination with RD Hales we have come across something slightly
strange, and were wondering if it was a change you were aware of.
Basically, a wmts getCapabilities doc from a Geoserver v2.2 no longer has
the <style> tag per layer, and so when creating a layer in OpenLayers using
the getCapabilities document it will fail every time because in the
createLayer: function(capabilities, config)
the style loop will always return null, and so the layer creation will call
style: style.dentifier, which will be undefined.
A getCap for WMTS in a 2.1.4 geoserver still does have that style tag.
Is this a configurable option now?
Regards,
Toby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20121107/20d20333/attachment.html>
More information about the Dev
mailing list