Commit Graph

836 Commits

Author SHA1 Message Date
Tim Schaub c452caa513 Move ol/format/esrijsonformat.js to ol/format/esrijson.js 2016-08-07 10:49:07 -06:00
Tim Schaub cc5b02a40f Move ol/format/featureformat.js to ol/format/feature.js 2016-08-07 10:49:07 -06:00
Andreas Hocevar bf275b0740 Remove asserts from ol.format.WFS 2016-08-04 11:42:40 +02:00
Andreas Hocevar e18d41b5e0 Remove gratuitous debug assertions 2016-08-04 11:29:54 +02:00
Andreas Hocevar e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar 6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Tobias Sauerwein 95ce473dcb Merge pull request #5668 from cpsTinK/master
Added Intersects and Within filters into ol.format.wfs
2016-08-04 08:25:51 +02:00
cpsTinK 18101ad0e2 Refactor AND Fixed description Intersects and Within filters into ol.format.wfs 2016-08-03 15:42:46 +04:00
Andreas Hocevar 01baf48870 Merge pull request #5587 from ahocevar/kml-faster-init
Lazily create KML style defaults
2016-08-03 09:19:39 +02:00
cpsTinK 9150fa2a60 Added Intersects and Within filters into ol.format.wfs 2016-08-02 16:20:09 +04:00
Andreas Hocevar f059eb6686 Fix namespace in filter docs 2016-07-28 12:06:58 +02:00
Andreas Hocevar efdf9961b3 Fix KML date parsing
We even have an incorrect test here. And like in ol.format.XSD, we can use
Date.parse().
2016-07-26 16:59:04 +02:00
Andreas Hocevar 1bb572310d Use Date.parse() instead of parsing XSD dates manually 2016-07-26 16:58:48 +02:00
Andreas Hocevar e2d96082f9 Fix XSD parsing of non-Zulu times 2016-07-26 16:58:33 +02:00
Andreas Hocevar 29230d48b3 Merge pull request #5614 from probins/abstract
Replace goog.abstractMethod
2016-07-19 19:52:53 +02:00
Peter Robins 0713e680e1 Replace goog.abstractMethod 2016-07-19 09:08:23 +00:00
drnextgis 2685dd1bd9 Parse MVT id property 2016-07-19 11:34:44 +07:00
Peter Robins 53a7aad431 Remove goog.isObject not in assertions 2016-07-16 11:07:42 +00:00
Peter Robins ba97ee4674 Remove KML.readStyleUrl_ as duplicate of KML.readURI_
StyleUrl elements in Placemarks use readURI_() whereas those in StyleMaps use readStyleUrl_(), so standardize on readURI_()
2016-07-14 11:13:39 +00:00
Peter Robins 810ed63b9f Replace goog.Uri in kml format with URL() 2016-07-14 11:13:39 +00:00
Andreas Hocevar 3630a043fe Lazily create KML style defaults 2016-07-12 13:56:02 +02:00
Peter Robins d7180fd1e8 Reinsert goog.provide for enums in olx.js 2016-07-05 07:32:30 +00:00
Peter Robins 3eea9d4558 Replace goog.isNumber 2016-07-01 09:35:54 +00:00
Frédéric Junod 6d41e87ff5 Merge pull request #5475 from probins/enumprovide
Remove goog.provide from enums only used internally or in olx.js
2016-06-30 16:57:21 +02:00
Frédéric Junod ffe0529df8 Merge pull request #5508 from tsauerwein/compiler-properties
Fix problems with ol.format.WFS in compiled mode
2016-06-27 11:59:13 +02:00
Andreas Hocevar 5d85867fbf Merge pull request #5471 from probins/gpx
Fix GPX write of xsi ns
2016-06-23 14:24:48 +02:00
nicholas 6b465902cd Remove goog.dom 2016-06-23 22:06:35 +12:00
tsauerwein 7048de8e83 Make sure properties are not renamed 2016-06-23 08:38:06 +02:00
Peter Robins e5cc971dc9 Remove goog.provide for enums only in olx.js 2016-06-15 09:14:13 +00: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 7d210948e8 Fix GPX write of xsi ns
Also add version/creator attributes to <gpx> node.
2016-06-14 11:14:19 +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