Commit Graph

1887 Commits

Author SHA1 Message Date
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
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
danzel
514908f812 Stop touchStart propagation in Draggable. Without this dragging marker will fire a contextmenu event on touch as the map gets a touch start/end event but none of the moves. 2012-10-31 12:59:58 +13:00
danzel
1aff46cb27 Rewrite longpress->contextmenu to live inside Draggable instead as it needs deep interaction with it. When an emulated contextmenu is fired on touch we stop dragging and stop a click event from occurring. New map option to disable it if required: touchContextMenuEmulation 2012-10-31 12:59:58 +13:00
danzel
d3d85198e2 Need to clone the x/y of the touch as the actual object gets updated. This fixes contextMenu occurring while touch panning the map. 2012-10-31 12:58:59 +13:00
danzel
d133c86b51 Add LongPress support to mobile. Fires a contextmenu event after a single press without movement of 1 second 2012-10-31 12:58:58 +13:00
Vladimir Agafonkin
3c7b66b56c update changelog and build 2012-10-31 01:42:24 +02:00
Vladimir Agafonkin
8077faa2e3 refactor and cleanup marker bringToFront option 2012-10-31 01:25:03 +02:00
Vladimir Agafonkin
b0a911516f Merge pull request #914 from jacobtoye/MarkerBringToFront
Bring markers to front when mouseover
2012-10-30 16:09:55 -07:00
Vladimir Agafonkin
756e828c17 update build 2012-10-31 00:58:58 +02:00
Vladimir Agafonkin
859e6da53f update changelog 2012-10-31 00:58:42 +02:00
Vladimir Agafonkin
3bd189ed4c disregard line endings when comparing size 2012-10-30 23:38:41 +02:00
Vladimir Agafonkin
ae7561ec6b Merge pull request #1100 from danzel/rtl
RTL Fixes round 2
2012-10-28 16:15:59 -07:00
danzel
d1a1f1748a Make jshint happy 2012-10-29 11:49:51 +13:00
danzel
eecd28e570 Make getStyle work for ie < 9. Make IE<=7 support RTL too. 2012-10-29 11:46:40 +13:00
danzel
6b181f697a Add ie7 browser detection :( 2012-10-29 11:44:05 +13:00
danzel
b6ae1259f0 Text alignment 2012-10-29 11:11:14 +13:00
danzel
9b5d25ae7f Only apply scrollWidth/clientWidth for webkit. Other browsers handle it differently. 2012-10-29 11:06:22 +13:00
danzel
126a316916 Cache remembering if the document is Left to right. Do it at the document level rather than the element level as it isn't likely to change. 2012-10-29 10:48:01 +13:00
Vladimir Agafonkin
13d06fccf6 Merge pull request #1099 from danzel/rtl
RTL improvements. Fixes #1095
2012-10-28 14:28:46 -07:00
danzel
c649a4fd92 Update L.DomUtil.getViewportOffset to support dir="rtl"
Fix css element positioning when rtl.
Fixes #1095
2012-10-29 10:18:38 +13:00
Vladimir Agafonkin
aca330bbdd Merge pull request #1098 from danzel/popup
Fix #1094 (Remove popup during viewreset)
2012-10-28 14:00:11 -07:00
danzel
ef42973682 If a popup is removed from the map during viewreset we still try to remove it from the map, check we are still on the map first. Fixes #1094 2012-10-29 09:39:45 +13:00
Calvin Metcalf
0529a92589 GeoJSON GeometryCollection passes consisent params to pointToLayer 2012-10-27 22:10:20 -04:00
Vladimir Agafonkin
774fe5c594 Fix logo in readme 2012-10-26 17:58:20 +03:00
Vladimir Agafonkin
650e6dd880 update website link to leafletjs.com 2012-10-26 11:47:18 +03:00
Vladimir Agafonkin
057cd222db update changelog with 0.4.5 info 2012-10-25 12:31:27 +03:00
Vladimir Agafonkin
430092c48e fix typo in browser detection 2012-10-19 14:57:39 +03:00