Commit Graph

677 Commits

Author SHA1 Message Date
mourner
0f914b6409 fix regression with tile loading 2012-02-24 22:48:22 +02:00
mourner
bca3c8eb67 fix typo (treshold -> threshold) 2012-02-24 18:18:50 +02:00
mourner
2e9551dbe9 Merge branch 'inertia' 2012-02-24 17:20:44 +02:00
mourner
57aee3c5ed Finally implemented panning inertia, closed #17 2012-02-24 17:19:53 +02:00
mourner
0299c02d27 Fixed world wrapping regression, closed #526 2012-02-24 17:17:00 +02:00
mourner
194425d24b Fix stuttering of pan animation in some cases 2012-02-24 16:53:22 +02:00
mourner
8ad4f12cb9 Minor zoom animation cleanup 2012-02-24 16:52:30 +02:00
mourner
8ba23eb393 Don't do tile update when animation is in progress 2012-02-24 16:51:10 +02:00
Jason Sanford
a7081e6927 Fixing typo in Rectanlge.js description. Adding Rectangle.js to dependencies. 2012-02-23 14:02:10 -07:00
mourner
cc058fcd83 more inertia experiments 2012-02-23 17:24:32 +02:00
mourner
de8274831b Merge branch 'master' into inertia 2012-02-23 16:37:57 +02:00
mourner
477c1109eb clean up, move attribution prefix arg to options 2012-02-23 11:01:03 +02:00
mourner
08dccbc71c fix some more whitespace 2012-02-23 10:52:49 +02:00
mourner
d728779bc6 fix controls regression 2012-02-23 10:47:19 +02:00
Vladimir Agafonkin
d6d35c0f19 Merge pull request #523 from thatjpk/fire_edit_on_drag_vertex
Fire 'edit' event while dragging editable polygon/line marker.
2012-02-23 00:36:48 -08:00
mourner
2c54d55189 fix missing semicolon 2012-02-23 10:33:49 +02:00
Vladimir Agafonkin
849a3b6e1b Merge pull request #524 from giscloud/return.this.fix
all paths need to return "this"
2012-02-22 23:23:58 -08:00
jpk
5f9bd71f61 Fixes click (without drag) on middle marker to fire 'edit'. 2012-02-22 20:24:05 -05:00
jpk
fb255798dd Makes polygon/line edits fire('edit') only on dragend. 2012-02-22 20:10:07 -05:00
jpk
62f3b6faeb Merge remote-tracking branch 'upstream/master' into fire_edit_on_drag_vertex 2012-02-22 20:09:46 -05:00
mourner
0a7bafd14f initial inertia work (experimental) 2012-02-23 01:10:28 +02:00
Dino Ravnić
e690cceda3 all paths need to return "this" 2012-02-23 00:09:30 +01:00
mourner
9bf845851d Merge branch 'master' of github.com:CloudMade/Leaflet 2012-02-22 23:39:21 +02:00
Vladimir Agafonkin
128dd319e6 Merge pull request #521 from k4/master
ctrl-click event
2012-02-22 13:12:50 -08:00
k4
d26a35aa14 save original event in MouseEvent. 2012-02-22 21:25:19 +03:00
k4
92437ae100 save original event in MouseEvent. 2012-02-22 21:23:12 +03:00
k4
9da8dcf803 save original event in MouseEvent. 2012-02-22 21:20:03 +03:00
jpk
5539886132 Fire 'edit' event while dragging editable polygon/line marker. 2012-02-22 12:40:10 -05:00
Vladimir Agafonkin
1abcc66f19 more zoom control cleanup 2012-02-22 15:28:38 +02:00
k4
4be061a5cc add ctrlKey to mouse event 2012-02-22 17:27:20 +04:00
Vladimir Agafonkin
764205765a clean up zoom control code 2012-02-22 15:26:30 +02:00
k4
0336d1c8c8 add ctrlKey to mouse event 2012-02-22 17:25:51 +04:00
mourner
2f0fbc3ca3 make panning even more smooth 2012-02-22 09:00:54 +02:00
mourner
dfdd363d2e cancelAnimFrame function 2012-02-22 08:59:17 +02:00
Jason Sanford
a9c1629875 DRYing things up a bit with Rectangle.js 2012-02-21 07:47:34 -07:00
Jason Sanford
53627cab80 Merge branch 'master' of git://github.com/CloudMade/Leaflet 2012-02-21 07:39:54 -07:00
mourner
e6af79d005 Fixed poly editing with layer add/remove bugs, closed #508 2012-02-21 15:28:11 +02:00
mourner
7889b692b0 Made Marker openPopup fail silently, closed #507 2012-02-21 15:07:54 +02:00
mourner
60f96281e7 Fixed false clicks on touch devices bugs, closed #485 2012-02-21 14:58:01 +02:00
mourner
96e29ee3e9 Fixed manual popup closing bug, closed #423 2012-02-21 14:53:59 +02:00
mourner
10bb71fb2a Improved panning usability on marker-crowded maps, closed #506 2012-02-21 12:32:11 +02:00
mourner
495f4d3632 More Icon-related improvements 2012-02-21 12:02:54 +02:00
mourner
e64743f741 Bringed back the mouseEventToLatLng method, closed #515 2012-02-21 10:46:04 +02:00
Jason Sanford
6778c4c26b Adding setBounds method to Rectangle layer. 2012-02-20 22:08:28 -07:00
Jason Sanford
e90230272d Merge branch 'master' of git://github.com/CloudMade/Leaflet 2012-02-20 21:54:23 -07:00
mourner
1e72e40c89 Added Popup maxHeight option, updated default popup styles 2012-02-17 15:32:40 +02:00
mourner
c6ec68615f Added Map addHandler method 2012-02-17 15:30:25 +02:00
mourner
1063ad884e made panning animation slightly faster 2012-02-17 11:53:31 +02:00
mourner
fe77297cf5 made zoom animation slightly faster 2012-02-17 11:53:11 +02:00
Jason Sanford
b18491c25d Adding L.Rectangle. Just ready to test in debug, still needs added to build scripts, documentation to be comlete. Addresses #494. 2012-02-16 23:36:46 -07:00
mourner
d907c6df63 Fixed setStyle stroke/fill update bug, closed #441 2012-02-16 18:56:39 +02:00
mourner
c3b33d8ca3 Polyline editing fixes, better debug page 2012-02-16 18:11:17 +02:00
Vladimir Agafonkin
b76cba10e2 Merge pull request #501 from ErrorProne/master
Forgot to prevent the default action on Path-right click
2012-02-16 07:56:18 -08:00
mourner
9ae2926327 Add Polyline edit event 2012-02-16 17:46:24 +02:00
mourner
95602105c1 Merge remote-tracking branch 'origin/master' 2012-02-16 17:29:00 +02:00
mourner
ebbad27cbd More polyline/polygon editing (middle markers), #174 2012-02-16 17:28:42 +02:00
Finn Herpich
395eeca7f4 forget to prevent the default context menu action 2012-02-16 16:26:49 +01:00
Finn Herpich
b863b0baf0 Added contextmenu to Path.SVG Events 2012-02-16 15:19:29 +01:00
mourner
43305b9ffb Initial polyline/polygon editing implementation, #174 2012-02-16 14:15:47 +02:00
mourner
b90c2f551f Clean up LatLngBounds#pad, update changelog 2012-02-16 13:09:48 +02:00
mourner
f9b3e28833 Merge remote-tracking branch 'origin/master' 2012-02-16 13:01:32 +02:00
mourner
1a8a0ce632 Added DivIcon for lightweight div-based markers, and editable poly example 2012-02-16 13:00:45 +02:00
mourner
e42f140970 Refactored Icon to use options instead of properties 2012-02-16 13:00:09 +02:00
mourner
bf558551ed Fix flickering cursor on marker dragging 2012-02-16 12:58:56 +02:00
mourner
e5feddf8fc Made Path redraw method public and chainable 2012-02-16 11:40:50 +02:00
jacobtoye
b817093da8 Added method to pad a LatLngBounds by a %. 2012-02-16 10:37:45 +13:00
mourner
df0800e678 Fixed click event after disabled dragging bug, closed #434 2012-02-15 19:26:17 +02:00
mourner
6040d8bf77 Added Circle#getBounds, closed #440 2012-02-15 18:54:11 +02:00
mourner
ae99354857 interpolate URL values from options (instead of urlParams 3rd argument) 2012-02-15 18:23:34 +02:00
mourner
a2a666d9c3 update build 2012-02-15 17:50:59 +02:00
mourner
808d01207c another batch of cleanup and refactoring 2012-02-15 17:50:22 +02:00
mourner
8e131c5f32 more cleanup and refactoring 2012-02-15 17:05:55 +02:00
mourner
e3d0e24a0c cleaning up and formatting code 2012-02-15 13:17:25 +02:00
mourner
30f1c6af9e Merged #488 fix from stable, closed #488, allowed smart tabs 2012-02-15 11:03:39 +02:00
mourner
ba5b40cc19 Fixed non-removable attributions regression #488 2012-02-15 10:54:17 +02:00
mourner
81e6fe4b95 webkit memory issue hack for webkit 2012-02-15 10:49:42 +02:00
Jason Sanford
22e2fba84b Adding "equals" method to LatLngBounds using the preferred LatLng.equals method. Much cleaner. 2012-02-14 09:29:29 -07:00
mourner
bc39d7036b fix black tile flickering bug, update changelog, build 2012-02-14 17:25:47 +02:00
mourner
2828235ba3 fixed black tile flickering on iOS and query string bug 2012-02-14 17:20:57 +02:00
mourner
bf7fbdb795 Fixed Leaflet include query string bug 2012-02-14 12:41:46 +02:00
mourner
7435d2ac09 removed unneeded control constants 2012-02-14 11:42:01 +02:00
mourner
2d8029e436 Reworked controls to be more flexible (inspired by #480) 2012-02-14 11:40:47 +02:00
Kyle Johnson
4ca4622aae Added support to set the position of the zoom control 2012-02-13 23:25:35 -05:00
Bryan McBride
d5660ef6ca Support ability to add a tile layer below all others for TileLayer.WMS 2012-02-13 10:04:23 -05:00
mourner
fdde989f05 Fixed Android 3 stability issues 2012-02-13 16:01:00 +02:00
mourner
0756ef15c7 Fixed Android 2 stability issues, Closed #69 2012-02-13 14:32:58 +02:00
mourner
2ebbfdf40c Fixed attributions disappearing, closed #405 2012-02-13 13:12:36 +02:00
mourner
0ef3058512 Added setZIndexOffset to Marker, closed #449 2012-02-13 12:50:18 +02:00
Vladimir Agafonkin
cdf91c2572 Merge pull request #468 from appelflap/master
Make L.TileLayer._update obey min/max Zoom of layer
2012-02-12 23:41:41 -08:00
mourner
c4d6a4f3d7 Fixed Layer Switcher on Mobile, closed #203 2012-02-12 16:51:30 +02:00
mourner
24ff9ce5ec more stable zoom animation 2012-02-12 15:15:33 +02:00
appelflap
388b6aeadb Make _update obey min/max Zoom of layer 2012-02-03 23:38:50 +01:00
mourner
fd2426eabd minor TileLayer edits 2012-02-03 20:17:20 +02:00
mourner
f46c0263c3 Fixed touch-panning inside a popup, closed #452 2012-02-03 12:59:05 +02:00
mourner
de78de0fee Update build and changelog 2012-02-03 12:51:29 +02:00
mourner
8088be451e merge reverse zoom TileLayer option from Majiir 2012-02-03 12:41:18 +02:00
mourner
3c2df2ee61 Clean up harvesine formula, update changelog 2012-02-03 12:17:11 +02:00
mourner
aa111eb790 Merge remote-tracking branch 'origin/master' 2012-02-03 12:07:23 +02:00
mourner
1cc885056b Significantly improved line simplification performance 2012-02-03 12:07:06 +02:00
Vladimir Agafonkin
4c25fd8236 Merge pull request #462 from mortenbekditlevsen/lldist
Haversine distance formula for getting distance between two LatLngs
2012-02-03 01:55:29 -08:00