Commit Graph

2452 Commits

Author SHA1 Message Date
John Firebaugh
4015f49615 Consistent mouse event propagation in Marker and Path
Marker was missing mouseup and mousemove.
Path was missing mouseup.
2013-06-28 14:44:10 -04:00
John Firebaugh
1b7977a259 Manage happen.js with npm and upgrade it 2013-06-28 14:44:10 -04:00
Vladimir Agafonkin
634160aa4b add plugin authoring guide, close #399 2013-06-28 14:39:49 -04:00
Vladimir Agafonkin
d00d8af033 update changelog 2013-06-28 14:38:50 -04:00
John Firebaugh
2b6dbacf53 Workaround for FF user-select bug (fixes #1807) 2013-06-28 12:21:52 -04:00
Vladimir Agafonkin
4bb9b38423 Merge pull request #1804 from Leaflet/1790
Replace explicit z-index with DOM reordering
2013-06-28 07:00:21 -07:00
John Firebaugh
1954d3d64e Replace explicit z-index with DOM reordering
Setting an explicit z-index interacts badly with tile
layers which have an opacity less than 1, and therefore
create a stacking context.

Fixes #1790.
2013-06-28 09:55:17 -04:00
Vladimir Agafonkin
69f51f22f3 update build and changelog 2013-06-27 19:36:29 -04:00
Vladimir Agafonkin
859c62f0e7 fix chrome zoom anim flickering near map borders 2013-06-27 19:36:20 -04:00
Vladimir Agafonkin
3d1f0957e7 Merge pull request #1801 from Leaflet/1800
Disable text selection on mousedown rather than move
2013-06-27 15:21:20 -07:00
John Firebaugh
4a8b5486c9 Disable text selection on mousedown rather than move
This seems to fix #1800 and a related unfiled issue reported in
IRC regarding tiles becoming selected on double-click when a
vector layer is present.
2013-06-27 18:06:43 -04:00
Vladimir Agafonkin
ae5bc1cc82 bump version and build 2013-06-27 10:41:12 -04:00
Vladimir Agafonkin
9ba28229e9 fix typo in changelog 2013-06-27 10:35:12 -04:00
Vladimir Agafonkin
f1b8b1bc06 update build and changelog 2013-06-27 10:34:32 -04:00
John Firebaugh
725124931f preventDefault on MozMousePixelScroll
This prevents scrolling without changing the zoom delta
calculations.

Fixes #1794
2013-06-27 10:28:13 -04:00
John Firebaugh
bc40266bc9 Revert "Use "wheel" event where supported (#1788)"
This reverts commit a784c560e5.
2013-06-27 10:27:42 -04:00
Vladimir Agafonkin
e468704738 fix EPSG3395 zooming, close #1796 2013-06-27 09:27:25 -04:00
Vladimir Agafonkin
504390d67c update jshint and karma versions in deps 2013-06-26 17:52:30 -04:00
Vladimir Agafonkin
de743fa890 fix clash of zoom button hover styles with Bootstrap, close #1791 2013-06-26 17:31:45 -04:00
Vladimir Agafonkin
b2d5eba972 make npm package name lowercase as required 2013-06-26 12:29:29 -04:00
Vladimir Agafonkin
48ea6518f7 reorder items in the changelog a bit 2013-06-26 09:46:42 -04:00
Vladimir Agafonkin
3374166028 update build 2013-06-25 19:42:38 -04:00
Vladimir Agafonkin
c56e3762ac bring back the horrible timeout hack for Android, close #1785 2013-06-25 19:42:03 -04:00
Vladimir Agafonkin
7c6c701efc update docs section in contributing guide 2013-06-25 16:25:21 -04:00
Vladimir Agafonkin
ae1dcaf978 remove outdated changelog line 2013-06-25 14:43:35 -04:00
Vladimir Agafonkin
46a3ffa507 minor changelog fix 2013-06-25 14:41:31 -04:00
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