diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 6a1d30127e..09fdea4af9 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -34,8 +34,13 @@ OpenLayers.Layer.WFS = OpenLayers.Class( /** * APIProperty: ratio - * {Float} the ratio of image/tile size to map size (this is the untiled - * buffer) + * {Float} The ratio property determines the size of the serverside query + * relative to the map viewport size. By default, we load an area twice + * as big as the map, to allow for panning without immediately reload. + * Setting this to 1 will cause the area of the WFS request to match + * the map area exactly. It is recommended to set this to some number + * at least slightly smaller than 1, otherwise accidental clicks can + * cause a data reload, by moving the map only 1 pixel. */ ratio: 2,