From 8f778d8a0cec0d4dd8d210f6c4b9b55be5b1a58e Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 21 Jun 2008 14:37:14 +0000 Subject: [PATCH] minor doc changes to describe that format conflicts with featureClass/vectorMode:false. git-svn-id: http://svn.openlayers.org/trunk/openlayers@7417 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WFS.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 84254faab1..4dfcddf0d7 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -59,6 +59,8 @@ OpenLayers.Layer.WFS = OpenLayers.Class( * APIProperty: format * {} The format you want the data to be parsed with. * Must be passed in the constructor. Should be a class, not an instance. + * This option can only be used if no featureClass is passed / vectorMode + * is false: if a featureClass is passed, then this parameter is ignored. */ format: null, @@ -78,7 +80,8 @@ OpenLayers.Layer.WFS = OpenLayers.Class( /** * Property: vectorMode - * {Boolean} Should be calculated automatically. + * {Boolean} Should be calculated automatically. Determines whether the + * layer is in vector mode or marker mode. */ vectorMode: true,