Guillaume Beraudo
fe74bd1b2c
Add missing call to flush in webgl map renderer
2014-11-21 13:36:09 +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
Éric Lemoine
d9a4482393
Add ol.renderer.webgl.VectorLayer#disposeInternal
...
Implement disposeInternal to free WebGL resources (deleteBuffer and deleteTexture).
2014-11-10 16:52:32 +01:00
Éric Lemoine
87865be9f4
Add "color" support to WebGL image replay
...
This adds support for layer brightness, contrast, hue, saturation.
2014-11-10 15:00:35 +01:00
Éric Lemoine
240f425c46
Add global opacity support to WebGL image replay
...
vectorLayer.setOpacity() now works as expected.
2014-11-10 14:58:57 +01:00
Éric Lemoine
c79f3aa101
Delete WebGL buffers
2014-11-10 09:54:04 +01:00
Guillaume Beraudo
6abe3047ec
Add feature overlay support to webgl map renderer.
2014-11-07 14:17:31 +01:00
Éric Lemoine
28e51740c6
Address precision/jitter problems
...
Address precision/jitter problems by using coordinates relative to the Replay max extent rather that the world.
2014-11-03 17:45:50 +01:00
Éric Lemoine
46b03e79a4
Merge remote-tracking branch 'upstream/master' into webgl-point
2014-11-03 15:02:22 +01:00
Éric Lemoine
14d7f2a797
Delete ImageReplay textures
2014-11-03 14:16:32 +01:00
Éric Lemoine
4534bb8861
Make shaders closer to WebGL image replay
2014-11-03 13:46:34 +01:00
Andreas Hocevar
87a06c0086
Rename #getImageElement to #getImage
...
This adds consistency between ol.Image and ol.ImageTile. Now both have
an exportable getImage method.
2014-10-30 08:42:09 +01:00
Éric Lemoine
bbea205a9c
Use texture to draw points with WebGL
2014-10-27 09:18:19 +01:00
Éric Lemoine
c8225e49b1
Use triangles to draw points with WebGL
2014-10-27 09:18:19 +01:00
Éric Lemoine
33adcd3903
Add very basic webgl vector renderer
2014-10-27 09:18:19 +01:00
Frederic Junod
d7ee71a811
Remove unnecessary type cast
2014-09-03 11:14:33 +02:00
Frederic Junod
009cd9f840
Remove unnecessary type cast
2014-09-03 11:14:33 +02:00
Frederic Junod
25093b371d
Improve ol.structs.LRUCache type annotation
2014-08-27 09:09:52 +02:00
Éric Lemoine
def1af4492
No composeFrame if prepareFrame returns false
2014-08-24 14:55:13 +02:00
Éric Lemoine
ba035abb1f
Change ol.TileCoord to an Array
2014-08-18 09:33:24 +02:00
Frederic Junod
86268bcf58
Rename olx.FrameState#skippedFeatureUids_ skippedFeatureUids
...
To let the ol.Map#skippedFeatureUids_ property to be renamed by the compiler.
2014-07-31 11:30:39 +02:00
Tim Schaub
2b0284a342
Only request tiles within the layer extent
...
Layer renderers are now responsible for requesting data within a limited extent.
2014-07-24 10:26:07 -06:00
Tim Schaub
234cff4de5
Limit image layer requests to layer extent
...
This has two nice consequences that can be seen in the wms-image.js and mapbuide-untiled.js examples:
* no images are requested when you browse outside of the layer extent
* when the layer extent is within the viewport extent, cached images are used since the intersecting extent is the same for multiple viewport extents
2014-07-24 10:26:07 -06:00
Tim Schaub
2ec63b6c58
Unnecessary ol.Tile requires
2014-06-27 19:57:54 -04:00
Tim Schaub
e802902f9b
Rename ol.extent.getForView2DAndSize to ol.extent.getForViewAndSize
2014-06-27 09:59:39 -04:00
Tim Schaub
b9f444a008
Rename olx.View2DState to olx.ViewState and use viewState property
2014-06-27 09:58:25 -04:00
Éric Lemoine
49a1215f75
Pass a replay group to ol.render.Event
2014-06-14 14:21:34 +02:00
Éric Lemoine
7a1e605f14
Skipped features support to ol.source.ImageVector
2014-06-11 16:26:21 +02:00
Hadrien Tulipe
7aab28afcc
Provide ol.RendererType structure through ol.renderer.Map
...
It was previously in ol.Map, but it could not be provided because
of circular dependencies.
2014-05-27 22:47:02 +02:00
Hadrien Tulipe
1d6f9ca80b
Expose the map renderer type to the public API
...
In the case where the map decides itself which renderer to use. It can
be convenient for the developer to have knowledge of the choice made.
2014-05-27 22:47:02 +02:00
Éric Lemoine
8cd5f6d642
Merge pull request #2109 from elemoine/visibleandinrange
...
Hit detection respects min and maxResolution
2014-05-25 14:43:44 +02:00
Éric Lemoine
fd8a46dcae
Hit detection respects min and maxResolution
2014-05-25 14:35:07 +02:00
Andreas Hocevar
eb6a938062
Do not document object literals as interfaces
...
Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
2014-05-22 15:48:47 +02:00
Frederic Junod
2f918ea2a4
Remove unused goog.require
2014-05-21 16:06:32 +02:00
Tim Schaub
e4e3b2229a
Defines in ol namespace defined in ol.js
2014-04-30 08:54:30 -06:00
Tim Schaub
cec41c4b0a
Add missing requires
...
Without explicit requires, it is possible that a build would exclude ol.js.
2014-04-30 08:37:52 -06:00
Tim Schaub
aa3a20e911
Provide layer states array in frame state
2014-04-04 07:36:42 -06:00
Frederic Junod
55de0a54b9
Add ol.dom.createCanvasContext2D function
2014-04-02 09:37:41 +02:00
Tom Payne
022a7a03e0
Use oli.FrameState instead of ol.FrameState
2014-03-10 14:48:23 +01:00
Tom Payne
8bd44b2fc6
Activate useInterimTilesOnError in ol.renderer.webgl.TileLayer
2014-02-25 13:09:10 +01:00
Éric Lemoine
f9e04ad7d5
Use ol.renderer.Map#scheduleExpireIconCache
2014-02-06 12:59:39 +01:00
Tom Payne
7e020e4d26
Add ol.ENABLE_TILE to control inclusion of tile layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
8b128ece81
Add ol.ENABLE_IMAGE to control inclusion of image layer renderers
2014-01-30 11:20:59 +01:00
Tom Payne
2f50b9dc84
Sort layer types alphabetically
2014-01-30 11:20:59 +01:00
Éric Lemoine
2a531136fc
Pass layer to forEachFeatureAtPixel callback
...
This fixes a bug where the layer renderer instead of the layer is passed to the forEachFeatureAtPixel callback.
2014-01-17 11:38:06 +01:00
Éric Lemoine
e83ec2976f
Change forEachFeatureAtPixel arguments names
2014-01-17 11:38:06 +01:00
Frederic Junod
a139814b2f
Scale WebGL output canvas by devicePixelRatio
2014-01-15 16:20:51 +01:00
Tom Payne
977f5cf5b2
Add HiDPI support to ol.renderer.webgl.TileLayer
2014-01-15 15:55:20 +01:00
Tom Payne
091888aaca
Use ol.source.Tile#getTileGridForProjection
2014-01-15 15:55:19 +01:00
Tom Payne
58fef69fac
Add pixelRatio to ol.source.Tile#getTile
2014-01-15 15:55:19 +01:00