Frederic Junod
e25cb30e5f
Disallowed undefined 'hue' value
2015-01-27 18:07:42 +01:00
Frederic Junod
c7dbd4a303
Disallowed undefined 'visible' value
2015-01-27 18:07:42 +01:00
Frederic Junod
829a0ca224
Disallowed undefined rotation value
2015-01-27 09:26:51 +01:00
Frederic Junod
915df000ab
Use view.getRotation instead of view.getState
2015-01-26 13:39:49 +01:00
Frederic Junod
247d8668d1
Use view.getResolution instead of view.getState
2015-01-26 13:39:49 +01:00
Frederic Junod
7c7a4c2b7a
Use view.getRotation instead of view.getState
2015-01-26 13:39:49 +01:00
Frederic Junod
7885ad6ae7
Remove unnecessary newlines
2015-01-26 10:33:00 +01:00
Frederic Junod
98f7b5f186
Mark projection property as constant
2015-01-26 10:20:21 +01:00
Frederic Junod
eb7041c71d
Simplify ternary operator condition
2015-01-26 09:51:53 +01:00
Tobias Sauerwein
90a5997c22
Merge pull request #3108 from tsauerwein/webgl-point-skipFeatures
...
Support skipping features in the WebGL renderer
2015-01-23 08:56:39 +01:00
Frederic Junod
948a1f1321
Use the layerStatesArray property from the frameState
2015-01-22 17:36:26 +01:00
Frederic Junod
f3bafab1e6
Don't pass specific options to the parent constructor
2015-01-22 11:30:20 +01:00
tsauerwein
316480dcda
Rename argument
2015-01-22 10:24:59 +01:00
tsauerwein
a39544cce0
Implement skipping features for hasFeatureAtPixel
2015-01-22 10:24:59 +01:00
tsauerwein
cf9619f378
Implement skipping features for 1by1 hit detection
2015-01-22 10:24:59 +01:00
tsauerwein
c4ee074274
Implement skipping features for drawReplay
2015-01-22 10:24:59 +01:00
Tobias Sauerwein
1702a4ed36
Merge pull request #3066 from tsauerwein/webgl-point-hasFeatureAtPixel
...
Introduce hasFeatureAtPixel
2015-01-22 10:20:00 +01:00
Tobias Sauerwein
53f98dcf4e
Merge pull request #3065 from tsauerwein/webgl-point-hit-detection
...
Add hit-detection support for WebGL
2015-01-22 10:19:37 +01:00
Éric Lemoine
f625a29978
Merge pull request #3128 from oterral/kml_default_style
...
Allow rendering of feature when download of icon failed
2015-01-21 15:08:02 +01:00
Frédéric Junod
b6a550f354
Merge pull request #3156 from fredj/format-getprojection
...
Move readProjectionFrom* functions to the base classes
2015-01-21 13:30:47 +01:00
Éric Lemoine
b27c1c82d4
Merge pull request #3107 from elemoine/imagestate
...
Also listen on loading images
2015-01-21 12:50:31 +01:00
Frederic Junod
077a827197
Move readProjectionFrom* functions to the base classes
2015-01-21 09:15:04 +01:00
Frederic Junod
b53a5e28d5
Remove unnecessary newlines
2015-01-20 16:48:52 +01:00
Éric Lemoine
11eeb6617c
Add wrapX option to olx.source.BingMapsOptions
2015-01-16 17:15:59 +01:00
Éric Lemoine
d13a5dfb9f
Add wrapX option to olx.source.OSMOptions
2015-01-16 17:12:00 +01:00
Éric Lemoine
4b3726fe71
Merge pull request #3139 from elemoine/control-setmap
...
Add ol.control.Control#setTarget
2015-01-16 11:16:30 +01:00
Éric Lemoine
79312c2083
Add ol.control.Control#setTarget
...
This commit adds a setTarget method to ol.control.Control. This function can be used in cases where the target cannot be set at control construction time. For example, with Angular, it makes sense to create the control instance in an Angular controller, and have a "control" directive insert the control into the DOM.
2015-01-16 09:27:30 +01:00
Frédéric Junod
1033171ff0
Merge pull request #3136 from fredj/coding-style
...
Use array.length = 0 instead of goog.array.clear
2015-01-16 08:08:27 +01:00
Tim Schaub
06dc0902c6
Avoid use of goog.array.clone with arrays
2015-01-15 12:43:12 -07:00
Frederic Junod
845957a27f
Use array.length = 0 instead of goog.array.clear
2015-01-15 16:11:29 +01:00
Frederic Junod
0bae04331d
Revert "Use offsetX and offsetY if available"
...
This reverts commit fabf05977a .
2015-01-15 08:56:55 +01:00
Andreas Hocevar
c726cbfcd9
Merge pull request #2385 from ahocevar/update-vectors-while-animating
...
Option to update vector layers while animating
2015-01-14 17:34:39 +01:00
Andreas Hocevar
b1a73da9dd
Add updateWhileAnimating option
...
With this option, vector batches will be recreated with every frame.
For animations, this means that vector data won't be clipped to the
extent at which the animation started.
2015-01-14 16:33:05 +01:00
Frederic Junod
baf424f99c
Only update the rbush item if the extent has changed
2015-01-14 13:29:28 +01:00
Andreas Hocevar
017ff47bf8
Merge pull request #3117 from ahocevar/domvector-pixelratio
...
Add pixelRatio support for DOM vector renderer
2015-01-14 12:55:05 +01:00
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
oterral
c97a29d13b
Allow rendering of feature when download of icon failed
2015-01-14 09:34:03 +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
Andreas Hocevar
bbf074b70a
Add pixelRatio support for DOM vector renderer
...
Adds the scaling and transforms to support pixelRatio values other than
1.
2015-01-12 22:14:52 +01:00
tsauerwein
c85982bbe5
Remove unused variables
2015-01-09 09:21:40 +01:00
Éric Lemoine
4814983306
Also listen on loading images
...
This fixes a bug that occured when an image source was used by multiple maps. In that case the map that didn't load the image wouldn't register a load listener on that image and would therefore not call render to request a re-render of the map.
2015-01-09 09:07:31 +01:00
tsauerwein
d39904b66b
Add @const annotation
2015-01-08 16:12:52 +01:00
tsauerwein
25612f1af2
Unify return statement
...
Only return the callback result if it is truthy,
otherwise return undefined.
2015-01-08 16:12:52 +01:00
tsauerwein
bc71a36292
Implement hasFeatureAtPixel for webgl
2015-01-08 16:12:52 +01:00
tsauerwein
d62e910239
Implement hasFeatureAtPixel for canvas
2015-01-08 16:12:52 +01:00