Peter Robins
c7aeebed8c
Rename sub-sub-namespace typedefs to sub-namespace
...
These sub-sub-namespace typedefs are only used internally; some of them cause problems by creating a form of circular dependency. For example, ol.style.Atlas is created in style/atlasmanager.js; if ol.style.Atlas.Block is in a separate file, ol.style.Atlas is dependent on it, so the new file must precede ol.style.Atlas. However if it precedes it then it has to create the ol.style.Atlas namespace which should be created by atlasmanager.js. To get round this, these typedefs are renamed to remove the sub-sub-namespace.
Fortunately they are all non-api, so the rename should not affect anything.
2016-05-11 19:46:56 +00:00
Peter Robins
4f0b4dacbd
Move sub-namespace typedefs to typedefs.js
...
Here too there is one problem case.
2016-05-11 19:45:59 +00:00
Tim Schaub
0eb7e8220d
Immediate rendering for all vector contexts
2016-03-18 17:31:14 -06:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Frederic Junod
8373814243
Remove unused goog.log logger from ol.renderer.webgl.Map
2016-02-22 10:02:15 +01:00
Frederic Junod
17b667d6e0
Add missing type casts for goog.partial
2016-02-22 10:02:15 +01:00
Tim Schaub
554887ae14
Remove use of goog.object.forEach()
2016-02-04 06:54:44 -07:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Nicholas L
d820b54443
Remove goog.array.equals and goog.array.stableSort
2016-02-03 11:41:39 +13:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Frederic Junod
1092f6b2a2
Remove use of goog.dom.createElement
2015-11-23 09:22:39 +01:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Marc Jansen
138adf0509
Remove goog.isNull in renderer classes
2015-10-01 09:17:14 +02:00
Frederic Junod
bb5b711dac
Remove unused ol.renderer.webgl.Map.DEFAULT_COLOR_VALUES_
2015-09-08 15:40:35 +02:00
Frederic Junod
529f869803
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-09-07 09:15:34 +02:00
Guillaume Beraudo
3811228ac7
Add Z-index to layers
...
This commit allows setting a z-index property on the layers and uses
it in the canvas, WEBGL and DOM map renderers for ordering the layers
before rendering.
Default z-index is 0 for managed layers and 1000 for unmanaged ones.
It allows always on bottom, always on top and more complex layer layouts.
2015-09-03 11:31:57 +02:00
Frederic Junod
0a6745f1e4
Remove unused goog.require
...
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Andreas Hocevar
ac8e62818f
Fire WebGL precompose event in same sequence as other renderers
...
In other map renderers, the precompose event is fired before preparing and
composing layer frames. In WebGL, it is fired in between. This change makes
it so the sequence of events is the same for all renderers.
Because the WebGL renderer creates the list of layers to render before the
precompose event, unmanaged layers are never rendered. This is also fixed
by dispatching the precompose event earlier.
2015-07-11 14:58:31 +02:00
Andreas Hocevar
53d5d8c1d9
Get rid of ol.FeatureOverlay
...
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Andreas Hocevar
2b75341068
Add support for non-square tiles
2015-04-14 22:54:57 +02:00
Marc Jansen
fb9ba22c30
Add message to assertions.
2015-03-30 22:53:03 +02:00
tsauerwein
f4500c8f89
Rename *AtPixel to *AtCoordinate if coordinate
2015-01-30 10:00:37 +01:00
tsauerwein
4d4bed454a
Avoid pixel->coord->pixel conversion
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
dce4210a5b
Implement forEachLayerAtPixel for webgl
2015-01-30 10:00:36 +01:00
Frederic Junod
948a1f1321
Use the layerStatesArray property from the frameState
2015-01-22 17:36:26 +01:00
tsauerwein
c85982bbe5
Remove unused variables
2015-01-09 09:21:40 +01:00
tsauerwein
d39904b66b
Add @const annotation
2015-01-08 16:12:52 +01:00
tsauerwein
bc71a36292
Implement hasFeatureAtPixel for webgl
2015-01-08 16:12:52 +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
Frederic Junod
eabb795624
Remove misplaced function annotation
2014-12-22 11:12:01 +01:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00
Éric Lemoine
857a8ca2bb
Delete WebGL resources used at postcompose time
2014-11-21 16:35:05 +01:00
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
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
Guillaume Beraudo
6abe3047ec
Add feature overlay support to webgl map renderer.
2014-11-07 14:17:31 +01:00
Éric Lemoine
33adcd3903
Add very basic webgl vector renderer
2014-10-27 09:18:19 +01: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
Tim Schaub
2ec63b6c58
Unnecessary ol.Tile requires
2014-06-27 19:57:54 -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
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