Commit Graph

13518 Commits

Author SHA1 Message Date
Tom Payne
5a9fe22e8c Avoid calling render() too early 2012-08-16 18:26:59 +02:00
Tom Payne
44cd3ceccb Re-order functions alphabetically 2012-08-16 17:56:19 +02:00
Tom Payne
4f2b6a0c22 Initialize all member variables in constructor 2012-08-16 16:42:56 +02:00
Éric Lemoine
adb209c3f9 map functions in alphabetical order 2012-08-16 16:14:16 +02:00
Éric Lemoine
70587af947 move pixel to/from coordinate calculation functions from Map to MapRenderer 2012-08-16 15:35:33 +02:00
Éric Lemoine
9eb031ed89 remove ol.webgl.LayerRenderer.prototype.getGL (as suggest by @twpayne) 2012-08-16 15:04:23 +02:00
Éric Lemoine
89eadc5770 move back rendering freeze/unfreeze and animation from map renderer to map 2012-08-16 15:00:14 +02:00
Éric Lemoine
f7185f1c75 remove map FIXME 2012-08-16 14:57:42 +02:00
Éric Lemoine
af63654776 Merge remote branch 'upstream/exp' into renderer 2012-08-14 21:19:46 +02:00
Tom Payne
65278c4322 Remove support for *_changed methods 2012-08-14 16:00:18 +02:00
Éric Lemoine
d9b51cdc7f fix typo in API doc 2012-08-14 10:24:30 +02:00
Éric Lemoine
0f401a2d51 forEach cannot iterate over a null object 2012-08-14 10:24:12 +02:00
Éric Lemoine
9f5b98e70c remove split out renderer FIXME 2012-08-14 10:23:06 +02:00
Éric Lemoine
da9de171d2 exit renderer hint for loop when map renderer is found 2012-08-14 10:22:46 +02:00
Tom Payne
dafbd503a5 Use matrix inversion to calculate pixel to coordinate matrix 2012-08-14 09:37:48 +02:00
Tom Payne
477dc0b92b Fix direction of rotation in coordinate to pixel matrix 2012-08-14 09:37:16 +02:00
Tom Payne
d9009eae10 Fix missed used of goog.webgl 2012-08-14 09:20:51 +02:00
Éric Lemoine
85c8dddc02 add a FIXME 2012-08-14 07:48:13 +02:00
Éric Lemoine
e7696dd6aa map renderer unregisters listeners on dispose 2012-08-14 07:44:25 +02:00
Éric Lemoine
f0ecf858c8 better type 2012-08-14 07:35:24 +02:00
Éric Lemoine
7be8a735fa better code (thanks @twpayne) 2012-08-14 07:26:43 +02:00
Éric Lemoine
6f0ae684f7 fix linter errors 2012-08-14 07:15:54 +02:00
Éric Lemoine
9efa34a2a3 separate map and renderer 2012-08-13 23:38:37 +02:00
Tom Payne
d9eb9eda60 Add missing check 2012-08-13 21:31:41 +02:00
Tom Payne
c7f78caec9 Check left mouse button is pressed in interactions 2012-08-13 18:41:10 +02:00
Tom Payne
8a2074a383 Don't listen to earlycancel dragger events
earlycancel drag events do not have a corresponding
goog.events.BrowserEvent object, which breaks many interactions.
2012-08-13 18:40:03 +02:00
Tom Payne
07c3cd3d8d Fix drag pan for rotated maps 2012-08-13 18:07:30 +02:00
Tom Payne
5ae3d25f52 Add some FIXMEs 2012-08-13 17:24:31 +02:00
Tom Payne
e9e1b8eaa9 Improve handling of undefined coordinates 2012-08-13 17:24:25 +02:00
Tom Payne
85ca630935 Add ol.control.MousePosition 2012-08-13 16:45:10 +02:00
Tom Payne
6495cfb043 Add crude coordinate formatter 2012-08-13 16:45:10 +02:00
Tom Payne
ec3475806e s/View/Control/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne
208db33bfc s/Control/Interaction/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne
b2da697519 Revert "Improve WebGL pixel precision"
This reverts commit 05b6ca05fe.
2012-08-08 15:30:41 +02:00
Tom Payne
ad2061ae5c Sort projections 2012-08-08 11:53:23 +02:00
Tom Payne
e434695082 Make more projection constants private 2012-08-08 01:27:05 +02:00
Tom Payne
7ed5f42fb9 Make some projection functions private, for now 2012-08-08 00:44:15 +02:00
Tom Payne
6bab81ffe7 Add Proj4js support 2012-08-08 00:44:15 +02:00
Tom Payne
6cb362218b Add initial simplified API 2012-08-07 20:29:19 +02:00
Tom Payne
05b6ca05fe Improve WebGL pixel precision 2012-08-07 17:46:06 +02:00
Tom Payne
eab38e9042 Use Alt key instead of Shift for rotation 2012-08-07 17:20:42 +02:00
Tom Payne
43a940027f Set events pane width and height in pixels 2012-08-07 16:38:27 +02:00
Tom Payne
49dc2788d5 Add ol.control.Keyboard hack 2012-08-07 14:59:39 +02:00
Tom Payne
e1e64b0fde Add missing dependency 2012-08-07 13:18:55 +02:00
Tom Payne
d8af9a2108 Friendlier type checking 2012-08-07 13:18:46 +02:00
Tom Payne
88d2299096 Use ShiftDragRotate instead of ShiftDragRotateAndZoom control by default 2012-08-07 13:18:20 +02:00
Tom Payne
9366ced2a8 Move to-be-merged code into attic 2012-08-07 12:11:25 +02:00
Tom Payne
1f5cda88c4 Replace ol.Tile.isLoaded with ol.Tile.getState 2012-08-07 12:07:55 +02:00
Tom Payne
2983a2ef02 Remove redundant call 2012-08-07 12:07:00 +02:00
Tom Payne
161b15c6aa Log WebGLContext{Lost,Restored} events in debug mode 2012-08-07 10:04:20 +02:00