Commit Graph

7981 Commits

Author SHA1 Message Date
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
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
Tom Payne
aab2bc093a Add experimental drag control (to be replaced) 2012-07-18 15:12:31 +02:00
Tom Payne
4754ed1cc2 Add ol.control.MouseWheelZoom 2012-07-18 15:12:30 +02:00
Tom Payne
c6343ed2bc Add experimental controls infrastructure, thanks @elemoine 2012-07-18 15:12:30 +02:00
Éric Lemoine
1af79ede29 dom map renderer - add FIXMEs 2012-07-18 14:52:12 +02:00
Éric Lemoine
3724fca57d dom map renderer - new properties for layerPane 2012-07-18 14:50:34 +02:00
Éric Lemoine
a9438fefd9 make gjslint happy 2012-07-18 14:50:01 +02:00
Éric Lemoine
6d61ac2bc5 dom map renderer - map shiftLayersPane_ work 2012-07-18 14:49:30 +02:00
Éric Lemoine
808a854d0f dom map renderer - add a viewport div to the top of hierarchy, this is to handle overflow of tiles 2012-07-18 14:47:41 +02:00
Éric Lemoine
1d565fc4d6 dom map renderer - use goog.asserts 2012-07-18 14:43:57 +02:00
Éric Lemoine
da6263fec8 dom layer renderer - origin and setOrigin are back 2012-07-18 14:43:16 +02:00
Éric Lemoine
db4603940d dom renderer - reset the layers pane when center changes 2012-07-18 11:13:32 +02:00
Éric Lemoine
f491a5a4d2 setting top and left to 0 is not necessary 2012-07-18 11:12:46 +02:00
Éric Lemoine
be97a57cad remove state variables from the dom map and dom layer renderers 2012-07-18 11:12:14 +02:00
ahocevar
6c9ef26c79 Using safe unicode notation. 2012-07-18 08:10:35 +02:00
Tom Payne
bffc586218 Rename ol.Map.setExtent to fitExtent 2012-07-18 07:34:14 +02:00
Tom Payne
fc603372c2 Add renderer hint 2012-07-18 07:32:40 +02:00
Tom Payne
e85ca98179 Refactor build system and layout 2012-07-18 02:26:41 +02:00
Tom Payne
0abc4219b3 Document various FIXMEs 2012-07-18 00:35:44 +02:00
Tom Payne
659ef30802 Lift common composite rendering code into ol.Map 2012-07-18 00:21:20 +02:00
Tom Payne
86335211a6 Always pass base to parseInt 2012-07-18 00:12:22 +02:00
Tom Payne
a421943eb1 Clear framebuffer before writing tiles 2012-07-18 00:10:43 +02:00
Tom Payne
4ca1fd00c7 Suppress compiler warning 2012-07-18 00:10:43 +02:00
Tom Payne
854280eb11 Snapshot ol.webgl.Map 2012-07-18 00:10:43 +02:00
Tom Payne
7febc1c8b3 Add ol.webgl.TileLayerRenderer.getMatrix 2012-07-18 00:10:43 +02:00
Tom Payne
b6db84a54c Add ol.webgl.LayerRenderer.getMatrix 2012-07-18 00:10:43 +02:00
Tom Payne
29f149976f Add missing require 2012-07-18 00:10:43 +02:00
Tom Payne
b93cb7c47a Add ol.Rectangle.normalize 2012-07-18 00:10:43 +02:00
Tom Payne
fad873d44c Refine getSize in terms of getWidth and getHeight 2012-07-18 00:10:42 +02:00
Tom Payne
db59dfd5a2 Rename textureCache to tileTextureCache 2012-07-18 00:10:42 +02:00
Tom Payne
7dc2884498 Fix tile edge artefacts 2012-07-18 00:10:42 +02:00