Tobias Sauerwein
110ed04a84
Merge pull request #3124 from sirtet/master
...
Add a space between scale -value and -unit
2015-01-14 12:41:01 +01:00
Frédéric Junod
2f5bbb37ed
Merge pull request #3130 from fredj/doc
...
Document default value
2015-01-14 12:39:15 +01:00
Frederic Junod
5f55e01849
Document default value
2015-01-14 12:12:38 +01:00
Frederic Junod
f7943b9401
Set extent and extentRevision variables to private
2015-01-14 11:01:18 +01:00
Frederic Junod
8bd0a1232a
Add geom.ol.geom.Geometry#computeExtent function
2015-01-14 11:01:18 +01:00
sirtet
66fea4dec9
Add a space between scale -value and -unit
...
For improved readability. Issue #3116
2015-01-13 16:16:20 +01:00
Brian Reavis
37dac8e0cf
Fixed "Cannot read property 'firstElementChild' of null" on WFS readProjectionFromNode.
...
Occurs when a FeatureCollection is empty.
Code style changes @bartvde
Added test case for #3118 .
Attempt to make jshint happy.
Fixed tab character.
Another code style change (jshint)....
2015-01-13 01:42:03 -07:00
Frederic Junod
b827bc126c
Don't pass specific options to the parent constructor
2015-01-08 14:07:33 +01:00
Frederic Junod
91d2b3b87f
Don't pass renderBuffer option to the parent constructor
2015-01-08 10:59:42 +01:00
Frédéric Junod
904fac082c
Merge pull request #3096 from fredj/example-cleanup
...
popup example cleanup / simplification
2015-01-08 09:07:25 +01:00
Tim Schaub
1ee03625e9
Optimize hit detection by rendering features in a limited extent
2015-01-07 23:04:42 -07:00
Tim Schaub
3be6a84de6
Merge pull request #3101 from tschaub/object
...
Use bracket notation instead of goog.object functions.
2015-01-07 22:57:28 -07:00
Tim Schaub
1ff43686f5
Use bracket notation instead of goog.object.get
2015-01-07 22:31:01 -07:00
Tim Schaub
f9a92c422c
Use bracket notation instead of goog.object.set
2015-01-07 21:08:24 -07:00
Frederic Junod
55dda99cfe
Assert that ol.layer.Tile#getUseInterimTilesOnError is always set
2015-01-07 16:59:44 +01:00
Frederic Junod
df51e55781
Assert that ol.layer.Tile#getPreload is always set
2015-01-07 16:48:15 +01:00
Frederic Junod
d4ff5527c9
Set the position to undefined to hide the overlay
2015-01-06 09:26:00 +01:00
Tim Schaub
06fe8288ce
Merge pull request #3084 from openlayers/v3.1.x
...
Changes from the v3.1.x branch.
2015-01-05 10:22:14 -07:00
Mike McGann
cc4a690676
Fixed documentation typo for return value of ol.proj.Projection.isGlobal()
2014-12-23 15:38:49 -05:00
Tim Schaub
e62c333f32
Correct arguments for forEachGeometryAtPixel
2014-12-23 11:10:04 -05:00
Andreas Hocevar
97afb31a65
Merge pull request #3073 from ahocevar/load-tile-options
...
Make map's deviceOptions map options
2014-12-23 16:11:22 +01:00
Frederic Junod
eabb795624
Remove misplaced function annotation
2014-12-22 11:12:01 +01:00
Andreas Hocevar
38b12d3149
Make map's deviceOptions map options
...
This removes the map's deviceOptions config option, and instead
introduces loadTilesWhileAnimating and loadTilesWhileInteracting map
options. By default, both are false now, to make zooming and panning
smoother on most devices.
2014-12-21 12:03:28 +01:00
Éric Lemoine
85a6de0ed6
Merge pull request #3061 from elemoine/render-bug2
...
Add a renderBuffer option to ol.layer.Vector
2014-12-19 08:58:38 +01:00
Éric Lemoine
a24716ac8a
Merge pull request #3048 from elemoine/drag-features
...
Add a drag-features example
2014-12-19 08:49:11 +01:00
Éric Lemoine
f1bf782133
Change "recreate batch" strategy
...
Only recreate batch when the (buffered) rendered extent contains the **buffered** viewport extent.
2014-12-19 08:43:47 +01:00
Éric Lemoine
14ea2bf413
Add ol.geom.Geometry#translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
374f916b3a
Add ol.geom.flat.transform.translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
4a311e66d7
Add ol.Map#getTargetElement
...
ol.Map#getTarget returns an element or a string, depending on what was passed to setTarget. This commit adds a getTargetElement method that always returns an Element.
2014-12-18 14:13:44 +01:00
Éric Lemoine
6b46d5c76a
Make shouldStopEvent default to the identity func
2014-12-18 14:13:44 +01:00
Éric Lemoine
1907de667a
Make ol.interaction.Pointer call handleMoveEvent
2014-12-18 14:13:44 +01:00
Éric Lemoine
711ec705b7
Add handle*Event options to ol.interaction.Pointer
...
More specifically: handleDownEvent, handleDragEvent, handleMoveEvent, and handleUpEvent.
2014-12-18 14:13:44 +01:00
Éric Lemoine
8e8fc9977c
Add a renderBuffer option to ol.layer.Vector
2014-12-18 13:20:32 +01:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00
Andreas Hocevar
fe0e17fdaf
Merge pull request #3010 from ahocevar/style-geometry
...
Allow styles to override feature geometries
2014-12-18 10:45:50 +01:00
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
Frédéric Junod
e95a350203
Merge pull request #3056 from fredj/memory-extent
...
Reuse previousExtent_ local variable
2014-12-17 13:53:16 +01:00
Frederic Junod
7c6ccca572
Reuse previousExtent_ local variable
2014-12-17 10:36:31 +01:00
Frederic Junod
2ea685e18f
Add 'opt_' prefix to optional param
2014-12-17 10:29:49 +01:00
Bart van den Eijnden
13ce41a1d5
Merge pull request #3044 from gberaudo/api_image_style_constructor_properties
...
Mark Image style constructor properties `@api`
2014-12-17 10:25:20 +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
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
a1c6662812
Do not quote featureNS and featureType in options
2014-12-15 20:28:13 +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
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
Guillaume Beraudo
ae998a7585
Mark Image style constructor properties @api
2014-12-15 14:41:35 +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