Commit Graph

607 Commits

Author SHA1 Message Date
nicholas 6b465902cd Remove goog.dom 2016-06-23 22:06:35 +12:00
Andreas Hocevar 6718fc982e Merge pull request #5450 from probins/typedefs
Remove sub-namespaces from all remaining typedefs
2016-06-14 17:32:10 +02:00
Andreas Hocevar 1d20215bfa Make all typedefs work without provide/require 2016-06-14 15:01:20 +00:00
Peter Robins f3acac5259 Stop GPX writing rtept properties 2016-06-10 10:56:30 +00:00
Frederic Junod e289bfbb7d Use ol.inherits instead of goog.inherits 2016-06-08 08:38:12 +02:00
Andreas Hocevar 072728b083 Merge pull request #5427 from ahocevar/auto-typedef-enum-options
Document typedefs and enums used by API symbols
2016-06-07 23:58:04 +02:00
Frederic Junod c51fc84b72 Don't make ol.format.ogc.filter.Filter inherit from ol.Object 2016-06-06 17:05:04 +02:00
Andreas Hocevar 2ec4969ac7 Remove api annotations from enums 2016-06-03 09:29:14 +02:00
Wei Lin 4877a7864c Pass in srsName option to writeTransaction
Fix #5397 :  By passing `srsName` option to `ol.format.WFS.writeTransaction`
2016-05-27 17:36:37 +08:00
Tom Payne a6a621834f Handle UTC midnight wrap around, fixes #5371 2016-05-23 20:36:01 +02:00
Andreas Hocevar bbd1af6056 Merge pull request #5368 from probins/wfs
Move WFS typedefs to typedefs.js
2016-05-19 14:52:54 +02:00
Tobias Bieniek d52586d586 format/igc: Remove duplicate regex exec() call
HFDTE_RECORD_RE_.exec(line) has already been called above
2016-05-19 14:35:15 +02:00
Peter Robins 4044ae4cd0 Move WFS typedefs to typedefs.js
By renaming them so they're no longer in any subnamespaces, they no longer need to be in their own file.
2016-05-19 08:48:43 +00:00
Peter Robins 2117f2e3b1 Convert all typedefs to CamelCase 2016-05-18 19:44:45 +00:00
Andreas Hocevar 2bff721227 Merge pull request #5343 from probins/nonapitypedefs
Rename non-api sub-namespace typedefs
2016-05-18 17:34:08 +02:00
tsauerwein 7080c508a4 Handle multiple featureMember elements for different types 2016-05-18 11:26:13 +02:00
Peter Robins 176ddd3403 Rename non-api sub-namespace typedefs 2016-05-13 10:24:57 +00:00
Peter Robins c7aeebed8c Rename sub-sub-namespace typedefs to sub-namespace
These sub-sub-namespace typedefs are only used internally; some of them cause problems by creating a form of circular dependency. For example, ol.style.Atlas is created in style/atlasmanager.js; if ol.style.Atlas.Block is in a separate file, ol.style.Atlas is dependent on it, so the new file must precede ol.style.Atlas. However if it precedes it then it has to create the ol.style.Atlas namespace which should be created by atlasmanager.js. To get round this, these typedefs are renamed to remove the sub-sub-namespace.

Fortunately they are all non-api, so the rename should not affect anything.
2016-05-11 19:46:56 +00:00
Peter Robins 4f0b4dacbd Move sub-namespace typedefs to typedefs.js
Here too there is one problem case.
2016-05-11 19:45:59 +00:00
Peter Robins ed34caa25a Fix ogc/filter
This only compiles if there is goog.provide('ol.Extent') in the typedefs file, and goog.require('ol.Extent') in this file. An alternative is to add an assert statement, but this means an extra dependency.

