Commit Graph

69 Commits

Author SHA1 Message Date
Tim Schaub 9f9729656b Todos done. 2012-09-27 16:09:03 +02:00
Éric Lemoine f78cad0d77 Merge pull request #27 from elemoine/constraints
Refactoring to make constraints work at the map level
2012-09-27 01:42:45 -07:00
Tom Payne d3b9af30d0 Don't modify return type of method 2012-09-27 09:36:55 +02:00
Tom Payne 50334b7971 s/ol.TileLayer/ol.layer.TileLayer/ 2012-09-27 09:36:55 +02:00
Éric Lemoine b6bb05bf76 Refactoring to set the constraints to the map 2012-09-27 00:09:29 +02:00
Tom Payne 290d03e76f s/store/source/ 2012-09-26 19:43:23 +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
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
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 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
ahocevar 6b8e14c623 Don't trigger extra drag events on touch devices. 2012-09-25 08:30:57 +02:00
Tim Schaub 1f9e2aa3c4 Move Layer into ol.layer namespace. 2012-09-24 17:08:36 +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