Tom Payne
934c75bc8c
Use requestRenderFrame API in interactions
2013-01-03 12:23:50 +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
Tom Payne
12099bab56
Implement @elemoine's requestRenderFrame architecture
2013-01-03 12:23:49 +01:00
Tom Payne
18fdb66437
Update jsdoc template to be compatible with latest version of jsdoc3
2013-01-03 12:15:30 +01:00
Tom Payne
ad983a5e68
Add missing semicolon from exampleparser output
2013-01-03 11:52:26 +01:00
Tom Payne
7f63e3b8e7
Propagate query string to example links
2013-01-03 11:50:44 +01:00
Tom Payne
874a311de2
Fix bug where all examples were assumed to be under version control
2013-01-03 11:31:31 +01:00
Éric Lemoine
7b24c5b54a
Merge pull request #90 from elemoine/webglcolorfilter
...
WebGL color filter
2012-12-12 07:33:17 -08:00
Éric Lemoine
21f3f90ca6
Adjust hue, sat, and constrast in webgl renderer
2012-12-12 15:53:56 +01:00
tschaub
9622395c86
Use radians for hue rotation
...
This commit is a cherry-pick from 7f578f0.
Conflicts:
src/ol/renderer/dom/domlayerrenderer.js
2012-12-12 15:22:01 +01:00
tschaub
4d97b583c6
Match the current Filter Effects spec
...
This commit is a cherry-pick of 19f7778.
The current draft of the [filter spec](https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html )
describes brightness, contrast, hue-rotate, and saturate functions that
roughly match our layer's setBrightness, setContrast, setHue, and
setSaturation methods. These changes make the range of our methods match
the corresponding functions in the spec. The one exception is the
brightness function. The spec says it has a range of 0 to positive infinity.
The WebKit implementation accepts a range of -1 to 1 (as of
https://github.com/WebKit/webkit/commit/8f4765e569 ). There's an open
(ticket)[https://www.w3.org/Bugs/Public/show_bug.cgi?id=15647 ] recommending
that the spec be changed to match.
I'm not stuck on having our methods match those of the filter spec, but the
parity would be nice.
These changes leave the WebGL map renderer "broken" (whacky colors). It would
be straightforward to update the current fragment shader to handle the new
range of hue, but the brightness, contrast, and saturation handling will
need to be reworked.
For inspiration, here are the color transformation
matrix calculations the WebKit filters:
8f4765e569/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurfaceFilters.cpp (L64-80)
Conflicts:
src/ol/renderer/dom/domlayerrenderer.js
2012-12-12 15:18:34 +01:00
Éric Lemoine
570defe940
Merge pull request #86 from geops/api-docs-comments
...
Some comments (no changes to code)
2012-12-03 14:02:20 -08:00
Augustus Kling
a73c15c988
Discard documentation for attributioncontrol.js and map.js to make refactoring easier due to @elemoine's request
2012-12-03 22:47:33 +01:00
Frederic Junod
14f7b9a41e
git-update-ghpages removed, bin/readme.md no longer necessary
2012-11-14 12:50:13 +01:00
Frédéric Junod
12d5626288
make replaced with build.py
2012-11-14 12:45:07 +01:00
Éric Lemoine
bccfccbf9d
Merge pull request #84 from elemoine/84
...
DOM renderer tile artifacts on FF
2012-11-13 13:47:00 -08:00
Tom Payne
72b7a136c1
Update to latest version of pake, fixes #87 , thanks @cedricmoullet and @AugustusKling
2012-11-12 00:01:29 +01:00
Éric Lemoine
7b88f44a41
Keep track of tiles we're already listening on
2012-11-11 21:31:12 +01:00
augustus
f253c1bcf8
Some comments (no changes to code)
2012-11-09 16:26:59 +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
3d560a08e3
Remove Makefile
2012-11-09 14:05:13 +01:00
Tom Payne
5fb39ff30d
Merge pull request #76 from twpayne/pure-python-build
...
Building on Windows still has a few problems, mainly thanks to Windows. However, this patch does eliminate as many build dependencies as possible (make, wget, sh, find, ruby).
2012-11-09 02:53:33 -08:00
Tom Payne
df8685638c
Detect corrupt downloads
2012-11-09 11:45:58 +01:00
Tom Payne
bf4e7bcb70
Work around broken operating systems
2012-11-09 11:45:58 +01:00
Tom Payne
05f3ab3290
Remove unused import
2012-11-09 11:45:31 +01:00
Éric Lemoine
826505c6d4
Register a CHANGE listener even if tile is loading
...
This fixes an issue easily reproducible in the side-by-side example where the DOM renderer is not notified when tiles loaded by the WebGL renderer have been received.
2012-11-08 21:20:26 +01:00
Éric Lemoine
90e379782c
Only appending tiles to the dom after load
...
A port of f46cdb4 to the current master. The tilelayer renderer can be simplified a bit by waiting to append tiles to the dom until they have loaded. Refs #84 and #33 .
2012-11-08 20:03:07 +01:00
Frederic Junod
6eb505eb2b
Remove question mark from wms urls (see #85 )
2012-11-08 09:02:03 +01:00
Tom Payne
bf231d0c41
Fold gh-update-pages into build.py
...
This also fixes a bug in gh-update-pages: gh-update-pages does not
handle file deletition, meaning that stale files are never removed.
2012-11-04 19:08:56 +01:00
Tom Payne
d30be0fb93
Merge bin/generate-requireall into build.py
2012-11-04 19:08:55 +01:00
Tom Payne
f082cddb6b
Use build.py for Travis
2012-11-04 19:08:55 +01:00
Tom Payne
157c0978be
Update CONTRIBUTING.md for build.py
2012-11-04 19:08:55 +01:00
Tom Payne
d16bc89be3
Update readme.md for build.py
2012-11-04 19:08:26 +01:00
Tom Payne
f78afc8d66
Add pake.py
...
See https://github.com/twpayne/pake
2012-11-04 19:08:26 +01:00
Tom Payne
81b4213fd7
Add build.py
...
This removes the dependencies on make, sh and curl for building ol3.
2012-11-04 19:08:26 +01:00
Éric Lemoine
c9f4454399
Merge pull request #85 from elemoine/tilefunction
...
Add ol.TileUrlFunction.createBboxParam
2012-11-04 09:52:09 -08:00
Éric Lemoine
dd014a3b79
Avoid unneeded parameter concatenations (thanks @twpayne, refs #85 )
2012-11-04 19:31:20 +01:00
Éric Lemoine
529c3e8b6a
Add ol.TileUrlFunction.createBboxParam
2012-11-03 22:55:54 +01:00
ahocevar
3d84571043
Use WebGL now that server sends CORS headers (see #75 )
2012-11-03 10:33:20 +01:00
Éric Lemoine
b2c71ed269
Add tests showing more usages of createFromTemplate
2012-11-03 00:43:46 +01:00
Tom Payne
7ee5c5777a
Fix use of goog.nullFunction and goog.functions.NULL, thanks @elemoine (again)
2012-11-02 18:28:27 +01:00
Tom Payne
9062a9cf54
Merge pull request #83 from twpayne/fix-82
...
Make ol.renderer.Map behave like a null renderer, fixes #82
2012-11-02 10:22:01 -07:00
Tom Payne
4d3726d183
Use goog.functions.NULL instead of goog.nullFunction, thanks @elemoine
2012-11-02 18:20:52 +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
Frédéric Junod
1de8821739
Merge pull request #81 from fredj/wms-format
...
Use jpeg tiles for background layer
2012-11-02 07:58:52 -07:00
Frederic Junod
127c00e1ea
Use jpeg tiles for background layer
2012-11-02 15:52:34 +01:00
Éric Lemoine
2f29224691
Merge pull request #80 from elemoine/wms-custom-proj-fix
...
wms-custom-proj example does not work with the ol build
2012-11-02 05:38:38 -07:00
Éric Lemoine
4a604940a2
The wms-custom-proj example requires more exports
2012-11-02 12:06:24 +01:00