Commit Graph

108 Commits

Author SHA1 Message Date
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
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
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
É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
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
6495cfb043 Add crude coordinate formatter 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
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
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
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
2443326d0e Use || operator instead of goog.isDef()/?: 2012-08-06 18:43:05 +02:00
Tom Payne
4a76efbbc7 Use nicer zoom levels 2012-08-06 13:54:51 +02:00
Tom Payne
bf2958494d Add another FIXME 2012-08-06 09:57:29 +02:00
Tom Payne
adbd86feb8 Use continuous zoom by default 2012-08-06 01:20:21 +02:00
Tom Payne
2d8514148d Order functions alphabetically 2012-08-06 00:20:41 +02:00
Tom Payne
97eabc8693 Parameterize pixel delta 2012-08-04 15:51:35 +02:00
Tom Payne
7ab3b3dd82 Add rotation constraints 2012-08-04 15:51:35 +02:00
Tom Payne
0fd122a1ed Add and use ol.Constraints 2012-08-04 15:51:35 +02:00
Tom Payne
eaca7d0a8c Add ol.Coordinate.ZERO 2012-08-04 15:51:35 +02:00
Tom Payne
505804fc55 Fix missed variable name 2012-08-04 15:51:35 +02:00
Tom Payne
e7cb2ca383 s/ZoomFunction/ResolutionConstraint/ 2012-08-04 15:51:35 +02:00
Tom Payne
c84d5ef9ef Use ol.control.CenterConstraint 2012-08-04 15:51:34 +02:00
Tom Payne
78f11873cf Clean up whitespace 2012-08-03 17:27:16 +02:00
Tom Payne
f0d0157871 Add missing @protected 2012-08-03 11:13:29 +02:00
Tom Payne
d03586d8e9 Use goog.dom functions 2012-08-03 11:13:01 +02:00
Tom Payne
c75ce23c5a Remove stray bracket 2012-08-03 11:11:38 +02:00
Tom Payne
0c35d50fed Export properties so libary can be used in compiled mode 2012-08-03 10:37:17 +02:00
Tom Payne
a96982f112 Remove collection {insert,remove,set}_at callbacks 2012-08-02 16:49:09 +02:00
Tom Payne
1b8132ecfd Use add/remove events 2012-08-02 16:47:08 +02:00
Tom Payne
bc0bfd8385 Add add and remove events 2012-08-02 16:42:50 +02:00