Commit Graph

3829 Commits

Author SHA1 Message Date
i.taratuhin
5a61a5ec48 fix init bug when script in document don't have src 2015-08-25 14:47:18 +06:00
Vladimir Agafonkin
dd00156a8c Merge pull request #3723 from Leaflet/sourcemaps
Build sourcemaps via magic-string
2015-08-10 18:54:10 +03:00
Iván Sánchez Ortega
62f1cd2f58 Build sourcemaps via magic-string 2015-08-10 15:29:00 +02:00
Vladimir Agafonkin
d17e53bbf6 Merge pull request #3663 from fminuti/flyTo-center
FlyTo with targetCenter == currentCenter not animated
2015-08-07 16:08:29 +03:00
Vladimir Agafonkin
81e71fe7e0 check for geolocation clearWatch, #3707 2015-08-04 13:39:51 +03:00
Vladimir Agafonkin
a6663baf25 Merge pull request #3706 from Leaflet/truncate-sphericalmercator-high-latitudes
Truncate high/low latitudes for Spherical Mercator like previous versions
2015-08-03 22:58:49 +03:00
Per Liedman
fecd412209 Truncate high/low latitudes for Spherical Mercator like previous versions.
Close #3700.
2015-08-03 21:26:56 +02:00
Vladimir Agafonkin
c016634bb1 Merge pull request #3703 from fminuti/requestAnimFrame-extraParams
Remove extra params from L.Util.requestAnimFrame calls
2015-08-03 16:06:36 +03:00
Fabrizio Minuti
936b8d119d Remove extra params from L.Util.requestAnimFrame calls
I removed the parameters from the calls to L.Util.requestAnimFrame:
they don’t seem to be used.
2015-08-03 14:49:19 +02:00
Vladimir Agafonkin
5a29499834 Merge pull request #3692 from Leaflet/dragging-while-zooming
Do not set draggable flags during a zoom animation
2015-07-30 12:15:15 +03:00
Iván Sánchez Ortega
895a75de48 Do not set draggable flags during a zoom animation 2015-07-30 10:33:57 +02:00
Vladimir Agafonkin
62f26f288d Merge pull request #3688 from fminuti/setTransform-ie11-fix
Fix Internet Explorer 11 map overflow outside container
2015-07-29 15:44:06 +03:00
Vladimir Agafonkin
4a60b1a666 Merge pull request #3686 from Leaflet/msie-disable-dragging
Allow disabling dragging during mid-drag.
2015-07-29 15:16:14 +03:00
Fabrizio Minuti
4a8e1b6a87 Fix Internet Explorer map overflow outside container 2015-07-29 14:10:20 +02:00
Iván Sánchez Ortega
39f03304a6 Fix Marker dragging with changing Icon, see #3687 2015-07-29 11:21:19 +02:00
Iván Sánchez Ortega
6bb447bafe Allow disabling dragging during mid-drag. 2015-07-29 10:19:01 +02:00
Vladimir Agafonkin
b248731812 Merge pull request #3684 from Leaflet/edge-mspointer
Change L.Browser.msPointer detection code to MS recommendation
2015-07-28 20:45:00 +03:00
Iván Sánchez Ortega
afa0d1d87b Change L.Browser.msPointer detection code to MS recommendation 2015-07-28 19:41:09 +02:00
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
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
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