This change adds a stability value to the api annotation, with 'experimental' as default value. enum, typedef and event annotations are never exportable, but api annotations are needed there to make them appear in the docs. Nested typedefs are no longer inlined recursively, because the resulting tables get too wide with the current template.
34 lines
760 B
JavaScript
34 lines
760 B
JavaScript
goog.provide('ol.source.GPX');
|
|
|
|
goog.require('ol.format.GPX');
|
|
goog.require('ol.source.StaticVector');
|
|
|
|
|
|
|
|
/**
|
|
* @constructor
|
|
* @extends {ol.source.StaticVector}
|
|
* @fires {@link ol.source.VectorEvent} ol.source.VectorEvent
|
|
* @param {olx.source.GPXOptions=} opt_options Options.
|
|
* @todo api
|
|
*/
|
|
ol.source.GPX = function(opt_options) {
|
|
|
|
var options = goog.isDef(opt_options) ? opt_options : {};
|
|
|
|
goog.base(this, {
|
|
attributions: options.attributions,
|
|
doc: options.doc,
|
|
extent: options.extent,
|
|
format: new ol.format.GPX(),
|
|
logo: options.logo,
|
|
node: options.node,
|
|
projection: options.projection,
|
|
text: options.text,
|
|
url: options.url,
|
|
urls: options.urls
|
|
});
|
|
|
|
};
|
|
goog.inherits(ol.source.GPX, ol.source.StaticVector);
|