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
Marc Jansen
48ff0b90d3
Don't use goog.string.isEmpty
2016-02-12 14:12:44 +01:00
Frederic Junod
f7e20377ec
Make ol.style.Style a @struct
...
And take into account that `styles` may be a style or an array of style.
2016-02-10 17:07:10 +01:00
Marc Jansen
efa82dccf9
Remove use of goog.isString()
2016-02-06 12:56:55 +01:00
Tim Schaub
e2fe897811
Replace goog.object.getValues() with ol.object.getValues()
2016-02-04 06:54:44 -07:00
Tim Schaub
417dbf36c8
Remove use of goog.object.setIfUndefined()
2016-02-04 06:54:44 -07:00
Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07:00
Tim Schaub
1a9367228d
Remove use of goog.object.contains() and findKey()
2016-02-04 06:54:44 -07:00
Tim Schaub
3c0ef430db
Use ol.object.assign() instead of goog.object.extend()
2016-02-04 06:54:43 -07:00
Tim Schaub
a74af66d5f
Use ol.object.assign() instead of goog.object.clone()
2016-02-04 06:54:43 -07:00
Guillaume Beraudo
289e571fb0
Remove all remaining unnecessary casts
...
There is still such a cast in the goog library itself.
See https://github.com/google/closure-library/pull/637
2016-02-03 16:26:43 +01:00
Bart van den Eijnden
9f2e2cd1e8
Merge pull request #4772 from adube/fix-namespaceuri
...
Use node.setAttribute to set namespaceURI of a node
2016-02-03 08:55:25 +01:00
Nicholas L
d1b6a17773
Remove goog.array.extend
2016-02-03 11:41:38 +13:00
Nicholas L
39ead1bb49
Remove use of goog.array.flatten
2016-02-03 11:41:38 +13:00
Alexandre Dubé
3264d9a6ea
Use node.setAttribute to set namespaceURI
2016-02-02 13:36:24 -05:00
Andreas Hocevar
483376deb2
Untangle vector tile feature reprojection
2016-01-27 00:42:51 +01:00
Alexandre Dubé
906a132e89
Add layerName option for WMSGetFeatureInfo format
...
This option allows the format to read only features of a
given layer. This is useful if you wish to make a single
query to a WMS server with multiple layers in it.
2016-01-21 10:54:26 -05:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
0a5d15db50
Remove jshint
2016-01-11 18:58:02 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
59a66c7aaa
Remaining valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Tim Schaub
fd0e2436da
Always provide a default case for switch
2016-01-11 18:56:08 -08:00
Tim Schaub
932bf4deb3
Explicitly mark fall-throughs
2016-01-11 18:56:08 -08:00
Tim Schaub
ec10b661f3
Use block scoping
2016-01-11 18:56:08 -08:00
Guillaume Beraudo
a1c72d8890
Add missing return type to GeoJSON format
2016-01-05 11:02:23 +01:00
Frederic Junod
6e58be72bb
Remove unused goog.require
2015-12-02 14:08:34 +01:00
María Arias de Reyna
609e94a58a
Adding a check just in case the projection is not defined/supported on current app. It will just ignore it, as if there was no containerSrs defined.
2015-12-02 11:44:24 +01:00
oterral
f588fcf7b0
Set correctly the opt_this parameter when writing a KML document
2015-11-12 11:54:06 +01:00
Éric Lemoine
9cf26f1fac
Merge pull request #4376 from elemoine/kml-non-icon
...
Make KML format ignore image styles that aren't icons
2015-11-06 16:46:10 +01:00
Éric Lemoine
daa970fe4c
Make KML format ignore image styles that aren't icons
2015-11-06 15:35:20 +01:00
oterral
08a640b793
Don't transform the scale specified by the user
2015-11-06 14:29:16 +01:00
Éric Lemoine
5c536aafc7
Add a writeStyles option to KML format
2015-11-04 17:12:04 +01:00
Marc Jansen
d24dcc7753
Be less verbose when creating text style
2015-11-03 14:27:06 +01:00
Marc Jansen
bea1501bb7
Append textStyle to existing style
2015-11-03 14:26:16 +01:00
Éric Lemoine
14a1add08d
Make GPX format no fail on unsupported geometries
2015-11-02 16:26:17 +01:00
Frédéric Junod
6d9dd030a1
Merge pull request #4332 from fredj/geojson_id_0_write
...
Fix write out GeoJSON features with id equal to 0
2015-10-28 15:19:57 +01:00
Frédéric Junod
9f5240dd15
Merge pull request #4331 from fredj/topojson_id_0
...
Allow TopoJSON features with id equal to 0
2015-10-28 15:13:28 +01:00
Frederic Junod
d59f6979f7
Fix write out GeoJSON features with id equal to 0
2015-10-28 15:09:31 +01:00
Frédéric Junod
7b8b058190
ol.format.TopoJSON is read only, update the jsdoc
2015-10-28 15:02:02 +01:00
Frederic Junod
c6803838ab
Allow TopoJSON features with id equal to 0
2015-10-28 14:56:33 +01:00
Frederic Junod
7cf12d1c12
Allow GeoJSON features with id equal to 0
...
fixes #4326
2015-10-28 11:21:17 +01:00