Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
Frederic Junod
f6b47f086b
Use ol.extent.createOrUpdateFromCoordinate
...
Instead of ol.extent.boundingExtent
2015-02-04 14:14:50 +01:00
Frederic Junod
f9723aa310
Add missing goog.require
2015-02-03 15:52:19 +01:00
Frederic Junod
0d3eb8642f
Cache the buffered extent value
...
Assuming that the maxExtent and resolution property are immutable
2015-02-03 10:37:38 +01:00
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
2015-01-30 10:00:37 +01:00
tsauerwein
054227fd26
Make signature for *AtPixel methods more consistent
...
pixel/coordinate is the first argument.
2015-01-30 10:00:36 +01:00
tsauerwein
7feb8b22f6
Rename forEachGeometryAtPixel
2015-01-30 10:00:36 +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
oterral
c97a29d13b
Allow rendering of feature when download of icon failed
2015-01-14 09:34:03 +01:00
tsauerwein
c85982bbe5
Remove unused variables
2015-01-09 09:21:40 +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
974823dbd4
Refactor createTexture
2015-01-08 15:40:03 +01:00
tsauerwein
38322d615b
Use renderBuffer for hit-detection
2015-01-08 15:38:00 +01:00
tsauerwein
060c9f3bc6
Reduce number of arrays created
2015-01-08 15:38:00 +01:00
tsauerwein
cf6dd38866
Use hit-detection images
2015-01-08 15:38:00 +01:00
tsauerwein
3ef61fa1c5
Add hit-detection support for webgl
2015-01-08 15:38:00 +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
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
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +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
Frederic Junod
c167b2b49d
Transform the coordinates in place
2014-12-15 09:30:37 +01:00
Éric Lemoine
fdf52c1865
Simplify hit detection code
2014-12-05 15:42:54 +01:00
Éric Lemoine
a820ccea5a
Use alphabetical order for canvas ReplayGroup methods
2014-12-05 12:32:54 +01:00
Éric Lemoine
9421bbd362
More clean-ups in the canvas replay code
2014-12-05 12:29:53 +01:00
Éric Lemoine
4c2a0d2053
Remove unused code in the canvas replay code
2014-12-05 12:24:54 +01:00
Éric Lemoine
b3ad50018d
Remove unused local variable
2014-12-05 12:24:54 +01:00
Éric Lemoine
27d30e4286
Replay replays in correct order for hit detection
2014-12-05 12:24:54 +01:00
Éric Lemoine
6d1d47a918
Remove @api for ol.render.webgl.Immediate#flush
2014-12-04 11:22:15 +01:00
Éric Lemoine
aef11b7471
Better comment in ivectorcontext.js
2014-12-04 11:18:58 +01:00
Éric Lemoine
c0bbb6c4fa
Disable vertex attrib array after replay
2014-11-21 17:48:58 +01:00
Éric Lemoine
b3369cd516
Delete WebGL resources used by immediate API
2014-11-21 16:35:05 +01:00
Éric Lemoine
37f91690f1
Merge pull request #45 from elemoine/webgl-point-buffer
...
[webgl-point] Rename ol.structs.Buffer to ol.webgl.Buffer
2014-11-21 16:14:01 +01:00
Éric Lemoine
57db47ac18
Rename ol.structs.Buffer to ol.webgl.Buffer
...
The Buffer class is WebGL specific, and it's not really a "data structure", in the pure sense of the term.
2014-11-21 15:48:31 +01:00
Éric Lemoine
6360e4497d
Add a comment to WebGL ImageReplay
...
A comment explaining why we don't need to call deleteProgram and deleteShader in the function returned by getDeleteResourcesFunction.
2014-11-21 15:39:23 +01:00
Éric Lemoine
dae5bd53b7
Merge pull request #41 from elemoine/webgl-point-cleanup
...
[webgl-point] Use ol WebGL infrastructure in WebGL replay
2014-11-21 14:56:19 +01:00
Guillaume Beraudo
235f7c5bd1
Fix lack of @api doc in webgl Immediate
2014-11-21 13:35:20 +01:00
Éric Lemoine
fd9db053c0
Use ol WebGL infrastructure in WebGL replay
2014-11-21 11:39:47 +01:00
Éric Lemoine
a665b76f8f
Merge pull request #38 from elemoine/webgl-point-uint
...
Fix assert in WebGL replay
2014-11-21 10:20:44 +01:00
Éric Lemoine
05f71383f9
Fix assert in WebGL replay
2014-11-21 09:33:45 +01:00
Éric Lemoine
ee54d21b89
Merge pull request #37 from elemoine/webgl-point-uint
...
[webgl-point] Use OES_element_index_uint when available
2014-11-20 17:08:16 +01:00
Éric Lemoine
2f7c97f25a
Use OES_element_index_uint when available
2014-11-20 16:39:25 +01:00
Guillaume Beraudo
7d01946fef
Removing webgl Immediate delegation code for drawing text
2014-11-20 13:53:00 +01:00