Merge pull request #1541 from twpayne/vector-api-gpx

[vector-api] Add ol.format.GPX
This commit is contained in:
Tom Payne
2014-01-17 07:39:56 -08:00
14 changed files with 2251 additions and 1114 deletions

View File

@@ -291,6 +291,8 @@
* features will be added to this layer's source. If neither `source` nor
* `layer` are defined then the dropped features will be added as a new
* layer.
* @property {ol.feature.StyleFunction|undefined} styleFunction Style function.
* This is used to configure any new layers created.
*/
/**
@@ -554,6 +556,20 @@
* @property {Array.<string>|undefined} urls URLs.
*/
/**
* @typedef {Object} olx.source.GPXOptions
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.
* @property {Document|undefined} doc Document.
* @property {ol.Extent|undefined} extent Extent.
* @property {string|undefined} logo Logo.
* @property {Node|undefined| node Node.
* @property {ol.proj.ProjectionLike} projection Projection.
* @property {ol.proj.ProjectionLike} reprojectTo Re-project to.
* @property {string|undefined} text Text.
* @property {string|undefined} url URL.
* @property {Array.<string>|undefined} urls URLs.
*/
/**
* @typedef {Object} olx.source.TopoJSONOptions
* @property {Array.<ol.Attribution>|undefined} attributions Attributions.