Commit Graph

2042 Commits

Author SHA1 Message Date
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
snkashis
7a6f2c2e7c filter out the last point of a polygon to account for GeoJSON compatibility 2012-11-16 19:33:41 -05: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
jfgirard
60d0d439f1 code convention 2012-11-12 13:34:31 -05:00
jfgirard
471816120b use a property for index length because its slow to get the first property or get the length of a hash. 2012-11-12 13:22:28 -05:00
jfgirard
ab85108836 Path CANVAS adds a click event if clickable but do not clear it on remove. This adds the necessary remove listener. 2012-11-12 11:11:16 -05:00
jfgirard
db8056df45 store the event listeners using a hash if the context have a leaflet_id.
When removing a layer,the slowest part was to remove the event from the map.  For each event, the removeEventListener method had to loop the whole list.  With thousand of layers, it become very slow to do.  With a hash used has an index to find event listeners for a given leaflet id, its no more an issue.
2012-11-12 11:10:03 -05: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
Vladimir Agafonkin
afb06a2337 Merge pull request #1127 from danzel/master
Fix #1125 (Zoom while inertial pan breaking SVG Animation)
2012-11-07 23:19:31 -08:00
danzel
128b615a08 Force a reflow when stopping a PanAnimation to start a ZoomAnimation so that the svg animation works correctly. Fixes #1125 2012-11-08 15:49:39 +13:00