diff options
author | Chris Schlaeger <chris@linux.com> | 2015-10-17 21:36:38 +0200 |
---|---|---|
committer | Chris Schlaeger <chris@linux.com> | 2015-10-17 21:36:38 +0200 |
commit | e30f267181d990947e67909de4809fa941698c85 (patch) | |
tree | 46e9f94c2b3699ed378963b420b8a8d361286ea1 /misc/openlayers/lib/OpenLayers/Format/ArcXML/Features.js | |
parent | e763ceb183f389fcd314a4a6a712d87c9d4cdb32 (diff) | |
download | postrunner-e30f267181d990947e67909de4809fa941698c85.zip |
Upgrading openlayers to 3.x
Diffstat (limited to 'misc/openlayers/lib/OpenLayers/Format/ArcXML/Features.js')
-rw-r--r-- | misc/openlayers/lib/OpenLayers/Format/ArcXML/Features.js | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/misc/openlayers/lib/OpenLayers/Format/ArcXML/Features.js b/misc/openlayers/lib/OpenLayers/Format/ArcXML/Features.js deleted file mode 100644 index 5b8730d..0000000 --- a/misc/openlayers/lib/OpenLayers/Format/ArcXML/Features.js +++ /dev/null @@ -1,46 +0,0 @@ -/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for - * full list of contributors). Published under the 2-clause BSD license. - * See license.txt in the OpenLayers distribution or repository for the - * full text of the license. */ - -/** - * @requires OpenLayers/Format/ArcXML.js - */ - -/** - * Class: OpenLayers.Format.ArcXML.Features - * Read/Write ArcXML features. Create a new instance with the - * <OpenLayers.Format.ArcXML.Features> constructor. - * - * Inherits from: - * - <OpenLayers.Format.XML> - */ -OpenLayers.Format.ArcXML.Features = OpenLayers.Class(OpenLayers.Format.XML, { - - /** - * Constructor: OpenLayers.Format.ArcXML.Features - * Create a new parser/writer for ArcXML Features. Create an instance of this class - * to get a set of features from an ArcXML response. - * - * Parameters: - * options - {Object} An optional object whose properties will be set on - * this instance. - */ - - /** - * APIMethod: read - * Read data from a string of ArcXML, and return a set of OpenLayers features. - * - * Parameters: - * data - {String} or {DOMElement} data to read/parse. - * - * Returns: - * {Array(<OpenLayers.Feature.Vector>)} A collection of features. - */ - read: function(data) { - var axl = new OpenLayers.Format.ArcXML(); - var parsed = axl.read(data); - - return parsed.features.feature; - } -}); |