Éric Lemoine
ec01aa45b9
Make createTileCoordTransform return identity func
...
This makes ol.tilegrid.TileGrid#createTileCoordTransform return the identity function. This makes it possible to use ol.source.TileVector with an ol.tilegrid.TileGrid (as opposed to an ol.tilegrid.XYZ).
2014-11-24 15:19:24 +01:00
Éric Lemoine
8ba830f91f
Make loadFeaturesFromUrl accept an error callback
2014-11-24 15:13:17 +01:00
tsauerwein
d6841e6d9d
Fix tests for when not run with WebGL support
2014-11-24 13:26:45 +01:00
tsauerwein
b8b48afc82
Use WEBGL_MAX_TEXTURE_SIZE as default
2014-11-24 09:57:09 +01:00
tsauerwein
e307579d49
Move constants from ol.has to ol
2014-11-24 09:42:10 +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
857a8ca2bb
Delete WebGL resources used at postcompose time
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
fe74bd1b2c
Add missing call to flush in webgl map renderer
2014-11-21 13:36:09 +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
Tobias Sauerwein
ac24b615c3
Merge pull request #39 from tsauerwein/webgl-point-hit-detection-atlas
...
[webgl-point] Add hit-detection images of symbols to separate atlas
2014-11-21 11:37:48 +01:00
Éric Lemoine
44782c59a5
Merge pull request #40 from elemoine/webgl-point-cleanup
...
[webgl-point] Remove unused WebGL related code
2014-11-21 11:37:21 +01:00
Antoine Abt
374f02c725
Fix pan with select interaction in mousemove mode.
2014-11-21 11:23:06 +01:00
Éric Lemoine
1e12e7ca90
Remove unused WebGL related code
2014-11-21 10:51:00 +01:00
tsauerwein
fb8af71f25
Use goog.isNull and goog.isDef
2014-11-21 10:42:06 +01:00
Tobias Sauerwein
283d878177
Merge pull request #36 from tsauerwein/webgl-point-has-stable
...
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
2014-11-21 10:33:18 +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
tsauerwein
8fcde092c7
Set the default of WEBGL_MAX_TEXTURE_SIZE to undefined
...
By doing so the examples will also work if WebGL is not supported.
2014-11-21 09:54:55 +01:00
tsauerwein
40c33a21eb
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
2014-11-21 09:52:09 +01:00
tsauerwein
ab42965aa2
Add hit-detection image to atlas (RegularShape)
2014-11-21 09:41:38 +01:00
tsauerwein
4132505313
Add hit-detection image to atlas (Circle)
2014-11-21 09:41:10 +01:00
tsauerwein
97f8e4ac8d
Keep separate atlas for hit-detection images
2014-11-21 09:40:22 +01:00
tsauerwein
82ef80cf60
Add imageSize and origin for hit-detection image
2014-11-21 09:39:38 +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
Guillaume Beraudo
257784e277
More lenient webgl Immediate drawing of a feature.
...
Remove assert to handle drawing features with supported geometries.
2014-11-20 13:53:00 +01:00
Guillaume Beraudo
f1402522b5
More lenient Immediate geometry collection rendering
...
Render geometry collection elements with a valid renderer inspite of
throwing an assertion error. Allows support of hierarchies of points.
2014-11-20 13:53:00 +01:00
Guillaume Beraudo
20ceae2655
Webgl immediate implementation for points
...
Internally uses a replay group to share code.
Modifies the dynamic data example to use PointGeometry
and Feature in addition to MultiPoint.
2014-11-20 13:53:00 +01:00
tsauerwein
d12db0419c
Make sure only one texture is created per image
2014-11-20 11:39:25 +01:00
Bart van den Eijnden
4b61e864e7
Merge pull request #2960 from bartvde/layergroup-extent
...
LayerGroup extent should be used if extent not set on child layer
2014-11-20 08:53:23 +01:00
Bart van den Eijnden
3db26f1d2b
Use the layergroup's extent if no extent provided
2014-11-20 08:35:40 +01:00
Frederic Junod
552f9483cb
Revert "Remove mousewheel event name workaround"
...
This reverts commit 20ce664068 .
Reverted upstream: 4ee0daca0e
2014-11-18 09:00:50 +01:00
Éric Lemoine
3bf4cf28f8
Merge pull request #2896 from kalinbas/patch-1
...
Remove duplicated style parameter
2014-11-16 20:24:31 +01:00
Tim Schaub
b1ac2ff2f2
Merge pull request #2938 from tschaub/image-static-docs
...
Additional image static docs.
2014-11-16 08:47:19 -08:00
tsauerwein
e9e76954b2
Integrate atlas manager into RegularShape
2014-11-13 11:48:23 +01:00
tsauerwein
ea65f65b37
Implement getChecksum for RegularShape
2014-11-13 10:50:07 +01:00
Frederic Junod
c701ad6749
Mark applyTransform api stable
2014-11-13 10:46:06 +01:00
Andreas Hocevar
cee1575a6c
Merge pull request #2936 from ahocevar/unselect-index
...
Fix unselection of selected features
2014-11-13 08:39:40 +01:00
tsauerwein
62e9d259b2
Fix @type annotation
...
A description for @type annotation emits a warning.
2014-11-12 17:22:27 +01:00
tsauerwein
b3b7579f84
Use atlas manager for circle style
2014-11-12 17:22:27 +01:00
tsauerwein
41887e660b
Fix call to drawElements
...
The offset must be given in bytes.
2014-11-12 16:29:46 +01:00
Tim Schaub
b269161276
A bit more static image doc
2014-11-11 19:01:05 -08:00
Andreas Hocevar
96729baa9f
Push the feature, not the index
2014-11-11 20:09:24 +01:00