Commit Graph

1676 Commits

Author SHA1 Message Date
Vladimir Agafonkin
64f6422a23 Merge branch 'refactorvectors' of github.com:CloudMade/Leaflet into refactorvectors 2012-10-31 14:47:41 +02:00
Vladimir Agafonkin
d5ea49e047 Merge branch 'master' into refactorvectors 2012-10-31 13:43:31 +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
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
Vladimir Agafonkin
9e8f8e47f5 Update src/layer/vector2/TODO.md
markdown formatting for vector refactoring todo
2012-10-18 22:58:31 +03:00
Vladimir Agafonkin
335b7f46eb clean up browser detection 2012-10-18 18:43:03 +03:00
Vladimir Agafonkin
68cb13d016 more viewport refactoring 2012-10-18 17:22:50 +03:00
Vladimir Agafonkin
e67aed7c7f add vector refactoring todo 2012-10-18 17:22:27 +03:00
Vladimir Agafonkin
5fa25c28a4 simplify vector animation, @danzel check it out lol 2012-10-18 16:38:31 +03:00
Vladimir Agafonkin
8202e7a03b SVG viewport refactoring 2012-10-18 16:35:47 +03:00
Vladimir Agafonkin
628a5b4ce0 update changelog 2012-10-18 11:20:54 +03:00
danzel
36b9509ac7 update changelog and build 2012-10-18 14:36:25 +13:00
Dave Leaver
be5c147914 Merge pull request #1076 from danzel/ie10
IE10 touch support
2012-10-17 18:27:53 -07:00
danzel
816b53f2de jshint happiness 2012-10-18 14:23:18 +13:00
danzel
c6be039326 Fix up DoubleTap in ie10 emulation mode bailing as touches isn't set (which it of course isn't!) 2012-10-18 14:23:17 +13:00
danzel
f373d6b0d4 The internal MSPointerUp/Cancel listener should be set on the document and never let go otherwise we can miss MSPointerUp events. 2012-10-18 14:23:17 +13:00
danzel
1bf755dce3 Fix up double tap listener with ie10. We listen for up events on the document so that we get all of them, otherwise we will miss some and mess up our touch coun tracking. 2012-10-18 14:23:16 +13:00
danzel
31542bd932 Remove debug logs 2012-10-18 14:23:16 +13:00