Vladimir Agafonkin
6c77fe64c2
fix IE6-8 throwing error on map.remove(), close #2015
2013-09-13 18:14:05 +03:00
Vladimir Agafonkin
3d5dbe7dfc
fix accidentally commented out fix, #1980
2013-08-29 00:51:00 +03:00
Vladimir Agafonkin
62b23b42e0
fix resize tracking on multiple maps, close #1980
2013-08-28 17:56:43 +03:00
Dag Jomar Mersland
5180cce838
check for undefined el.tagName prevents iPad error
2013-08-21 13:30:10 +02:00
Dag Jomar Mersland
d78fb49943
Fix for iPad, where el.tagName was undefined when clicking on labels.
2013-08-19 10:14:36 +02:00
Vladimir Agafonkin
1f6533d0f5
Merge pull request #1982 from fastrde/FixworldCopyJump
...
Fix worldCopyJump set Center and Zoom first
2013-08-18 01:21:31 -07:00
fastrde
b4ed2bf282
map.once doesn't get called when the map is already initailized and drag.enabled is called.
2013-08-17 12:13:47 +02:00
fastrde
3370942b36
call _onViewReset() not until map is loaded (center and zoom are set)
2013-08-17 02:08:24 +02:00
fastrde
5eacbbf105
Added Keycode 171 to support Firefox 22
2013-08-17 00:38:51 +02:00
Vladimir Agafonkin
4609d482f2
some tweaks to #1951
2013-08-09 14:00:44 +03:00
fastrde
c1e64c2479
Fix for zoomBox fires map click Event (Issue #1884 )
2013-08-08 15:15:39 +02:00
John Firebaugh
65a311a822
Return this even when short-circuiting
2013-08-06 10:27:27 -07:00
Vladimir Agafonkin
e18b7eded6
Merge pull request #1931 from russelldavis/fix-invalidate-size
...
Fix rounding issues in Map::invalidateSize
2013-08-06 02:43:40 -07:00
Vladimir Agafonkin
8611e22005
Merge pull request #1939 from jfirebaugh/zoom
...
Support center-oriented scroll/double-click zoom
2013-08-06 01:55:08 -07:00
John Firebaugh
a0c6363bb6
Invalidate _initialCenter along with size ( fixes #1919 )
2013-08-05 14:09:09 -07:00
John Firebaugh
4fdf76ee90
Support center-oriented scroll/double-click zoom
2013-08-05 12:29:55 -07:00
Russell Davis
f568768142
Fix rounding issues in Map::invalidateSize
2013-08-01 23:14:11 -07:00
Vladimir Agafonkin
8d925b6acb
fix map scrolling right on click with horizontal scroll on page, close #1901
2013-07-25 12:49:16 +03:00
Vladimir Agafonkin
42a78fd867
fix infinite loop in getBounds and setMaxBounds, close #1895 , close #1866
2013-07-25 12:42:13 +03:00
Vladimir Agafonkin
75c133082c
fix Map min/maxZoom not overriding TileLayer-derived min/max, close #1848
2013-07-12 15:05:59 +03:00
Vladimir Agafonkin
a4c6c03550
break line to fix jshint
2013-07-12 12:46:10 +03:00
Vladimir Agafonkin
5c1a34979e
fix fakeStop in IE<9, close #1850 hopefully
2013-07-12 12:41:08 +03:00
Vladimir Agafonkin
5829963014
do not animate zoom if nothing to animate yet, close #1484 , close #1845
2013-07-11 15:59:13 +03:00
Vladimir Agafonkin
183c8a2cb7
merge #1834 (passing options to setMaxBounds)
2013-07-11 13:03:41 +03:00
John Firebaugh
4839c44509
Fire layerremove after removing the layer
...
This is consistent with 0.5.x and seems more useful. Updating
the state of a layer switcher using map.hasLayer in response
to layeradd and layerremove events is my use case.
2013-07-08 16:53:04 -07:00
David Beitey
c663392697
Allow options to be passed to Map.setMaxBounds such that they can be used when setting the view.
2013-07-05 14:12:09 +10:00
danzel
fef108cc8e
Fix worldCopyJump if you start zoomed all the way out. Fixes #1831
2013-07-05 14:35:48 +12:00
danzel
71e851fa40
Remove trailing comma, fixes IE7. Refs #1755
2013-07-01 15:56:04 +12: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
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
55a36e2fe8
fix regression of not being able to addLayer in initHooks
2013-06-25 11:25:10 -04:00
John Firebaugh
cb4b4ff343
Remove preventDefault from BoxZoom too
2013-06-25 10:12:02 -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
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
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
Vladimir Agafonkin
5a7420dd1a
Propagate popup clicks outside of map container, close #301
2013-06-24 15:19:17 -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
6c061b2995
fix zoom not working with L_DISABLE_3D regression, close #1756
2013-06-24 11:32:51 -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
jacobtoye
f9920c87f0
Moving brace to correct position.
2013-06-21 09:38:44 +12:00
jacobtoye
b262fdd26b
Add parameter to invalidateSize for changing the center.
2013-06-20 16:59:14 +12:00
Vladimir Agafonkin
66d6403ddd
update layers icon, add retina version, cleaner popup styles, close #1739
2013-06-11 15:44:21 +03:00
Josh Caldwell
df5e43a062
Unbind moveend event when maxBounds removed
2013-06-10 18:32:20 -04:00
Vladimir Agafonkin
aaad3cbe2f
fix hinting error, update build
2013-06-03 12:39:28 +03:00