Andreas Hocevar
784701641d
Add a getGeometry method
2014-12-18 10:28:21 +01:00
Andreas Hocevar
2bf191b5e3
Assert that feature.get('foo') returns a geometry
2014-12-18 10:08:35 +01:00
Andreas Hocevar
19015d2ca9
Create typedef
2014-12-18 10:07:57 +01:00
Andreas Hocevar
af30b88413
Allow geometryFunction to return undefined
2014-12-16 01:12:08 +01:00
Andreas Hocevar
6478454a93
Use getGeometryFunction() in immediate API
2014-12-15 23:22:26 +01:00
Andreas Hocevar
49f9690786
Add tests for setGeometry
2014-12-15 23:21:02 +01:00
Andreas Hocevar
8d9acb8f48
Add an example showing the use of ol.style.Style#geometry
2014-12-15 23:21:02 +01:00
Andreas Hocevar
2d12531105
Allow styles to override feature geometries
...
With this change, application developers are able to define styles that
render a different geometry than the feature geometry. This can e.g. be
used to render an interior point of a polygon instead of the polygon, or
to render symbols like arrows along lines.
2014-12-15 23:20:53 +01:00
Bart van den Eijnden
e57ea1e66b
Merge pull request #2699 from bartvde/issue-2699
...
No need for featureNS and featureType to be quoted
2014-12-15 21:06:02 +01:00
Bart van den Eijnden
a1c6662812
Do not quote featureNS and featureType in options
2014-12-15 20:28:13 +01:00
Tim Schaub
a101204ded
Merge pull request #3047 from tschaub/jsdoc-warnings
...
Move description above annotation to avoid JSDoc warnings.
2014-12-15 09:57:02 -07:00
Bart van den Eijnden
fffeeaea97
Merge pull request #2996 from bartvde/regularshape-api
...
Add getter functions for points and angle in ol.style.RegularShape
2014-12-15 17:33:54 +01:00
Bart van den Eijnden
babc33fcb0
Add getter functions for points and angle in ol.style.RegularShape
2014-12-15 17:04:43 +01:00
Tim Schaub
abdae62481
Move description above annotation to avoid JSDoc warnings
2014-12-15 07:50:48 -08:00
Andreas Hocevar
7ece729d5f
Merge pull request #3046 from ahocevar/pointerinteraction-api
...
Need exportable constructor for constructor options in olx
2014-12-15 16:41:44 +01:00
Éric Lemoine
a8b7f3570d
Merge pull request #3043 from elemoine/nocompile-wfs
...
Use // NOCOMPILE for vector-wfs
2014-12-15 16:31:31 +01:00
Éric Lemoine
3623b4b31d
Merge pull request #3042 from gberaudo/example_name_in_check_examples_exception
...
Print example name in check-examples exception
2014-12-15 16:31:11 +01:00
Andreas Hocevar
5eb1537f48
Need exportable constructor for constructor options in olx
...
When a constructor options object is created in the olx namespace,
the constructor that uses it must be exportable as well.
2014-12-15 16:15:30 +01:00
Éric Lemoine
7a09b11da5
Use // NOCOMPILE for vector-wfs
...
This is temporary solution until the demo.boundless.com WFS works again.
2014-12-15 15:24:28 +01:00
Guillaume Beraudo
3c00c7cf4c
Print example name in check-examples exception
2014-12-15 15:21:55 +01:00
Éric Lemoine
86561e5ef2
Merge pull request #3032 from elemoine/custom-components
...
Extension points for custom controls and interactions
2014-12-15 13:41:56 +01:00
Andreas Hocevar
e0f574bd25
Merge pull request #3033 from ahocevar/select-return
...
Allow custom mousemove conditions for Select interaction
2014-12-15 13:26:40 +01:00
Frédéric Junod
f5722bbbf9
Merge pull request #3040 from fredj/memory
...
Transform the coordinates in place
2014-12-15 11:32:41 +01:00
Andreas Hocevar
9b0b1543e0
Allow custom mousemove conditions
...
When configuring a Select interaction with a custom condition that
includes mousemove, panning the map will not work any more. This is
because the return value of handleMapBrowserEvent is determined by
checking for a default condition function. By checking for the
underlying event type instead, we gain flexibility with custom condition
functions.
2014-12-15 11:28:45 +01:00
Antoine Abt
aafe698285
Merge pull request #3036 from tonio/modify_stride
...
Respect geometry stride in modify interaction
2014-12-15 09:46:56 +01:00
Frederic Junod
c167b2b49d
Transform the coordinates in place
2014-12-15 09:30:37 +01:00
Tim Schaub
7fd017879f
Merge pull request #3020 from tschaub/err-message
...
Correct error message from generate-info.js.
2014-12-12 12:06:50 -08:00
Éric Lemoine
a9f3367310
Rename handleMapPostrender to render (overlay)
2014-12-12 18:30:43 +01:00
Éric Lemoine
d07185e8f2
Add an "handleEvent" interaction option
2014-12-12 18:30:31 +01:00
Éric Lemoine
df170859cc
Add a "render" control option
2014-12-12 18:30:02 +01:00
Bart van den Eijnden
ca355d2887
Merge pull request #3037 from bartvde/regularshape-rotation
...
Implement rotation for ol.style.RegularShape
2014-12-12 16:48:02 +01:00
Bart van den Eijnden
38dca7792c
Implement rotation for ol.style.RegularShape
2014-12-12 15:19:31 +01:00
Andreas Hocevar
2c9fab22c8
Merge pull request #3015 from klokantech/utfgrid
...
UTFGrid Support
2014-12-12 12:37:37 +01:00
Petr Sloup
65583a8b77
preemptive is now true by default + improved documentation
2014-12-12 12:19:20 +01:00
Petr Sloup
7bcd925cdb
Minor code style fix
2014-12-12 11:55:55 +01:00
Petr Sloup
82a30b4cd5
Modified the sync/async behavior logic of the forDataAtCoordinate* methods
2014-12-12 11:47:35 +01:00
Antoine Abt
e7db23761c
Respect geometry stride in modify interaction
2014-12-12 11:22:15 +01:00
Bart van den Eijnden
31f7279de1
Merge pull request #3012 from bartvde/fix-ie9-tests
...
Failing tests in IE9
2014-12-10 16:10:38 +01:00
Bart van den Eijnden
c3beae6b16
Fix failing tests in IE9
2014-12-10 12:02:06 +01:00
Frédéric Junod
ae8f5149a7
Merge pull request #3029 from fredj/update-closure
...
Update closure compiler and library
2014-12-10 07:47:30 +01:00
Frédéric Junod
0052116860
Merge pull request #3031 from fredj/FitGeometryOptions
...
Add missing maxZoom property in olx.view.FitGeometryOptions
2014-12-09 15:28:29 +01:00
Frederic Junod
5c2501d982
Add missing maxZoom property in olx.view.FitGeometryOptions
2014-12-09 14:59:13 +01:00
Frederic Junod
1238ab0df0
Remove ol.Object.capitalize and use goog.string.capitalize
2014-12-09 11:55:27 +01:00
Frederic Junod
f8b59dbd53
Use goog.array.extend instead of ol.array.safeExtend
...
The upstream implementation now supports large arrays.
See https://github.com/google/closure-library/pull/356
2014-12-09 11:55:27 +01:00
Frederic Junod
443c9749fb
Update closure-library version
2014-12-09 11:55:27 +01:00
Frederic Junod
7bc2081138
Update closure-util to v1.2.0
2014-12-09 11:55:09 +01:00
Frédéric Junod
0a01204bb3
Merge pull request #3028 from fredj/wfsformat-cleanup
...
ol.format.WFS cleanup
2014-12-09 09:35:00 +01:00
Frederic Junod
aaf689bbec
Uppercase ol.format.WFS.SCHEMA_LOCATION const
2014-12-09 09:19:15 +01:00
Frederic Junod
7922c08fe0
Uppercase ol.format.WFS.XMLNS const
2014-12-09 09:18:12 +01:00
Frederic Junod
045109aaab
Uppercase ol.format.WFS.FEATURE_PREFIX const
2014-12-09 09:16:41 +01:00