Commit Graph

6762 Commits

Author SHA1 Message Date
Tom Payne
f46c9e12fb Add ol.TileBounds.containsTileBounds 2012-07-22 03:06:25 +02:00
Éric Lemoine
089f069456 finish porting tschaub's infinite zooming work 2012-07-21 23:53:51 +02:00
Éric Lemoine
014c5e8905 refactoring, and renamings in tilegrid.js (related to continous zooming) 2012-07-21 23:52:56 +02:00
Éric Lemoine
753ebab2ad Revert "add TileLayerRenderer.getPreferredZ_ plus tests". As noted by @twpayne, TileGrid.getZForResolution already returns the "preferred" z for an arbitrary resolution.
This reverts commit 8f5d0ac642.
2012-07-21 16:00:45 +02:00
Tom Payne
89efc96dd5 Don't bother making forEachTileCoord abortable 2012-07-21 01:08:44 +02:00
Tom Payne
277c1ea3a6 Use XYZ to indicate OpenStreetMap-style tile grids 2012-07-21 01:05:55 +02:00
Tom Payne
0602942cf8 Add ol.Color 2012-07-21 01:05:55 +02:00
Tom Payne
0d7426e1be Fix bug where forEachVisibleLayer returned invisible layers 2012-07-21 01:05:55 +02:00
Tom Payne
e81e857d75 Merge pull request #12 from fredj/plovr-download
Fix plovr download path
2012-07-20 10:25:08 -07:00
Frederic Junod
0b6f4e348c Fix plovr download path 2012-07-20 13:36:21 +02:00
Éric Lemoine
c723e719c6 use ol instead of goog.math 2012-07-19 23:36:16 +02:00
Éric Lemoine
8f5d0ac642 add TileLayerRenderer.getPreferredZ_ plus tests 2012-07-19 23:28:35 +02:00
Éric Lemoine
404d123623 add TileGrid getTileCoordForArbitraryResolution and getTileCoordPixelBoundsForArbitraryResolution + tests, based on @tschaub work 2012-07-19 17:48:39 +02:00
Éric Lemoine
45c067dfda add ol.PixelBounds 2012-07-19 17:47:34 +02:00
Tom Payne
1190bc08db Make demo layer more opaque 2012-07-19 15:47:19 +02:00
Tom Payne
e2824745d1 Ensure visibility and opacity are set when DOM layer renderer is created 2012-07-19 15:46:02 +02:00
Tom Payne
08b4ef665b Call inherited method, thanks @elemoine 2012-07-19 14:58:02 +02:00
Tom Payne
9ce406c203 Fix type, thanks @elemoine 2012-07-19 10:48:25 +02:00
Tom Payne
513d8e7268 Create ol.Size around goog.math.Size 2012-07-19 10:46:43 +02:00
Tom Payne
c547404615 Create ol.Coordinate around goog.math.Coordinate 2012-07-19 10:34:12 +02:00
Tom Payne
d62ba69458 Order controls alphabetically 2012-07-19 10:10:07 +02:00
Tom Payne
33d252f0f7 Only start drag pan if shift key is not pressed 2012-07-19 10:08:35 +02:00
Tom Payne
5e39d051e6 Set default user projection to EPSG:4326 2012-07-19 10:02:34 +02:00
Tom Payne
e0d17ca09c Add user projections 2012-07-19 10:02:34 +02:00
Tom Payne
305462f57a Stricter type checking for map projection 2012-07-19 10:02:34 +02:00
Tom Payne
43c32e6da7 Differentiate between identity and clone transforms 2012-07-19 09:51:08 +02:00
Tom Payne
5ace389ccb Redraw map when WebGL context is restored 2012-07-19 09:12:22 +02:00
Tom Payne
d83235b5dc Include drag zoom control in default map 2012-07-19 00:29:25 +02:00
Tom Payne
d47eb3453f Implement initial drag zoom control (shift + drag) 2012-07-19 00:29:25 +02:00
Tom Payne
3ff84dce9b Add ol.Extent.boundingExtent 2012-07-19 00:29:25 +02:00
Tom Payne
4e347dcf45 Don't drag on incompletely defined maps 2012-07-19 00:29:25 +02:00
Tom Payne
0e3b97a0b6 s/event/mapBrowserEvent/g 2012-07-19 00:29:25 +02:00
Tom Payne
1d6101a5a1 Implement ol.control.DragPan 2012-07-19 00:29:25 +02:00
Tom Payne
4299cf4fae Add startCenter and startCoordinate to ol.control.Drag 2012-07-19 00:29:24 +02:00
Tom Payne
82b8a46752 Use RAW mode for demo while ol.Object is not adapted for compiled mode 2012-07-19 00:29:24 +02:00
Tom Payne
15d2ad984b Bind map layers in demo 2012-07-19 00:29:24 +02:00
Tom Payne
a6e2b501bd Enable DOM renderers to share tile layers 2012-07-19 00:29:24 +02:00
Tom Payne
4ddcfcc037 Add context argument to Tile.getImage to support re-use in DOM renderer 2012-07-19 00:29:24 +02:00
Tom Payne
eb43cf14c1 Clean up layer renderers when layers changes 2012-07-19 00:29:24 +02:00
Tom Payne
376d75ea4f Rename ol.Projection.createFromCode to getFromCode 2012-07-19 00:29:24 +02:00
Tom Payne
da941562cc Handle background color in ol.webgl.Map 2012-07-19 00:29:24 +02:00
Tom Payne
092fce96ec Add background color property 2012-07-19 00:29:24 +02:00
Tom Payne
52ce0b3fd0 Assure redraw is called when layer becomes invisible 2012-07-19 00:29:24 +02:00
Tom Payne
d3ed8b315c Make ol.Map.getSize public 2012-07-19 00:29:24 +02:00
Tom Payne
0a33077ecc Add ol.Rectangle.toString 2012-07-19 00:29:24 +02:00
Éric Lemoine
62f3f46b51 fix compilation - private property cannot be used in subclasses 2012-07-19 00:00:23 +02:00
Éric Lemoine
db91206d41 code styling 2012-07-18 20:27:38 +02:00
Éric Lemoine
7fc82daafa dom layer renderer - support opacity and visibility change 2012-07-18 16:33:27 +02:00
Éric Lemoine
b53e5a3fda two maps in the skeleton example 2012-07-18 16:33:27 +02:00
Tom Payne
aab2bc093a Add experimental drag control (to be replaced) 2012-07-18 15:12:31 +02:00