Commit Graph

2426 Commits

Author SHA1 Message Date
Vladimir Agafonkin
d2f99f9b35 bump version, update changelog and build 2013-06-25 13:46:14 -04:00
John Firebaugh
7355070958 Merge pull request #1789 from Leaflet/wheel
Use "wheel" event where supported (#1788)
2013-06-25 10:40:14 -07:00
John Firebaugh
a784c560e5 Use "wheel" event where supported (#1788) 2013-06-25 13:31:51 -04:00
Vladimir Agafonkin
cdc65c6c6b add Circle & CircleMarker toGeoJSON 2013-06-25 12:43:22 -04:00
Vladimir Agafonkin
9db93e4635 update build 2013-06-25 11:31:29 -04:00
Vladimir Agafonkin
55a36e2fe8 fix regression of not being able to addLayer in initHooks 2013-06-25 11:25:10 -04:00
Vladimir Agafonkin
1eca103f8a update changelog and build 2013-06-25 10:29:16 -04:00
Vladimir Agafonkin
e74fc2594e minor formatting stuff 2013-06-25 10:25:16 -04:00
Vladimir Agafonkin
c3147e70db Merge pull request #1786 from Leaflet/preventDefault
Remove preventDefault again, fix FF
2013-06-25 07:15:37 -07:00
John Firebaugh
cb4b4ff343 Remove preventDefault from BoxZoom too 2013-06-25 10:12:02 -04:00
John Firebaugh
1b5a77f77d Also disable user-drag/prevent dragstart events
Unlike preventTextSelection, it appears important that
this happens on mousedown rather than the first mousemove
event. Otherwise, tile images are still sometimes draggable
on Firefox.
2013-06-25 10:12:02 -04:00
Vladimir Agafonkin
dd3a3ea9d9 update changelog 2013-06-25 10:08:48 -04:00
Vladimir Agafonkin
c05614bd1a update build 2013-06-25 09:45:54 -04:00
Vladimir Agafonkin
89d0730254 fix Android firing click twice on buttons, close #1785, related #1694 2013-06-25 09:45:35 -04:00
Vladimir Agafonkin
3076210fd1 revert remove preventDefault #1782, breaks FF 2013-06-24 23:55:11 -04:00
Vladimir Agafonkin
78900af8bc Merge pull request #1784 from danzel/fix-1694
Don't add mouseover/out listeners to the layers control on android
2013-06-24 20:47:38 -07:00
danzel
8b742a024e Don't add mouseover/out listeners to the layers control on android, otherwise your first touch will do mouseover, showing the list and click, clicking an item. Fixes #1694 2013-06-25 15:44:33 +12:00
Vladimir Agafonkin
f1e87ef665 remove unnecessary preventDefault 2013-06-24 23:24:52 -04:00
Vladimir Agafonkin
95d6d27cb0 Merge branch 'iframe-drag'
* iframe-drag:
  fix jshint errors
  Refine existing methods for disabling text selection
  Add iframe debug html
  Suppress text selection behavior during drag
  Continue to preventDefault on touch
  Remove preventDefault and mousedown workaround
2013-06-24 23:23:54 -04:00
Vladimir Agafonkin
9fb565aa93 fix jshint errors 2013-06-24 23:23:43 -04:00
Vladimir Agafonkin
bf1b498205 Merge pull request #1783 from Leaflet/taphacks
Move all tap hacks code into a separate handler
2013-06-24 20:18:07 -07:00
Vladimir Agafonkin
28ba41eced disable tap hacks on IE, ref #1694 2013-06-24 23:11:51 -04:00
Vladimir Agafonkin
e72e2476f8 remove leftover code 2013-06-24 22:38:38 -04:00
Vladimir Agafonkin
1d3ab22ca2 update changelog and build 2013-06-24 20:28:32 -04:00
Vladimir Agafonkin
8df10e8d94 collapse layers control on click instead of movestart 2013-06-24 20:12:14 -04:00
Vladimir Agafonkin
f9ea4758f8 move all tap hacks code into a separate handler, close #1781 2013-06-24 18:17:25 -04:00
Vladimir Agafonkin
a12bd9474f call init hooks before adding layers (fixes zoom anim regression) 2013-06-24 17:37:31 -04:00
John Firebaugh
60476da33c Refine existing methods for disabling text selection 2013-06-24 17:37:19 -04:00
John Firebaugh
347ea2dae6 Add iframe debug html 2013-06-24 16:35:00 -04:00
John Firebaugh
ea8af5c2a1 Suppress text selection behavior during drag
Reference: https://github.com/mbostock/d3/pull/1289
2013-06-24 16:34:59 -04:00
John Firebaugh
05461bdd11 Continue to preventDefault on touch 2013-06-24 16:34:59 -04:00
John Firebaugh
37c4842a73 Remove preventDefault and mousedown workaround
As long as the mousedown event does not have preventDefault,
dragging out of an iframe works as expected.
2013-06-24 16:34:59 -04:00
Vladimir Agafonkin
7223a7e49b prevent default on marker mousedown so it doesn't get outline on click 2013-06-24 16:07:18 -04:00
Vladimir Agafonkin
34ce6e6eba Merge pull request #1780 from Leaflet/iframe-mouseout
Iframe mouseout
2013-06-24 12:25:26 -07:00
Vladimir Agafonkin
5a7420dd1a Propagate popup clicks outside of map container, close #301 2013-06-24 15:19:17 -04:00
John Firebaugh
18e3277f8b Avoid error if transform happens to be 'none'
Fixes #1707
2013-06-24 14:56:22 -04:00
Tom MacWright
95abf5a385 Remove mouseout binding on up 2013-06-24 14:45:29 -04:00
John Firebaugh
2c22d13ab8 Fix test 2013-06-24 14:39:23 -04:00
Vladimir Agafonkin
d0488a8dda Merge pull request #1779 from Leaflet/togeojson-feature
Togeojson feature
2013-06-24 11:37:17 -07:00
Tom MacWright
e614b60d2b Remove debugging 2013-06-24 14:33:41 -04:00
Tom MacWright
baef8e1ffe End drag events on mouseout of document, fixes #1277 2013-06-24 14:33:01 -04:00
John Firebaugh
e7d0fb1b37 Normalize all toGeoJSON output to Features 2013-06-24 14:30:24 -04:00
John Firebaugh
d57525ec52 Don't overwrite layer.feature.geometry 2013-06-24 14:14:36 -04:00
Vladimir Agafonkin
5841fd87a4 convert geojson-converted layers back to features 2013-06-24 14:14:35 -04:00
Tom MacWright
130d6d0fac Ignore pan keyboard event if the map is animating. Fixes #1710 2013-06-24 13:50:24 -04:00
Vladimir Agafonkin
01b76b747e Merge pull request #1778 from sheppard/master
make AMD declaration anonymous
2013-06-24 10:38:10 -07:00
S. Andrew Sheppard
239faad5d7 make AMD declaration anonymous 2013-06-24 12:35:25 -05:00
Vladimir Agafonkin
a03d62cfda add TileLayer.WMS crs option for reprojecting, close #945 2013-06-24 13:26:19 -04:00
Vladimir Agafonkin
40179ed11f add keyboard accessibility to markers, close #1355 2013-06-24 13:14:30 -04:00
Tom MacWright
9f50ab8dbb Propagate popupopen as well, refs #1681 2013-06-24 12:00:08 -04:00