Éric Lemoine
49696390fc
Add ol.ImageUrlFunction
2013-02-14 23:36:36 +01:00
Éric Lemoine
8b83345bd2
Add equals to Rectangle
2013-02-14 23:36:35 +01:00
Bart van den Eijnden
234f6bc411
Merge pull request #180 from bartvde/wmscapsclean
...
add WMS GetCapabilities parser for WMS 1.1.0, 1.1.1, 1.1.1 WMS-C profile
2013-02-14 05:02:39 -08:00
Frédéric Junod
b305d7fdfa
Merge pull request #192 from fredj/rotation
...
Change view.rotate params: rotation and optional anchor.
2013-02-14 04:48:42 -08:00
Frederic Junod
34975428c4
Change view.rotate params: rotation and optional anchor.
2013-02-14 12:17:26 +01:00
Éric Lemoine
daaff1611c
Merge pull request #193 from elemoine/shaders
...
Apply transform matrix to text coords
2013-02-14 03:01:18 -08:00
Éric Lemoine
b6b493c198
Use vec2 for vTexCoord
2013-02-14 11:54:01 +01:00
Éric Lemoine
de7a1d8f81
Apply transform matrix to text coords
...
With this commit the transform matrix is applied to each texture coordinate, as opposed to each fragment. This leads to less calculation on the GPU.
2013-02-14 09:56:45 +01:00
Tim Schaub
2082ba7637
Fewer, bigger tiles
2013-02-13 15:51:06 -07:00
Tim Schaub
f5c627ab51
Only listen once for tile events
...
Assuming browser garbage collection cannot happen while we have listeners in the global registry, we need to listenOnce to avoid memory leaks with the tile queue.
2013-02-13 15:37:33 -07:00
Bart van den Eijnden
13d95b90a3
use namespace URI instead of prefix as suggested by @tschaub and discussed with @ahocevar
2013-02-13 20:58:48 +01:00
ahocevar
6b43435262
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-02-13 12:30:16 +01:00
ahocevar
e155f870cd
Fixing RTree, and using it for retrieving geometries
2013-02-13 12:29:14 +01:00
Frederic Junod
f4e9dd5c37
view.getRotation default value already set to 0.
2013-02-12 15:37:08 +01:00
Frédéric Junod
03b10204a4
Merge pull request #173 from fredj/geolocation
...
Add ol.Geolocation
2013-02-08 21:57:11 -08:00
Éric Lemoine
5f5e14f253
Merge pull request #175 from elemoine/control
...
Simplify control architecture
2013-02-08 14:56:19 -08:00
Tim Schaub
652b7dd696
Merge pull request #184 from tschaub/less-animation
...
Avoid unnecessary animation loop while tiles load
2013-02-07 15:48:28 -08:00
Tim Schaub
440ea038fe
Merge pull request #183 from tschaub/natural-names
...
More natural names for animations
2013-02-07 13:44:13 -08:00
Tim Schaub
3c4d218ec5
Only listen for first event
2013-02-07 14:06:05 -07:00
Frederic Junod
a36145fc1f
Check if the Geolocation API is supported
2013-02-07 16:20:15 +01:00
Frederic Junod
44a5eca437
Add ol.Geolocation.isSupported property
2013-02-07 15:59:12 +01:00
Tom Payne
218bf2c78b
Improve LRUCache containsKey test, thanks @tschaub
2013-02-07 12:21:12 +01:00
Bart van den Eijnden
f16664cb87
add an example
2013-02-07 10:45:35 +01:00
Frédéric Junod
f7ba03f4dd
Merge pull request #179 from fredj/kinetic-update-arg
...
Change ol.Kinetic.update and begin arguments.
2013-02-07 00:08:01 -08:00
Tim Schaub
5bbd8fd9f3
Using ol.TileCache for managing canvas tiles
2013-02-06 18:23:39 -07:00
Tim Schaub
11b8c0ff47
Don't generate new tiles while animating
2013-02-06 17:47:03 -07:00
Tim Schaub
e079c19413
Don't repeatedly render while waiting for tiles to load
...
Instead of going into an unnecessary animation loop, we can simply wait to be notified when tiles load.
The WebGL renderer still sets frameState.animate true, but I think this too should be unnecessary (full page example works without it, side-by-side example shows it cannot yet be removed).
2013-02-06 16:10:46 -07:00
Tim Schaub
2bd29ff60e
Only track tiles that are actually wanted
...
Instead of keeping track of wanted tile ranges, we can instead track wanted tiles individually. This provides enough for the map to know how to prioritize tiles and should be more efficient (no extra calls to extend tile ranges or check for tile containment within a range).
2013-02-06 16:08:24 -07:00
Tim Schaub
e335b7b74a
Make frame state available before rendering frame
...
Without this change, tiles that are enqueued on the first rendering will always get priority `ol.TileQueue.DROP` because `map.frameState_` is not yet defined (meaning a single render call doesn't result in any tiles loading).
2013-02-06 16:02:26 -07:00
Tim Schaub
a2bbdf7ccc
More natural names for animations
2013-02-06 13:43:54 -07:00
Tom Payne
0b6aeb5b05
Remove unused and erroneous function, thanks @tschaub
2013-02-06 21:43:48 +01:00
Frederic Junod
3355f9345d
Replace ol.animation.createSpin with ol.animation.createRotateFrom
2013-02-06 17:10:21 +01:00
ahocevar
4e971b6041
Faster extent + geometry type queries
...
By maintaining separate R-Trees for each geometry type, we cover
the most critical query from the canvas renderer at higher
speeds. Using the filter's own evaluate method, we can now also
serve arbitrary queries, but they won't be fast.
Still needs unit tests.
2013-02-06 16:42:55 +01:00
ahocevar
619803cdeb
More goog.requires fixes
2013-02-06 16:36:42 +01:00
ahocevar
a13e6bdfda
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-02-06 16:27:45 +01:00
ahocevar
61e4452c83
Adding missing and removing unused goog.requires
2013-02-06 16:26:24 +01:00
Bart van den Eijnden
6484760507
make Travis build pass again
2013-02-06 14:35:43 +01:00
Bart van den Eijnden
360c426f14
add WMS GetCapabilities parser for WMS 1.1.0, 1.1.1, 1.1.1 WMS-C profile and WMS 1.3.0
2013-02-06 14:25:57 +01:00
Frederic Junod
2fea469037
Change ol.Kinetic.update arguments.
...
Instead of goog.events.BrowserEvent, accept a x,y pair.
2013-02-06 12:55:15 +01:00
Tom Payne
3692918ed7
Remove unnecessary undercores, thanks @fredj
2013-02-06 12:50:34 +01:00
Frederic Junod
753b37ad47
Add 'undefined' return type for all get* functions
2013-02-06 11:00:55 +01:00
Frederic Junod
a679bb7bef
Set handleProjectionChanged from protected to private
2013-02-06 10:59:18 +01:00
Tom Payne
b1df0cac65
Rename object properties so compiler can rename them
2013-02-06 10:08:03 +01:00
Tom Payne
c37837ba34
Use an object literal rather than a class for LRUCache entries
2013-02-06 10:08:03 +01:00
ahocevar
089b7013c2
Merge branch 'master' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/ol/renderer/canvas/canvasrenderer.js
test/ol.html
2013-02-05 17:28:36 +01:00
ahocevar
386b97cf9a
Merge branch 'master' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/ol/renderer/canvas/canvasrenderer.js
test/ol.html
2013-02-05 17:17:09 +01:00
ahocevar
dafa48da2e
Using spatial index and combined filters
...
This should significantly speed up feature access. Needs unit
tests.
2013-02-04 22:51:58 +01:00
ahocevar
c58f0afcc3
New R-Tree struct for spatial indexing.
...
This needs unit tests.
2013-02-04 22:50:59 +01:00
ahocevar
428793cd7c
New filters for extent and logical filtering
...
These need unit tests.
2013-02-04 22:50:21 +01:00
Tom Payne
c34fe519c0
Remove ol.structs.LinkedMap
2013-02-04 18:37:12 +01:00