Commit Graph

2611 Commits

Author SHA1 Message Date
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
Tom MacWright
ed4b626550 Propagate popupclose event. Fixes #1681 2013-06-24 11:49:10 -04:00
Vladimir Agafonkin
73ddddf318 update build 2013-06-24 11:32:51 -04:00
Vladimir Agafonkin
6c061b2995 fix zoom not working with L_DISABLE_3D regression, close #1756 2013-06-24 11:32:51 -04:00
John Firebaugh
33d3c015c3 Remove webkit workaround that is no longer necessary
This was causing a bug where multiple `translate(0,0)` were
appended to the style when the opacity was changed multiple
times.
2013-06-24 10:47:24 -04:00
Vladimir Agafonkin
54befc9203 fix True Mercator projection calculations, close #1578 2013-06-24 10:42:15 -04:00
Vladimir Agafonkin
35a5fdb0e5 simplify control layers events code #1634 2013-06-24 10:18:01 -04:00
Vladimir Agafonkin
4b0ef3917e Merge branch 'overlay-event' of https://github.com/Xelio/Leaflet into Xelio-overlay-event
* 'overlay-event' of https://github.com/Xelio/Leaflet:
  External baselayer changes should fire 'baselayerchange' instead of 'overlayadd' 'baselayerchange' event should fire with layer name(use object in _layers of L.Control.Layers) instead of only layer.
  L.Control.Layers: 'overlayadd' and 'overlayremove' event should also fire on external overlay changes.
2013-06-24 10:08:11 -04:00
Vladimir Agafonkin
57a3112b85 fix geolocation data regression in FF/IE, close #1755 2013-06-24 09:50:47 -04:00
Vladimir Agafonkin
9bd725d669 fix zoom anim regression with a hack for now, close #1705 2013-06-24 09:39:49 -04:00
Vladimir Agafonkin
ca4918977b change map.invalidateSize signature to accept options, close #1767, #1766 2013-06-24 09:26:23 -04:00
Vladimir Agafonkin
1ab1bda0be more explicit copyright in the top comment 2013-06-24 09:11:57 -04:00
Vladimir Agafonkin
43c2c6a4a0 fix regression in marker setIcon #1768 2013-06-23 19:44:05 -04:00
danzel
19d49e027f Add another test for marker/shadow reuse 2013-06-24 08:54:40 +12:00
Vladimir Agafonkin
5311d16ddb update build 2013-06-23 09:50:17 -04:00
Vladimir Agafonkin
19637c08a6 fix icon reuse code to properly handle shadow, close #1768 2013-06-23 09:49:34 -04:00