Commit Graph

4014 Commits

Author SHA1 Message Date
Vladimir Agafonkin
f40dfa2eb6 fix the archive build artifact 2015-07-28 19:45:58 +03:00
Vladimir Agafonkin
dd57983093 switch to new artifacts config 2015-07-28 19:00:01 +03:00
Vladimir Agafonkin
8b39622ab9 Merge pull request #3682 from Leaflet/drag-mousedown
Do not stop mousedown event propagation on L.Draggable
2015-07-28 18:08:23 +03:00
Yohan Boniface
2b03540c23 Do not stop mousedown event on L.Draggable
Rationale is to let Leaflet plugins use the mousedown event.
2015-07-28 17:06:01 +02:00
Vladimir Agafonkin
bfd8497a42 Merge pull request #3681 from fminuti/imageoverlay-setBounds
fix imageoverlay setBound when not added to map
2015-07-28 14:36:36 +03:00
Fabrizio Minuti
93c2b52604 fix imageoverlay setBound when not added to map
If imageoverlay#setBounds is called when the layer is not added to a
map, the _reset method gets errors on execution
2015-07-28 12:10:40 +02:00
Vladimir Agafonkin
dcdace1b63 Merge pull request #3680 from fminuti/imageoverlay-setBounds
Add ImageOverlay setBounds
2015-07-28 12:24:05 +03:00
Fabrizio Minuti
28bbd81204 Add ImageOverlay setBounds
Add ImageOverlay setBounds method.
2015-07-28 11:23:46 +02:00
Vladimir Agafonkin
b78da9dc0c Merge pull request #3678 from Leaflet/baselayerchange-event
Fix baselayerchange event argument (fix #3677)
2015-07-27 16:49:21 +03:00
Yohan Boniface
08674721bc Fix baselayerchange event argument (fix #3677) 2015-07-27 15:41:07 +02:00
Vladimir Agafonkin
0b88983096 Merge pull request #3671 from w8r/gridlayer-opacity-fix
Gridlayer opacity flicker fix
2015-07-24 17:51:43 +03:00
w8r
5e32cd190c fixes #3652 by container opacity approach 2015-07-24 15:57:43 +02:00
fminuti
fc23c162b4 FlyTo with targetCenter == currentCenter not animated
Please see http://jsfiddle.net/v1so6m56/4/

If targetCenter is the same of currenteCenter the parameter u1 (the distance between "to" and "from" is 0.

The proposed patch resolve this by forcing the distance to 1.
2015-07-23 12:16:30 +02:00
Vladimir Agafonkin
ccfd306eb5 Merge pull request #3662 from fminuti/vml-fixes
Fix vector layers in IE8, close #2809
2015-07-23 12:37:11 +03:00
fminuti
62f8261b10 Fix for #2809
Fix for "Vector layers loose styling in IE8 when removing and adding back to the map" #2809
2015-07-23 11:33:58 +02:00
Vladimir Agafonkin
bf8f0b45b1 Revert canvas removeLayer regression, close #3661
This reverts commit 80b8d5f4c9.
2015-07-23 12:29:55 +03:00
Vladimir Agafonkin
c2de88c688 fire moveend on panBy without movement, close #3655 2015-07-22 19:42:57 +03:00
Vladimir Agafonkin
64333d2dc3 reduce the throttle for canvas layers
It felt laggy with 66. 32 is just about right — 30fps.
2015-07-22 19:41:01 +03:00
Vladimir Agafonkin
f5ed2cb2ac ditch Android 2 hack for overzooming image overlay, close #2282 2015-07-22 19:39:43 +03:00
Vladimir Agafonkin
80b8d5f4c9 improve canvas removeLayer perf, close #3076 2015-07-22 19:37:24 +03:00
Vladimir Agafonkin
45ebba4159 Fix panTo with no anim resetting the view, close #3355 2015-07-22 19:34:00 +03:00
Vladimir Agafonkin
b19581a588 adjust wheel zooming values 2015-07-20 19:25:18 +03:00
Vladimir Agafonkin
cf70095140 get rid of MozMousePixelScroll 2015-07-20 19:24:57 +03:00
Vladimir Agafonkin
91ad43c0cf Merge pull request #3651 from davidlukerice/fix-undefined-on-layer-removal
Fix undefined error when removing control layer
2015-07-20 18:20:32 +03:00
davidlukerice
a9060741a2 loop backwards on input click in case elements get removed 2015-07-20 10:13:08 -05:00
Vladimir Agafonkin
30df3817cd Merge pull request #3650 from Leaflet/mouseout-not-listened
Fix mouseout bubbling while initial target was not listening (fix #3648)
2015-07-20 17:03:40 +03:00
Yohan Boniface
c1f21eb38f Fix mouseout bubbling while initial target was not listening (fix #3648) 2015-07-20 15:56:11 +02:00
Vladimir Agafonkin
3242f63d6b Merge pull request #3647 from davidjb/patch-1
Ensure marker images are shown if a page has max-width configured for img elements
2015-07-20 11:49:20 +03:00
David Beitey
c75af44ca2 Ensure marker images show if max-width configured
Previous versions of Leaflet had ``.leaflet-container img { max-width: none !important }`` prior to the change in b3ff3a0e52, when the selector became more specific. 

This change ensures markers continue to be shown in the case of the page loading Leaflet has a CSS rule like ``img { max-width: 100%; }`` applied.
2015-07-20 09:36:23 +10:00
Vladimir Agafonkin
a01af4e8cd Merge pull request #3644 from Leaflet/control-zindex
Move controls on top of layers
2015-07-19 19:36:51 +03:00
Patrick Arlt
64f7ef58cb Move controls on top of layers
In my PR to expand the zindex of panes I forgot to also adjust the zindex of `.leaflet-control`. This will make controls appear on top of layers again.
2015-07-19 09:35:20 -07:00
Vladimir Agafonkin
a61841555a Merge pull request #3639 from Leaflet/contextmenu-preventdefault
Dont call preventDefault on contextmenu if no target listen to it
2015-07-18 00:17:13 +03:00
Yohan Boniface
78b486ac48 Dont call preventDefault on contextmenu if no target listen to it (fix #3638) 2015-07-17 17:15:19 +02:00
Vladimir Agafonkin
7d52912a0c use wheel event where possible 2015-07-17 17:31:12 +03:00
Vladimir Agafonkin
c97d9c359b Merge pull request #3637 from Leaflet/boxzoom-moved
Fix boxZoom._moved remaining in bad state after use (cf #3026)
2015-07-17 13:57:57 +03:00
Yohan Boniface
8870c2abf8 Fix boxZoom._moved remaining in bad state after use (cf #3026) 2015-07-17 12:54:59 +02:00
Vladimir Agafonkin
21934dc2b3 Merge pull request #3634 from Leaflet/preclick-dragend
Do not fire preclick when dragging (fix #3632)
2015-07-16 18:10:15 +03:00
Yohan Boniface
8d980ce49b Add a unittest to cover dragging map not closing open popup (cf #3632) 2015-07-16 17:01:44 +02:00
Vladimir Agafonkin
ab1995e1ce fix box-zoom regression, close #3633 2015-07-16 16:48:08 +03:00
Yohan Boniface
bd65b443e4 Do not fire preclick when dragging (fix #3632) 2015-07-16 15:40:45 +02:00
Steve
dde5862581 Fix typo in b1 changelog for FeatureGroup popups 2015-07-15 10:51:47 -05:00
Vladimir Agafonkin
4457d1414a Merge pull request #3533 from Leaflet/doubletap-propagation
Synthetic doubletap events respect stopPropagation, fixes #3532
2015-07-15 16:05:28 +03:00
Vladimir Agafonkin
0f105c8e9c Merge pull request #3547 from philippelatulippe/canvas-optimization
Simple canvas optimizations
2015-07-15 16:01:11 +03:00
Vladimir Agafonkin
3e636d26b9 bump versions 2015-07-15 12:12:53 +03:00
Vladimir Agafonkin
f717fd60e5 fix preventOutline exception, close #3625 2015-07-15 11:59:27 +03:00
Will Franklin
fd8759d5e1 Use ID lookup instead to avoid re-adding layer on style change 2015-07-14 17:45:57 +02:00
Vladimir Agafonkin
46d2d6afb2 final 1.0-beta1 changelog update 2015-07-14 17:20:58 +03:00
Vladimir Agafonkin
4d26d9103a changelog updates about animations 2015-07-14 16:54:19 +03:00
Vladimir Agafonkin
3e5c29abd9 changelog improvements 2015-07-14 15:58:23 +03:00
Vladimir Agafonkin
54fbe72ba3 Merge pull request #3623 from Leaflet/prefer-canvas
Switch from L_PREFER_CANVAS to map.options.preferCanvas
2015-07-14 11:35:14 +03:00