Commit Graph

1841 Commits

Author SHA1 Message Date
Vladimir Agafonkin
ab9f45baf1 Merge pull request #1158 from danzel/master
Add setZIndex to LayerGroup
2012-11-19 12:41:28 -08:00
danzel
0033496b58 jshint happy 2012-11-20 09:38:14 +13:00
danzel
63ad64cb7a Use invoke to make this code smaller. 2012-11-20 09:36:23 +13:00
Mattias Bengtsson
c0135a219d Added a bunch of tests and fixed some bugs those exposed.
Also don't try to automatically adjust zoom. Leave that to the
layer control for now and wait for a setBaseLayer / switchLayer
or something instead.
2012-11-19 04:36:13 +01:00
Mattias Bengtsson
6f1532f402 Fix for https://github.com/CloudMade/Leaflet/pull/623
There seems to be a timing bug though.
2012-11-18 22:07:27 +01:00
danzel
b28b6da924 Add setZIndex to LayerGroup to allow LayerGroups to work better with the layers control. Fixes #1096 2012-11-19 09:58:28 +13:00
Mattias Bengtsson
19c51bcfb8 Add a debug page exposing the bugs that happen when switching layers with different zoom levels. 2012-11-18 17:19:28 +01:00
Vladimir Agafonkin
d0b8ca9ef0 bg transparent for popup close button in CSS, closes #897 2012-11-18 18:03:08 +04:00
Vladimir Agafonkin
07eb3b4c8d fix dashArray in IE, closes #1091 2012-11-18 17:55:28 +04:00
Vladimir Agafonkin
00a2f319cd Merge pull request #1151 from danzel/touch-and-mouse
Wire Touch and mouse events on touch devices
2012-11-15 15:34:02 -08:00
danzel
5e35553361 Code tidyups from mourners feedback. 2012-11-16 11:28:01 +13:00
danzel
0efa63500c Fix up 2 places where L.Draggable.START hadn't been updated for it being an array (thanks mourner) 2012-11-16 10:57:29 +13:00
danzel
41a85b0128 Only wire move/end listeners for the thing we want to listen to.
Stops potential bug:
User touches on device, user moves mouse. These mouse move events would have panned the map, now they won't.
2012-11-16 10:57:28 +13:00
danzel
04908cee8d Always enable scrollWheelZoom (fixes scroll wheel zoom on mouse+touch devices) 2012-11-16 10:57:28 +13:00
danzel
46b7d97298 Get doubleclick on touch&mouse devices working. We need to add a touch doubletap emulator and a normal doubleclick listener 2012-11-16 10:57:27 +13:00
danzel
cb9407ffee Sort of working Draggable support for touch+mouse devices. 2012-11-16 10:57:26 +13:00
Vladimir Agafonkin
7079dba889 Merge pull request #1148 from waldir/patch-3
Use "semantic linebreaks"
2012-11-15 10:15:53 -08:00
Waldir
e0b7a1375b use semantic linebreaks also in CONTRIBUTING.md 2012-11-15 11:58:09 +00:00
Waldir
3a3a9b7058 Use [semantic linebreaks](http://rhodesmill.org/brandon/2012/one-sentence-per-line/) 2012-11-15 11:46:52 +00:00
Vladimir Agafonkin
c37e755832 stop mousewheel propagation in layers control, related to #845 2012-11-14 16:50:04 +02:00
Vladimir Agafonkin
b2d6575445 update build 2012-11-14 15:13:08 +02:00
Vladimir Agafonkin
c33a4013a2 make zoom buttons disabled when reaching min/max, closes #917 2012-11-14 15:12:31 +02:00
Vladimir Agafonkin
469211d0cf fix slight scrolling zoom bug, closes #1039 2012-11-14 14:46:17 +02:00
Vladimir Agafonkin
10c0a63b3d fixed non-rounded panBy, closes #1085 2012-11-14 14:39:59 +02:00
Vladimir Agafonkin
93091704f7 update changelog and build 2012-11-14 14:08:20 +02:00
Vladimir Agafonkin
91aecd376b add Marker contextmenu event 2012-11-14 14:07:59 +02:00
Vladimir Agafonkin
eba4eb0a5c fix shift-click on the map 2012-11-14 14:07:36 +02:00
Vladimir Agafonkin
b3826358d5 add Point equals method 2012-11-14 14:07:17 +02:00
Vladimir Agafonkin
34812d87c9 update changelog 2012-11-14 13:37:32 +02:00
Vladimir Agafonkin
44a785f80d convenience method for debugging 2012-11-14 13:37:25 +02:00
Vladimir Agafonkin
cc5fbf1f2e improve scale control styles 2012-11-14 11:55:34 +02:00
Vladimir Agafonkin
a1b8da5356 more css fiddling 2012-11-13 23:20:03 +02:00
Vladimir Agafonkin
c2272fb2f7 fiddling with styles more 2012-11-13 23:14:58 +02:00
Vladimir Agafonkin
e92ca29f4e subtle control style changes 2012-11-13 23:08:51 +02:00
Vladimir Agafonkin
9770054240 update build 2012-11-13 16:50:00 +02:00
Vladimir Agafonkin
8c6c3fd9e7 Merge branch 'master' of github.com:CloudMade/Leaflet 2012-11-13 16:48:42 +02:00
Vladimir Agafonkin
2fadc94ec3 new zoom control look, various style fixes and cleanup 2012-11-13 16:48:25 +02:00
Vladimir Agafonkin
498f2b6c4a Merge pull request #1134 from pborreli/typos
Fixed typos
2012-11-09 15:29:13 -08:00
Pascal Borreli
9546599520 Fixed typos 2012-11-09 23:15:48 +00:00
Vladimir Agafonkin
9e37766c96 update version to 0.5 2012-11-09 23:52:11 +02:00
Vladimir Agafonkin
e4ec9a8967 fix bug in #1131, update build 2012-11-09 16:27:56 +02:00
Vladimir Agafonkin
8a8b2be454 CSS whitespace fixes 2012-11-09 15:34:48 +02:00
Vladimir Agafonkin
3c62151929 reorganize CSS, improve dragging cursors 2012-11-09 15:20:11 +02:00
Vladimir Agafonkin
c82d023dde Merge branch 'master' of github.com:CloudMade/Leaflet 2012-11-09 11:42:17 +02:00
Vladimir Agafonkin
9795731a01 cut images in size by 64% with Yahoo Smush.it, update changelog 2012-11-09 11:41:52 +02:00
Vladimir Agafonkin
6dd3b9872b Merge pull request #1131 from danzel/master
Move reflow code
2012-11-09 00:21:31 -08:00
danzel
6fbf2a21bf Move reflow into PosAnimation.stop so users don't have to implement it themselves. 2012-11-09 16:13:52 +13:00
Vladimir Agafonkin
d528a03628 update buikd 2012-11-08 19:20:55 +02:00
Vladimir Agafonkin
d37680735f rewrite and tweak inertia easing to make it smoother 2012-11-08 19:20:40 +02:00
Vladimir Agafonkin
4987133828 improve zoom animation curve 2012-11-08 19:17:02 +02:00