From ec3d804af4710b58bf66a7b0a84d65de7b9f9527 Mon Sep 17 00:00:00 2001 From: bartvde Date: Mon, 30 Nov 2009 10:15:16 +0000 Subject: [PATCH] make OpenLayers.Layer.WFS and OpenLayers.Layer.GML deprecated and provide instructions on what to do now git-svn-id: http://svn.openlayers.org/trunk/openlayers@9849 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/GML.js | 3 +++ lib/OpenLayers/Layer/WFS.js | 2 ++ 2 files changed, 5 insertions(+) diff --git a/lib/OpenLayers/Layer/GML.js b/lib/OpenLayers/Layer/GML.js index 1d99a106ed..4b5d64f7b5 100644 --- a/lib/OpenLayers/Layer/GML.js +++ b/lib/OpenLayers/Layer/GML.js @@ -12,6 +12,9 @@ * Class: OpenLayers.Layer.GML * Create a vector layer by parsing a GML file. The GML file is * passed in as a parameter. + * *Deprecated*. To be removed in 3.0. Instead use OpenLayers.Layer.Vector + * with Protocol.HTTP and Strategy.Fixed. Provide the protocol with a + * format parameter to get the parser you want for your data. * * Inherits from: * - diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 6096a21d0c..bbf4b916a7 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -12,6 +12,8 @@ /** * Class: OpenLayers.Layer.WFS + * *Deprecated*. To be removed in 3.0. Instead use OpenLayers.Layer.Vector + * with a Protocol.WFS and one or more Strategies. * * Inherits from: * -