With this change there is no longer a need for the change to tasks/build.js
2016-05-11 17:18:05 +00:00
Peter Robins f57065c412 Remove unneeded goog.provides/requires for typedefs
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Peter Robins c28fd2ae1c Document handling of KML MultiGeometries 2016-04-29 10:56:43 +01:00
Frederic Junod 664507b79b Fix invalid generics type instantiation 2016-04-27 14:51:31 +02:00
Tobias Sauerwein 1ca28506ac Merge pull request #5252 from tsauerwein/wfs-getfeature-filter
Add filter option to ol.format.WFS#writeGetFeature
2016-04-27 09:11:55 +02:00
tsauerwein af294bd44e Add filter option to ol.format.WFS#writeGetFeature 2016-04-26 16:36:50 +02:00
Björn Harrtell c40993d0d3 Add readFeatures and readProjection as MVT experimental API 2016-04-21 14:16:06 +02:00
Tim Schaub 2496662070 Merge pull request #5212 from probins/kmlwrite
KML: fix GeometryCollection write
2016-04-14 04:27:18 -06:00
Peter Robins 27f20e2f54 KML: fix GeometryCollection write 2016-04-11 12:36:07 +00:00
Frédéric Junod 50b956b108 Merge pull request #5132 from nicholas-l/removeGoogString
Remove goog.string
2016-04-11 10:28:32 +02:00
Frédéric Junod 06ac1b603c Merge pull request #4932 from fredj/undef_WMSGetFeatureInfo
Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_
2016-04-11 08:41:43 +02:00
nicholas c92223d792 Remove Goog.string 2016-04-08 18:09:57 +12:00
Frederic Junod 80e984a9c3 Use Array.isArray instead of goog.isArray 2016-04-04 09:06:29 +02:00
Peter Robins a18bf636f8 Add decimals option to format write 2016-03-24 17:14:02 +00:00
Peter Robins e65c522cb4 Fix geojson write GeometryCollection 2016-03-21 12:11:31 +00:00
Peter Robins 9ba4208616 Fix cruft on kml scale output 2016-03-16 15:12:23 +00:00
Peter Robins 0a3b7e56a9 Document GPX geometry output types 2016-03-14 16:56:23 +00:00
Frederic Junod b09f7e30b2 Get rid of goog.dom.xml.serialize
Use XMLSerializer.serializeToString() function instead, available for IE >= 9
2016-03-03 15:46:29 +01:00
Frederic Junod b87a912ecc Remove ol.xml.getLocalName workaround for IE
This property is available for IE >= 9
2016-03-03 15:46:29 +01:00
Frederic Junod 4eb6997be9 Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_
`this.featureType` and `this.featureNS` are not defined in `ol.format.WMSGetFeatureInfo`
2016-03-03 09:38:18 +01:00
Frederic Junod cf23d0541c Get rid of goog.json
Use JSON.parse and JSON.stringify instead.
2016-02-29 16:19:32 +01:00
Frederic Junod 916127d8f6 Fix ol.format.GeoJSON#writeFeatureObject return type 2016-02-25 10:09:37 +01:00
Frederic Junod 148ef7afef Use {} instead of Object
We probably have these to trick the compiler but it's not needed anymore
2016-02-25 09:15:33 +01:00
Frédéric Junod bd5c85acc3 Merge pull request #4900 from fredj/ol.format.XML_struct
Make ol.format.XML a @struct
2016-02-24 14:24:39 +01:00
Frederic Junod ac17a2f2a7 Make ol.format.XML a @struct
And replace the undeclared `this.version` by a local variable.
2016-02-24 09:25:41 +01:00
Frederic Junod a365f185cc Use ol.format.GMLBase#srsName instead of undeclared srsName_
The variable was changed from private to protected in 8182396
2016-02-24 09:20:22 +01:00
Frederic Junod d0f71bf64f Remove old fixme 2016-02-24 08:37:30 +01:00
Frederic Junod 950bb1810c Remove unneeded type cast 2016-02-24 08:37:30 +01:00
Frederic Junod 81d0e9ea63 Use get(key) instead of getProperties()[key] 2016-02-24 08:37:30 +01:00
Bart van den Eijnden 84b418b5c6 Assert we have a feature id 2016-02-19 09:41:13 +01:00
Marc Jansen f1fdfb7971 Don't use goog.string.newlines.* 2016-02-12 15:07:56 +01:00