Parser base class
GeoJSON is now a parser. The idea is that we'll want to pass parsers to sources or protocols and want a known type.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
goog.provide('ol.parser.XML');
|
||||
|
||||
goog.require('ol.parser.Parser');
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @extends {ol.parser.Parser}
|
||||
*/
|
||||
ol.parser.XML = function() {
|
||||
this.regExes = {
|
||||
@@ -13,6 +16,7 @@ ol.parser.XML = function() {
|
||||
trimComma: (/\s*,\s*/g)
|
||||
};
|
||||
};
|
||||
goog.inherits(ol.parser.XML, ol.parser.Parser);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user