Frédéric Junod
d190d27534
Merge pull request #4916 from fredj/writeFeatureObject_return
...
Fix ol.format.GeoJSON#writeFeatureObject return type
2016-02-25 10:22:28 +01:00
Frederic Junod
916127d8f6
Fix ol.format.GeoJSON#writeFeatureObject return type
2016-02-25 10:09:37 +01:00
Frédéric Junod
7583d8d434
Merge pull request #4909 from fredj/dom_vector_clear
...
Add ol.renderer.dom.VectorLayer#clearFrame
2016-02-25 10:08:14 +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
Sebastian Baumhekel
33bcd7194f
Export ol.proj.equivalent
...
The function ol.proj.equivalent is used for comparing two projections,
but not exposed publicly. It should be accessible using a public API to
be able to compare projections in the same way as OpenLayers does.
A test for the ol.proj.equivalent function itself already exists in
https://github.com/openlayers/ol3/blob/master/test/spec/ol/proj/proj.test.js
github issue #4913
2016-02-25 08:40:56 +01:00
Frederic Junod
348f61951c
Add ol.renderer.dom.VectorLayer#clearFrame
2016-02-24 16:13:35 +01:00
Frederic Junod
48064306a1
Remove use of goog.math.Rect
2016-02-24 14:32:58 +01:00
Frederic Junod
373393dce7
Add missing 'private' jsdoc tag
2016-02-24 14:32:57 +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
805b81cea7
Remove use of goog.style.setPosition
...
Use element.style.left and element.style.top instead
2016-02-24 12:23:10 +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
Andreas Hocevar
f2d5d572ab
Only composeFrame when prepareFrame prepared something to render
2016-02-23 13:56:39 -07:00
Frédéric Junod
ef63908539
Merge pull request #4885 from fredj/non-null_divs
...
Mark overlayContainer and overlayContainerStopEvent as non-nullable
2016-02-23 13:47:58 +01:00
Frederic Junod
268d6eda8f
Mark overlayContainer and overlayContainerStopEvent as non-nullable
...
And remove an unnecessary cast
2016-02-23 11:25:38 +01:00
Frederic Junod
84288cd8bb
Remove use of goog.math.isFiniteNumber()
...
This replaces `goog.math.isFiniteNumber()` with `isFinite()`.
2016-02-23 10:03:44 +01:00
Frederic Junod
8373814243
Remove unused goog.log logger from ol.renderer.webgl.Map
2016-02-22 10:02:15 +01:00
Frederic Junod
d7c0aa4887
Add missing ol.render.Feature type annotation
...
Leftover from #4219
2016-02-22 10:02:15 +01:00
Frederic Junod
e6c2fa52f5
Remove unneeded type cast
2016-02-22 10:02:15 +01:00
Frederic Junod
17b667d6e0
Add missing type casts for goog.partial
2016-02-22 10:02:15 +01:00
Andreas Hocevar
81750ea6b1
Merge pull request #3453 from bjornharrtell/set-multi
...
Consider multi in add/remove/toggle select logic
2016-02-22 09:49:00 +01:00
Björn Harrtell
a546e09b96
Merge branch 'master' into set-multi
2016-02-22 09:30:25 +01:00
tsauerwein
1e8bbb0ae4
Add target property to drag&drop interaction
2016-02-22 09:25:30 +01:00
Andreas Hocevar
6c7d6817bd
Merge pull request #4854 from ahocevar/fix-select-and-everything-that-relies-on-unmanaged-layers-and-skipped-features-this-time-for-real---hopefully
...
Always report skipped feature hits for the original layer
2016-02-22 09:23:28 +01:00
Frédéric Junod
82f6fb9e6d
Merge pull request #4870 from fredj/gc
...
Reuse dragListenerKeys_ local variable
2016-02-19 15:54:29 +01:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Bart van den Eijnden
ccf47de448
Merge pull request #4874 from bartvde/wfst-empty-update
...
Assert we have a feature id
2016-02-19 10:01:56 +01:00
Bart van den Eijnden
84b418b5c6
Assert we have a feature id
2016-02-19 09:41:13 +01:00
Frederic Junod
612280c676
Fix variable declaration in constructor
2016-02-18 16:38:09 +01:00
Frederic Junod
35579ab714
Reuse dragListenerKeys_ local variable
...
Reuse the array instead of recreating a new one.
2016-02-18 16:26:04 +01:00
Petr Sloup
83e251621a
Improve precision of ol.reproj.render
2016-02-18 16:25:12 +01:00
Andreas Hocevar
7cc43d36ef
Merge pull request #4597 from ahocevar/direct-render
...
Render tiles directly to the map canvas
2016-02-18 11:06:34 +01:00
Björn Harrtell
7822f5ce5d
Consider multi in add/remove/toggle select logic
2016-02-17 13:18:06 +01:00
Björn Harrtell
2d6ce527e2
Merge branch 'fix-select-and-everything-that-relies-on-unmanaged-layers-and-skipped-features-this-time-for-real---hopefully' into set-multi
2016-02-17 13:07:24 +01:00
Frédéric Junod
9baa296a49
Merge pull request #4845 from gberaudo/fix_geolocation_error_type
...
Fix geolocation error cast
2016-02-17 11:02:30 +01:00
Andreas Hocevar
5bc00d8535
Continue passing null instead of unmanaged layer to forEachFeatureAtCoordinate
2016-02-17 08:59:45 +01:00
Andreas Hocevar
9f0fefd42d
Hit-detect skipped features, but not on unmanaged layer
2016-02-17 00:54:31 +01:00
Marc Jansen
068960e4b2
Don't use goog.isBoolean()
2016-02-16 23:52:20 +01:00
Marc Jansen
5e4e9100e4
Don't use goog.isString()
2016-02-16 23:37:38 +01:00
Andreas Hocevar
bcf379cc8e
Merge pull request #4794 from ahocevar/fixed-tileloading
...
Make tile loading count no longer depend on source count
2016-02-16 15:51:55 +01:00
Guillaume Beraudo
7e6115a763
Fix geolocation error cast
...
Despite the dispatchEvent method accepting a hash with a "target" property of
"undefined", closure may still require the "target" property to be
explicit.
2016-02-16 11:36:24 +01:00
Brett Johnson
7f02b63ccc
Overloading fill color (polygon or text) with CanvasPattern and CanvasGradient.
2016-02-15 08:30:56 -08:00
Andreas Hocevar
952b99742e
Add tests, remove unused code, encapsulate repeated code in functions
2016-02-15 17:00:06 +01:00
Andreas Hocevar
a109062b1f
Rotate map canvas after composition
2016-02-15 17:00:06 +01:00
Frederic Junod
296ec9799f
Remove use of goog.dom.createDom
2016-02-15 16:40:07 +01:00
Frédéric Junod
34392b464c
Merge pull request #4808 from fredj/type_cleanup
...
Type cleanup
2016-02-15 12:01:40 +01:00
Frederic Junod
e7c57ada95
Use olx.format.ReadOptions in ol.interaction.DragAndDrop
...
Don't reproject the geometries in ol.interaction.DragAndDrop; use
the `featureProjection` option in `format.readFeatures`
2016-02-15 09:26:00 +01:00