Commit Graph

4049 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
3c3f23f339 Fix small minZoom/maxZoom infinite-loop-on-map-load regression 2015-09-09 15:41:56 +02:00
Iván Sánchez Ortega
7098b04cd7 Modify GridLayer update logic to run smoother on zoom pinch & flyTo anims. 2015-09-09 14:03:12 +02:00
Iván Sánchez Ortega
944f2de3a8 Fix TileLayer._update so it doesn't break drag-then-pinch interactions. 2015-09-08 15:24:51 +02:00
Vladimir Agafonkin
08d655fe66 upgrade deps and stricter eslint 2015-09-04 17:46:55 +02:00
Iván Sánchez Ortega
9cbb761c15 Merge pull request #3806 from Leaflet/getevents
Call layer.getEvents before calling layer.onAdd (fix #3745)
2015-09-04 10:09:45 +02:00
Yohan Boniface
61c07bd3e3 Call layer.getEvents before calling layer.onAdd (fix #3745) 2015-09-04 10:02:11 +02:00
Vladimir Agafonkin
ed0cf6e772 update changelog about 0.7.5 2015-09-02 10:25:29 +02:00
Vladimir Agafonkin
fe5e8728ac add a 0.7.4 changelog 2015-09-01 13:01:25 +02:00
Iván Sánchez Ortega
809186dcc9 Make linter happy about whitespace 2015-08-31 16:41:54 +02:00
Iván Sánchez Ortega
e698f641af Rectangle.setBounds() must return a value 2015-08-28 12:39:28 +02:00
Iván Sánchez Ortega
da8149c164 Move L.Layer.isPopupOpen to appropiate file 2015-08-27 23:56:02 +02:00
Vladimir Agafonkin
28c8417c49 Merge pull request #3776 from knabar/fix-missing-radius
Use radius if radiusY is not set
2015-08-26 11:31:12 +02:00
Iván Sánchez Ortega
c565cd4687 Merge pull request #3770 from ilfa/fix-init-bug
Fix init bug when we have script tags without src
2015-08-25 10:53:04 +02:00
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
Patrick Arlt
431547c28e Trailing whitespace 2015-08-09 15:45:18 -07:00
Patrick Arlt
66e6e856de Always force GridLayer to have a zIndex
Fixes https://github.com/Leaflet/Leaflet/issues/3721
2015-08-09 15:42:24 -07: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
Andreas Knab
0848635b9a Use radius if radiusY is not set 2015-08-06 15:31:27 +02: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
Iván Sánchez Ortega
723c22312d L.Control.Layers shows disabled inputs for non-visible tilelayers 2015-07-30 13:59:09 +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