Documenting ScaleHint parsing, as suggested by @marcjansen

This commit is contained in:
ahocevar
2012-11-20 17:01:08 +01:00
parent cbc4f4e422
commit 5273d63f3a

View File

@@ -10,6 +10,13 @@
/**
* Class: OpenLayers.Format.WMSCapabilities/v1_1_1
* Read WMS Capabilities version 1.1.1.
*
* Note on <ScaleHint> parsing: If the 'min' attribute is set to "0", no
* maxScale will be set on the layer object. If the 'max' attribute is set to
* "Infinity", no minScale will be set. This makes it easy to create proper
* {<OpenLayers.Layer.WMS>} configurations directly from the layer object
* literals returned by this format, because no minScale/maxScale modifications
* need to be made.
*
* Inherits from:
* - <OpenLayers.Format.WMSCapabilities.v1_1>