Frédéric Junod
5abeaf3716
Merge pull request #4208 from gberaudo/remove_goog_string_trim
...
Remove goog.string.trim()
2015-10-05 09:06:32 +02:00
Guillaume Beraudo
fef1b0981e
Remove goog.string.trim()
...
Replace with standard ECMAScript 5.1.
2015-10-01 14:14:06 +02:00
Frederic Junod
4d53049a7f
Remove unnecessary cast
2015-10-01 13:38:49 +02:00
Marc Jansen
eb5088eb40
Remove goog.isNull in format classes
2015-10-01 09:17:14 +02:00
Tim Schaub
6bdacced92
Merge pull request #4176 from tschaub/remove-isdefandnotnull
...
Remove use of goog.isDefAndNotNull().
2015-10-01 00:05:57 -06:00
Marc Jansen
c4d5036878
Do not use goog.object.get
2015-09-30 22:27:39 +02:00
Tim Schaub
b48cabee28
Remove unnecessary goog.isDefAndNotNull() calls
2015-09-29 09:32:51 -06:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Frederic Junod
496cece074
Remove use of goog.array.forEach
2015-09-29 10:55:17 +02:00
Frederic Junod
cd152cca14
Use a for loop instead of goog.array.forEach
...
The variable is a NodeList, not an Array.
https://developer.mozilla.org/en-US/docs/Web/API/NodeList#Why_is_NodeList_not_an_Array
2015-09-29 10:55:17 +02:00
Frederic Junod
252e60b5af
Remove use of goog.array.indexOf
2015-09-29 10:55:17 +02:00
Frederic Junod
9e2a393426
Remove use of goog.array.map
2015-09-29 10:54:55 +02:00
Frederic Junod
88c3891bef
Replace goog.array.contains with ol.array.includes
2015-09-29 10:42:07 +02:00
Tim Schaub
0927c55b3c
Toward natural JavaScript syntax
2015-09-25 12:16:42 -06:00
Tim Schaub
d7ca176362
Remove goog.isDef from more formats
2015-09-25 11:28:55 -06:00
Tim Schaub
1fceb4a709
Remove goog.isDef from formats
2015-09-25 11:28:54 -06:00
Frederic Junod
901c55bf41
Remove unnecessary newlines
2015-09-23 12:18:50 +02:00
Frederic Junod
e884a8704d
Remove use of goog.object.containsKey
2015-09-23 12:17:02 +02:00
Frederic Junod
b128675e60
Remove use of goog.object.remove
2015-09-22 12:08:09 +02:00
Frederic Junod
0d23ab44b3
Remove use of goog.array.isEmpty
2015-09-22 11:25:04 +02:00
Frederic Junod
d0722cab6a
Use bracket notation instead of goog.object.get
2015-09-08 16:33:15 +02:00
Frederic Junod
f02ad3e584
Use bracket notation instead of goog.object.set
2015-09-08 16:33:12 +02:00
Frédéric Junod
1e78c45466
Merge pull request #4078 from fredj/jscomp_error
...
Enable all the compiler checks
2015-09-07 15:32:43 +02:00
Frederic Junod
4aa2369244
Add missing type annotation in ol.format.WMSCapabilities
...
The error reported by the compiler was:
```
ERR! compile src/ol/format/wmscapabilitiesformat.js:160: ERROR - inconsistent return type
ERR! compile found : Array
ERR! compile required: (null|ol.Extent|undefined)
ERR! compile return [
ERR! compile ^
ERR! compile
```
2015-09-07 14:48:48 +02:00
oterral
dba6e04a1b
Parse nested document tag
2015-09-07 13:14:24 +02:00
Frederic Junod
529f869803
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-09-07 09:15:34 +02:00
Frederic Junod
af553366d4
Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead
2015-08-31 14:06:49 +02:00
Éric Lemoine
1921e009e6
Merge pull request #3900 from Jenselme/kmlformat
...
Do not add Style as a feature property
2015-08-07 13:00:11 +02:00
Éric Lemoine
b0584acaa5
Add ol.format.KML.findStyle_ function
...
This commit adds an `ol.format.KML.findStyle_` function to prevent creating a function for every call to `ol.format.KML.createFeatureStyleFunction_`, as suggested by @ahocevar in #3900 .
2015-08-07 11:54:38 +02:00
Frederic Junod
0a6745f1e4
Remove unused goog.require
...
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Nick Hamblet
cfafe90235
Handle CDATA in attribute parsing for GML format
...
Following [3827](https://github.com/openlayers/ol3/issues/3827 ),
handle CDATA XML nodes in attribute parsing of GML data. Currently
such data will be expected to be a geometry, and will fail to parse.
Treating the CDATA node as text is the easiest way to handle such
an attribute.
2015-07-01 16:32:17 -04:00
Éric Lemoine
ae1221d811
Do not add Style as a feature property
...
This makes the KML format not add a Style property on features, as this may cause problems when serializing to another format such as JSON.
2015-06-22 10:11:46 +02:00
Frederic Junod
0286564e8a
Remove unnecessary quotes around object keys
2015-06-11 11:58:11 +02:00
Frederic Junod
d8a495b639
Always write the GeoJSONFeature geometry property
2015-06-11 09:53:06 +02:00
Marc Jansen
96741e1f0b
Simplify detection of scientific notation
...
This change allows us to remove some avoidable function calls (specifically
to goog.isDef(c) and c.toLowerCase()). Additionally, the new check is simpler
to read.
2015-05-29 09:33:29 +02:00
Marc Jansen
2b76bc05a5
Add support for scientific notation to WKT format
2015-05-18 11:27:39 +02:00
Marc Jansen
52ad0bc62f
Add basic docs for wktformat
2015-04-23 13:31:50 +02:00
Marc Jansen
4fc7672089
Add basic docs for wfsformat
2015-04-23 13:31:39 +02:00
Marc Jansen
4c6289278b
Add basic docs for kmlformat
2015-04-23 13:31:26 +02:00
Bart van den Eijnden
c74293335c
Make sure ol.format.GML2 is usable for WFS 1.0 requests as well
2015-04-23 08:24:59 +02:00
Tim Schaub
f0c0c28f04
Rename ol.feature.FeatureStyleFunction to ol.FeatureStyleFunction
2015-04-20 13:47:34 -06:00
Tim Schaub
a67218bd7d
Merge pull request #3516 from tschaub/unbinary
...
Remove ol.format.BinaryFeature.
2015-04-19 10:04:53 -06:00
Frederic Junod
b1d59366dc
Remove ol.format.FormatType.BINARY
2015-04-18 17:10:15 -06:00
Tim Schaub
6a564597fb
Update types accepted when reading features
2015-04-18 17:07:34 -06:00
Tim Schaub
4260368b3b
Remove untested and unused binary feature format code
2015-04-18 17:05:23 -06:00
Bart van den Eijnden
560a45847f
No quotes needed around object keys
2015-04-17 18:36:17 +02:00
Bart van den Eijnden
6c4f2a4ce3
Document convert rings function and use GeometryType enums
2015-04-17 18:36:16 +02:00
Bart van den Eijnden
a438ffb280
Add full support for XYM and XYZM layouts
2015-04-17 18:36:16 +02:00
Bart van den Eijnden
db8c6ef1b4
Write support for Esri JSON
2015-04-17 18:36:16 +02:00
Bart van den Eijnden
93c524baa0
Esri JSON read support
2015-04-17 18:36:16 +02:00