Iván Sánchez Ortega
c9532a8d92
Workaround for keyboard tabindex in MS Edge, fixes #3772
2015-10-06 10:12:11 +02:00
Vladimir Agafonkin
8f47372af6
Merge pull request #3878 from Leaflet/fix-moveend-recurse
...
Add flag not to run panInsideBounds when already panning (fix #3848 )
2015-09-30 13:16:45 +03:00
Yohan Boniface
8f189bce23
Add flag not to run panInsideBounds when already panning ( fix #3848 )
2015-09-30 12:11:26 +02:00
Iván Sánchez Ortega
4f2f22e8ff
Merge pull request #3874 from kumy/patch-1
...
fix a typo
2015-09-28 21:10:09 +02:00
kumy
3b7a6951ed
fix a typo
2015-09-28 21:07:57 +02:00
Yohan Boniface
a1d488a9ac
Simulate mousemove on touchmove ( fix #3825 )
2015-09-28 16:28:07 +02:00
Vladimir Agafonkin
8c8d0ac7ee
fix whitespace in comments
2015-09-25 15:37:07 +03:00
Vladimir Agafonkin
cfdbd10431
enforce indentation in specs
2015-09-25 13:55:37 +03:00
Vladimir Agafonkin
301473ad4d
more strict eslinting
2015-09-25 13:40:21 +03:00
Coen Mulders
bcde047f09
Added zoom for the custom scale in L.CRS.Simple
...
Fixes #3867
2015-09-25 13:16:52 +03:00
Yohan Boniface
3ff1b65b64
Merge pull request #3861 from Intermaps/changelog-typo-fix
...
Fix typo in changelog.md
2015-09-22 10:15:53 +02:00
Egon Steiner
6f8b278f86
fix typo in pull url
2015-09-22 10:12:09 +02:00
Vladimir Agafonkin
7a9f2aefb3
Merge pull request #3859 from olee/patch-1
...
Fix bug with maxNativeZoom == 0
2015-09-22 00:57:53 +03:00
Vladimir Agafonkin
47a4d0573e
Merge pull request #3840 from Leaflet/canvas-redrawbounds
...
Comprehensive bounds on canvas layer update (fix #3583 )
2015-09-22 00:22:56 +03:00
Björn Zeutzheim
458d5c9ac8
Fix bug with maxNativeZoom == 0
...
Setting `maxNativeZoom` to `0` does not work as expected (only use zoom level 0) but instead disables the function.
This PR fixes this problem.
Same fix applies for (afaik current stable) 0.7.5
2015-09-22 01:49:05 +09:00
Yohan Boniface
8ea42c1ccc
Add padding on canvas redraw bounds
2015-09-20 12:32:40 +02:00
Yohan Boniface
f643d25637
Use clip to limit canvas redraw area ( fix #3583 )
2015-09-20 12:32:40 +02:00
Yohan Boniface
e576ce528e
Linting
2015-09-20 12:32:15 +02:00
Vladimir Agafonkin
6e9236de93
Merge pull request #3837 from Leaflet/rendered-update
...
Always call renderer.getEvents before Path.getEvents (fix #3836 )
2015-09-20 00:06:36 +09:00
Iván Sánchez Ortega
e0aa981818
Merge pull request #3841 from javimolla/fix2990
...
Extract logic from getScaleZoom to CRS
2015-09-19 11:03:00 +09:00
Iván Sánchez Ortega
3924d49bcd
Consistency between L.circle and L.circleMarker ( #3785 )
2015-09-17 23:22:55 +09:00
Vladimir Agafonkin
d1ea887b1b
Merge pull request #3694 from Leaflet/disabled-layer-control
...
L.Control.Layers shows disabled inputs for non-visible tilelayers
2015-09-17 18:04:29 +09:00
Vladimir Agafonkin
e1c714edab
Merge pull request #3722 from Leaflet/gridlayer-zindex-fix
...
Always force GridLayer to have a zIndex
2015-09-17 17:57:13 +09:00
Matthew Mueller
b8aea43414
Fixing negative acceptableHeights and supporting browser resize
...
The previous formula calculated acceptableHeight as (map height - (4 * element offset). If the element had other controls above it, it might be pushed lower on the screen, which depending on screen size means that the acceptableHeight could quickly become a negative value which causes a bug. For example: my map has a height of 815px, and my layer control is offset from the top 277px so it is almost halfway down my screen. Using the old formula, the acceptable height would be 815 - (277 * 4) = -293. Since the acceptable height was less than the client height the scrollbar would show up, but it would be greyed out, and because the height limit was negative, the window would not have a height limit and expand off the map. Using the new formula it takes the vertical offset, and adds 50px(element is 36px,+ bottom credits height + a few pixels for a bottom margin) to determine max height. This means the element will be able to expand until it is a few pixels above the credits at the bottom of the map before it stops expanding.
Additionally, by resetting the form.style.height to null before checking the clientHeight, we are removing the limit on the height of the control, so that if someone resizes their browser window to make it larger when viewing the layer list, the list will reset the max height instead of keeping the smaller max height that was already set, and in addition, if the scrollbar is no longer needed, it will be removed.
2015-09-17 17:42:56 +09:00
Vladimir Agafonkin
a54c239238
Merge pull request #3815 from Leaflet/tilelayer-update-zoom
...
Fix TileLayer._update so it doesn't break drag-then-pinch interactions.
2015-09-17 17:36:13 +09:00
Yohan Boniface
bd55613cb5
Always call renderer.getEvents before Path.getEvents ( fix #3836 )
2015-09-16 11:35:26 +02:00
Vladimir Agafonkin
9ee0fbed98
Merge pull request #3831 from Leaflet/transform3D-threshold
...
Cleaner code for L.Map._onMoveEnd
2015-09-16 16:10:13 +09:00
javimolla
76868ad3f4
Extract logic from getScaleZoom to CRS
...
Added tests for custom crs with zooms not power of two related
2015-09-15 17:58:19 +02:00
Vladimir Agafonkin
1ef9e220e4
Merge pull request #3839 from danzel/3804
...
Redo some (ms)pointer work to be consistent and fix IE10
2015-09-15 21:13:12 +09:00
danzel
c60fd1d17b
Only preventDefault for non-mouse events, this makes mouse events still cause mousedown/up events, which is usually what you want. Fixes #3804
2015-09-14 13:19:16 +12:00
danzel
c6d8587753
Don't use maxTouchPoints detection in IE11+ (or edge) either, matching our msPointer detection.
2015-09-14 13:18:43 +12:00
Iván Sánchez Ortega
17c180e1ef
Update max precision of CSS transforms to those of 32-bit floats, as used by Firefox
2015-09-11 16:18:24 +02:00
Yohan Boniface
5f1b230bda
Cleaner code for L.Map._onMoveEnd
2015-09-11 12:20:51 +02:00
Iván Sánchez Ortega
83d45c2327
Merge pull request #3830 from Leaflet/transform3D-threshold
...
Prevent to use extreme values in transform3d
2015-09-11 11:04:02 +02:00
Yohan Boniface
c5172f3088
Prevent to use extreme values in transform3d
...
- FF bugs in positioning the element
- Chrom(e|ium) have a one pixel offset
2015-09-11 11:02:22 +02:00
Iván Sánchez Ortega
e5182affc6
Make GridLayer._update always depend on the map's zoom level.
2015-09-10 09:41:39 +02:00
Iván Sánchez Ortega
bc36fb645d
Make linter happy.
2015-09-09 16:46:09 +02:00
Iván Sánchez Ortega
641cdd07f7
Clarifications for GridLayer._update
2015-09-09 16:25:20 +02:00
Iván Sánchez Ortega
e5a208c670
Fix #3355 by not aborting tile loading for tiles in the "active" zoom level.
2015-09-09 16:06:57 +02:00
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