Peter Robins
2117f2e3b1
Convert all typedefs to CamelCase
2016-05-18 19:44:45 +00:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00:00
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
Andreas Hocevar
5c76cb01af
Use a snapshot of the frameState extent
2016-05-09 15:23:00 +02:00
drnextgis
f9a16898a5
Add ol.source.Raster events on API docs page
2016-03-24 22:25:48 +06:00
Andreas Hocevar
f2d5d572ab
Only composeFrame when prepareFrame prepared something to render
2016-02-23 13:56:39 -07:00
Andreas Hocevar
7cc43d36ef
Merge pull request #4597 from ahocevar/direct-render
...
Render tiles directly to the map canvas
2016-02-18 11:06:34 +01:00
Andreas Hocevar
98b823c5fc
Render tiles directly to the map canvas
...
This change removes the overhead of rendering tiles to an intermediate canvas.
2016-02-12 12:54:19 +01:00
Andreas Hocevar
3f36e0967f
Make tile loading count no longer depend on source count
2016-02-05 09:38:16 +01:00
Andreas Hocevar
0c23d9a7ff
Keep track of tile source count
2016-02-04 06:54:45 -07:00
Tim Schaub
a74af66d5f
Use ol.object.assign() instead of goog.object.clone()
2016-02-04 06:54:43 -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
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
54df314936
Consistent curly brace style
2016-01-11 18:56:08 -08:00
Marc Jansen
e1f477ad8c
Remove goog.isNull in source classes
2015-10-01 09:18:52 +02:00
Marc Jansen
cd5b15fa55
Remove use of goog.functions.constant
2015-09-29 20:28:06 +02:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
b36d697585
Inline goog.isDef() property checks
2015-09-27 10:21:50 -06:00
Frederic Junod
529f869803
Remove unnecessary cast
...
Found by the latest version of closure-compiler (v20150729)
2015-09-07 09:15:34 +02:00
Tim Schaub
16aa548383
Only create a worker if an operation is provided
2015-08-03 21:32:16 -06:00
Tim Schaub
860fdabd76
Simplify raster sources by working with a single operation
2015-08-03 20:10:46 -06:00
Tim Schaub
4320b07c5d
Doc corrections
2015-08-01 16:33:43 -06:00
Tim Schaub
0c486c522a
Allow UI thread to be used
...
Where workers are not available, or if operations are trivial to run, the main UI thread can be used instead. This also adds tests that run in real browsers.
2015-07-21 17:12:08 -06:00
Tim Schaub
643c2e6f21
Only update canvas if not dirty
2015-07-21 17:12:07 -06:00
Tim Schaub
793b27e9f5
Allow operations to be updated
2015-07-21 17:12:07 -06:00
Tim Schaub
9d28549b2b
Pass along potentially modified data
2015-07-21 17:12:07 -06:00
Tim Schaub
ef90f5a097
Run operations in a worker
2015-07-21 17:12:07 -06:00
Tim Schaub
65fee5b7ac
Pass data object to operations
2015-07-21 17:12:07 -06:00
Tim Schaub
5267776627
Provide extent and resolution in raster events
2015-07-21 17:12:06 -06:00
Tim Schaub
a721ce03c9
Support for image or pixel operations
2015-07-21 17:12:06 -06:00
Tim Schaub
23e2fcefef
Only render if sources are ready
2015-07-21 17:12:06 -06:00
Tim Schaub
d17d470d48
Fire change when updating operations
2015-07-21 17:12:06 -06:00
Tim Schaub
c6dedbc40b
Use the first pixel for rendering, allow setting operations
2015-07-21 17:12:06 -06:00
Tim Schaub
de107c5502
Frame and canvas have equal size
2015-07-21 17:12:06 -06:00
Tim Schaub
2c82ca86f0
Fire events before and after running ops
2015-07-21 17:12:06 -06:00
Tim Schaub
acc97a53eb
Raster source for composing pixels from other sources
2015-07-21 17:12:05 -06:00