ahocevar
fa16adec02
Making more use of Closure
2012-09-26 14:38:29 +02:00
Tim Schaub
3510c37e43
Handle map size changes in the renderer
2012-09-26 14:10:16 +02:00
Tim Schaub
5b36cf1312
Only adjust tile when necessary
2012-09-26 13:12:36 +02:00
ahocevar
bdd8a75123
Remove the box also if we don't zoom
2012-09-26 13:03:41 +02:00
Tom Payne
e7063953d7
Don't create a class for map options
2012-09-26 12:54:53 +02:00
Tom Payne
b73b2d12c4
Replace ol.createMap with friendlier ol.Map constructor
2012-09-26 12:54:53 +02:00
ahocevar
3bd204fb6a
DragBox control provides visual shiftdragzoom feedback
...
Adding a new DragBox control and using it in the shiftdragzoom interaction to provide visual feedback of the zoom box. The control is nicely separated from the interaction - it only draws the box and does not perform any action.
2012-09-26 12:50:14 +02:00
Tim Schaub
24edce24f1
Add alternate tiles under tiles at target z
...
When zooming or panning, if we have tiles at alternate resolutions, those tiles are inserted in the DOM before the tiles at the target resolution. This means you should see blurry tiles instead of whitespace when panning (assuming you've already zoomed in a bit).
2012-09-26 12:18:11 +02:00
Tom Payne
9f1743cb4d
Remove unused @export tags
2012-09-26 11:28:26 +02:00
Tim Schaub
48c4cbc1e5
Correcting comment typos
2012-09-26 11:11:51 +02:00
Tim Schaub
8e38ab0fdc
Lint free.
2012-09-26 10:58:17 +02:00
Tim Schaub
3479e20b0a
Merge branch 'alt-tiles'
2012-09-26 10:55:25 +02:00
Tim Schaub
7f58d1a8c6
Proper handling of out-of-range and alt-z tiles
...
Tile pruning code separated into to methods for clarity. Alt-z tiles are only removed when all current-z tiles have loaded. Thanks @elemoine for the excellent debugging session.
2012-09-26 10:52:17 +02:00
Tim Schaub
299173194c
First pass at alt-tile rendering for dom renderer
2012-09-25 20:06:20 +02:00
ahocevar
3c099a96b7
No longer tap-selecting elements on touch devices
...
This finalizes the effort to improve map browser event handling.
2012-09-25 19:32:08 +02:00
ahocevar
5a97655983
Optimizing touch device handling
...
The native event of the touchstart/mousedown event needs to be cloned; change includes some compiler optimizations.
2012-09-25 18:30:23 +02:00
ahocevar
ce977e5364
Map browser event handling for touch devices
...
By handling click, dblckick and drag sequences in MapBrowserEvent, we can overcome closure issues with touch events. In particular, these issues were double drag events (from mousemove and touchmove) and a missing dblclick event on touch devices.
2012-09-25 17:28:01 +02:00
ahocevar
b151304630
Prevent default on mousedown and touchstart for all renderers
...
By doing this on the map renderer, we do not need to duplicate code for the webgl and dom renderers.
2012-09-25 17:28:01 +02:00
Tom Payne
8369924511
Remove debug code
2012-09-25 14:00:19 +02:00
Tom Payne
06ea619989
Avoid re-rendering framebuffer in simple cases
2012-09-25 13:54:15 +02:00
Tom Payne
c2e08861e5
Correct order of transformations
2012-09-25 12:23:11 +02:00
Tom Payne
88fd7729e2
Add missing dependency
2012-09-25 12:18:49 +02:00
Tim Schaub
900eead7c6
Correct type for imagesToLoad. Add note about shorter path.
2012-09-25 12:08:02 +02:00
Éric Lemoine
3e01ca97c3
remove the jsunit tests
2012-09-25 12:03:36 +02:00
Tom Payne
b435ccc026
Satisfy gjslint
2012-09-25 10:26:10 +02:00
ahocevar
6b8e14c623
Don't trigger extra drag events on touch devices.
2012-09-25 08:30:57 +02:00
Tom Payne
424dbd7582
Remove problematic (and unused) clone methods, move contains out of ol.Rectangle
2012-09-25 00:04:45 +02:00
Tom Payne
c43e04ea77
Refactor to support stricter new compiler
2012-09-25 00:03:53 +02:00
Tom Payne
2d7a21eaa0
More gjslint fixes
2012-09-25 00:03:53 +02:00
Tom Payne
8394147df1
Satisfy gjslint
2012-09-24 21:25:29 +02:00
Tom Payne
6006d43656
Remove ol.Rectangle.clone
2012-09-24 18:25:19 +02:00
ahocevar
002e23cb74
Satisfy latest Closure library/tools.
2012-09-24 17:59:34 +02:00
Tim Schaub
d51cd1c395
Interaction in ol.interaction namespace.
2012-09-24 17:18:21 +02:00
Tim Schaub
ed754fbfdf
Control in the ol.control namespace.
2012-09-24 17:15:30 +02:00
Tim Schaub
1f9e2aa3c4
Move Layer into ol.layer namespace.
2012-09-24 17:08:36 +02:00
Tim Schaub
c3a41c967e
Removing file overviews for now.
2012-09-24 16:58:55 +02:00
Tom Payne
a416d1f601
s/TileBounds/TileRange/
2012-09-24 14:33:24 +02:00
Tom Payne
f8c31ba45c
s/ol3/ol/
2012-09-24 14:21:41 +02:00
Tom Payne
6737220b83
Remove ol namespace
2012-09-24 14:07:11 +02:00
Tom Payne
6e427a49ab
Use @inheritDoc instead of @override
2012-09-21 14:33:35 +02:00
Tom Payne
5f0c90cf7e
Add minimal comments to satisfy jsdoc3.
2012-09-21 10:08:29 +02:00
Tom Payne
5c76291b74
Remove move dead code
2012-09-19 17:04:12 +02:00
Tom Payne
c61fd1dccf
Merge pull request #20 from openlayers/exp-reorganization
...
Exp reorganization
2012-09-13 06:40:53 -07:00
Tom Payne
77b6f59178
Improve file layout, thanks @elemoine
2012-09-13 15:39:54 +02:00
Tom Payne
b643cd2fef
Merge branch 'exp'
2012-08-30 17:05:32 +02:00
Tom Payne
c848d48e3f
Move ol3.layer.* into their own directory
2012-08-30 16:48:00 +02:00
Tom Payne
23ee8b73bd
Make directory structure better match class hierarchy
2012-08-30 16:48:00 +02:00
Tom Payne
638504f750
Reorganize renderers
2012-08-30 16:47:59 +02:00
Tom Payne
4aff22e980
ol3 is now internal, ol is now external
...
As discussed with @ahocevar, @elemoine and @tschaub.
2012-08-29 20:46:42 +02:00
Éric Lemoine
cb6c73d99f
MapBrowserEvent.getCoordinate may return wrong coords
2012-08-27 11:51:39 +02:00