Commit Graph

2391 Commits

Author SHA1 Message Date
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
2b17da0502 improve copy text on the front page 2012-10-31 16:23:26 +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
mourner
25b6670d05 fix twitter button alignment 2012-10-26 12:06:53 +03:00
mourner
8df59e97d5 hide twitter count 2012-10-26 12:04:47 +03:00
mourner
5d01611d4e rename leaflet.cloudmade.com -> leafletjs.com 2012-10-26 11:56:51 +03:00
Vladimir Agafonkin
650e6dd880 update website link to leafletjs.com 2012-10-26 11:47:18 +03:00
Vladimir Agafonkin
98de0b407b update CNAME with leafletjs.com 2012-10-26 11:37:06 +03:00
Vladimir Agafonkin
ee4541de57 Update blog post notice 2012-10-26 10:08:35 +03:00
Vladimir Agafonkin
3ad92c4167 fix link on download page to 0.4.5 2012-10-26 10:04:22 +03:00
Vladimir Agafonkin
a1e73f4ddf update blogpost 2012-10-25 15:44:59 +03:00
Vladimir Agafonkin
fe9bed5374 small blog post fix 2 2012-10-25 15:19:48 +03:00
Vladimir Agafonkin
845cc3bb0a small blog post fix 2012-10-25 15:18:07 +03:00
Vladimir Agafonkin
8716146dae changelog link in blog post 2012-10-25 15:15:19 +03:00
Vladimir Agafonkin
5cf5a69850 0.4.5 release and new post 2012-10-25 15:12:23 +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