Create an alias ol.format.GML to ol.format.GML3

for backward compatibility
This commit is contained in:
Florent gravin
2014-09-24 14:51:49 +02:00
parent 563174383a
commit 607543e4e7

View File

@@ -72,6 +72,22 @@ ol.format.GML.v3 = function(opt_options) {
goog.inherits(ol.format.GML.v3, ol.format.GML);
/**
* @classdesc
* Feature format for reading and writing data in the GML format
* version 3.1.1.
* Currently only supports GML 3.1.1 Simple Features profile.
*
* @constructor
* @param {olx.format.GMLOptions=} opt_options
* Optional configuration object.
* @extends {ol.format.GMLBase}
* @api stable
*/
ol.format.GML = ol.format.GML3;
/**
* @const
* @type {string}