Tom Payne
3ec2014ad1
Rename tileUsage to usedTiles
2013-01-19 15:03:01 +01:00
Tom Payne
1c524caae6
Discard unwanted tiles from tile queue
2013-01-19 15:03:01 +01:00
Peter Robins
11938d2264
Add missing dependencies, refs #116
2013-01-18 13:01:10 +01:00
Tim Schaub
10672ad303
Standardizing color ranges (see #129 )
2013-01-17 14:19:50 -07:00
Tom Payne
b880ab80ee
Factor out updateTileUsage
2013-01-17 11:51:38 +01:00
Tom Payne
9fbabc3696
Refactor attribution control
2013-01-16 16:34:31 +01:00
Tom Payne
183aac90fa
Remove unused requires
2013-01-14 20:52:47 +01:00
Tom Payne
8ced15ce2e
Move closure out of loop, and use loop rather than forEachTileCoord
2013-01-14 16:21:58 +01:00
Tom Payne
0916f14536
Use a loop rather than tileRange.forEachTileCoord
2013-01-14 16:21:58 +01:00
Tom Payne
be04053ef1
Move common event handlers into base class
2013-01-14 12:46:39 +01:00
Tom Payne
9764e76975
Move pixel/coordinate matrices into frame state, remove canRotate
2013-01-14 12:46:39 +01:00
Tom Payne
78e8e34fe6
Add missing instance variable declaration, thanks @elemoine
2013-01-14 11:13:34 +01:00
Tom Payne
3f6e6169af
Hide canvas when map is not defined
2013-01-12 19:24:20 +01:00
Tom Payne
0443ebc3fa
Remove stale FIXMEs
2013-01-12 19:23:54 +01:00
Tom Payne
97207e5723
Remove rarely-used logger
2013-01-12 19:01:09 +01:00
Tom Payne
be28fb4ccc
Don't try to overload method return type
2013-01-12 18:58:36 +01:00
Tom Payne
655b6a1b00
Always free WebGL resources in post render
2013-01-12 18:57:50 +01:00
Tom Payne
a26deb62bf
Remove unused variable
2013-01-12 18:54:09 +01:00
Tom Payne
92d3d001c0
Merge pull request #108 from twpayne/texture-uploads
...
Prioritize and throttle texture uploads
2013-01-12 03:27:37 -08:00
Tom Payne
6d44736e2f
Prioritize and throttle texture uploads
2013-01-12 02:32:53 +01:00
Tom Payne
52df441cf8
Add tile queue
2013-01-11 16:18:07 +01:00
Tom Payne
f00e299039
Register post-render functions instead of using an event
2013-01-11 15:49:21 +01:00
Tom Payne
f3cace499c
Implement frame state and animation architecture
2013-01-11 15:48:24 +01:00
Tom Payne
97d83666a6
Factor out ImageTile and ImageTileSource
2013-01-11 01:18:57 +01:00
Tom Payne
0d1e6ea766
Move forEachReadyVisibleLayer into WebGL renderer
2013-01-10 16:43:42 +01:00
Éric Lemoine
927cffb2b7
Add view abstraction
2013-01-09 14:03:16 +01:00
Tom Payne
b40085ca41
Fix non-view-related typecasts in ol.renderer.webgl.TileLayer
2013-01-07 13:19:00 +01:00
Tom Payne
e05591f6ab
Fix typecast in ol.renderer.webgl.Layer
2013-01-07 13:18:59 +01:00
Tom Payne
cfaee15c9f
Factor out color matrix generation, move color matrix into layer renderer
2013-01-05 12:30:18 +01:00
Tom Payne
8404142cec
Avoid getting map twice
2013-01-05 12:18:42 +01:00
Tom Payne
d3a0f87438
Remove inadvertent double render
2013-01-05 12:18:35 +01:00
Tom Payne
118b233457
More strict matrix type
2013-01-05 12:17:37 +01:00
Tom Payne
8c44dcf83a
Add some WebGL renderer FIXMEs
2013-01-03 12:23:50 +01:00
Tom Payne
756792b8db
Pass time to render functions and rename them to renderFrame_
2013-01-03 12:23:50 +01:00
Tom Payne
783dfe0618
Port WebGL renderer to requestRenderFrame
2013-01-03 12:23:49 +01:00
Éric Lemoine
21f3f90ca6
Adjust hue, sat, and constrast in webgl renderer
2012-12-12 15:53:56 +01:00
Tom Payne
4dde0ac2b1
Remove tile change listeners when they have fired, thanks @fredj
2012-11-09 14:33:58 +01:00
Tom Payne
dfd495153d
Make ol.renderer.Map behave like a null renderer, fixes #82
...
With this patch, creating a new ol.renderer.Map will return a map
renderer that does nothing. Previously, it could cause assertion
failures.
2012-11-02 17:10:45 +01:00
Tom Payne
e5d39724c9
Give each source file a unique name
2012-10-26 11:25:26 +02:00
Tom Payne
8cb28a7217
Move WebGL support test into ol.webgl
2012-10-17 17:25:37 +02:00
Tom Payne
1d40b64db1
Move WebGL context creation into ol.webgl
2012-10-17 17:23:30 +02:00
Tom Payne
936584ceaa
Use goog.array.map for browser compatability, thanks @AugustusKling
2012-10-10 13:49:01 +02:00
Tom Payne
ac8dd5db98
Fix sort problem identified by @tschaub in f8462460bf
2012-10-10 10:27:42 +02:00
Tom Payne
d35df1d53b
More detailed texture upload logging
2012-10-04 11:38:21 +02:00
Tom Payne
71e42b2448
Refactor build system
...
This rather large commit refactors the build system to solve a number of
problems:
- Object literal types are now declared in just one place
- There are no more circular dependencies
- There is no need for concealed subclasses in build-standalone mode
When building in standalone mode, you need to include the source in
build/src/external. This declares object literal types as externs so
that their properties are not renamed.
When building with the application, you need to include the source in
build/src/internal. This declares object literal types as typedefs so
that their properties can be renamed and removed.
Note also that ol.MapOptions has been merged into ol.Map, with some
renaming.
2012-09-29 11:51:53 +02:00
Tom Payne
e36169c936
Ignore all errors in when testing for WebGL
2012-09-28 21:36:03 +02:00
Tom Payne
2713addb33
More accurate WebGL support test, see issue #31
2012-09-28 20:05:14 +02:00
ahocevar
3d62b67172
Introducing ol.overlay.Overlay and an overlayContainer
...
ol.overlay.Overlay can be used to bind DOM elements to a
coordinate on the map. It has positioning options to support
e.g. popups or image markers that have an anchor at the bottom
and an unknown size.
The overlayContainer stops propagation on mousedown and
touchstart events, so clicks and gestures on overlays don't
trigger any MapBrowserEvent. To make this work reliably, we now
only fire dblclick in mapbrowserevent.js when there was a
previous mousedown or touchstart. The default container for
controls is now the overlayContainer.
2012-09-28 13:01:56 +02:00
Tom Payne
e3c3c13ac2
Use goog.vec.Mat4.rotateZ
2012-09-27 18:21:33 +02:00
Tom Payne
7625607fd1
Only resize canvas when renderering
2012-09-27 14:05:19 +02:00