Commit Graph

2118 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
dbd4da6255 add shortcuts for extend, bind, stamp and setOptions 2012-11-07 20:30:56 +02:00
Vladimir Agafonkin
7517cbcd53 fix typos and regression in #1122 2012-11-07 19:21:21 +02:00
Vladimir Agafonkin
ed0686996a and some more whitespace fixes 2012-11-07 19:14:25 +02:00
Vladimir Agafonkin
2b225cc3a8 more whitespace fixes 2012-11-07 18:46:59 +02:00
Vladimir Agafonkin
9e70816030 Merge branch 'master' of github.com:CloudMade/Leaflet 2012-11-07 14:13:33 +02:00
Vladimir Agafonkin
a293f52e80 different whitespace fixes (smart tabs, lines no longer than 100) 2012-11-07 14:13:06 +02:00
Vladimir Agafonkin
85ed21539f Merge pull request #1122 from jacobtoye/LayerGroupEvents
Added 'layeradd' and 'layerremove' events to LayerGroup.
2012-11-06 00:37:40 -08:00
jacobtoye
6c4221fe04 Added 'layeradd' and 'layerremove' events to LayerGroup. 2012-11-06 15:37:36 +13:00
Vladimir Agafonkin
3ae809e7c9 Merge pull request #1121 from danzel/master
mousemove events need to propagate through path layers
2012-11-05 13:30:21 -08:00
danzel
1a2764ae0a mousemove events need to propagate through path layers otherwise you cannot drag the map through them. Refs #1046 2012-11-06 10:28:34 +13:00
Vladimir Agafonkin
333f74eb07 Merge pull request #1120 from danzel/master
Dragging a marker should not trigger a map click event.
2012-11-04 14:32:11 -08:00
danzel
c03ff65bc4 Dragging a marker should not make a map click event. 2012-11-05 10:27:40 +13:00
Vladimir Agafonkin
df7c350c75 Merge pull request #1117 from danzel/master
Add zoom to leaflet-popup-content-wrapper to fix popup style in IE7
2012-11-02 15:56:10 -07:00
danzel
59961216bb Add zoom to leaflet-popup-content-wrapper to fix popup style in IE7. Fixes #1114 2012-11-03 11:52:57 +13:00
Vladimir Agafonkin
4080a64adc update website link, update build 2012-11-02 15:16:17 +02:00
Vladimir Agafonkin
37712769bf improve contributing guide and fix readme 2012-10-31 16:49:14 +02:00
Vladimir Agafonkin
68f40df78a Merge branch 'master' of github.com:CloudMade/Leaflet 2012-10-31 16:34:30 +02:00
Vladimir Agafonkin
72915f83ca improve readme 2012-10-31 16:33:58 +02:00
Vladimir Agafonkin
bfc94d3176 add Path closePopup method, fix a couple of issues 2012-10-31 15:34:19 +02:00
alexanderd
1c597e4cf4 Use proper factory call for bounds option 2012-10-31 13:06:33 +02:00
Vladimir Agafonkin
82ca621091 update license year 2012-10-31 12:42:23 +02:00
Vladimir Agafonkin
307c9d9953 Merge pull request #955 from danzel/longpress
Add LongPress support to mobile.
2012-10-31 01:00:13 -07:00
danzel
edaa1bbcec Disable longPress contextmenu emulation on msTouch, it natively fires its own contextmenu event after a longpress is released. 2012-10-31 13:26:56 +13:00
danzel
081edc283e Rename timeout to match other vars 2012-10-31 13:25:29 +13:00
Vladimir Agafonkin
cac035af93 add CRS.Simple to the build 2012-10-31 02:13:42 +02:00
danzel
5f960721d9 Use L.Util.bind instead of var self. 2012-10-31 13:11:16 +13:00
danzel
3aeff55f24 Rename contextMenuEmulation -> longPress 2012-10-31 13:05:38 +13:00
Vladimir Agafonkin
7ed96d6ed1 fix TileLayer.Canvas drawTile zoom argument 2012-10-31 02:02:12 +02:00
danzel
9783d9ba22 Cancel contextMenu emulation timeout if >1 touches happen (Put them down for a touch zoom and didn't move them for example) 2012-10-31 12:59:59 +13:00