Vladimir Agafonkin
4d934dfecb
Merge pull request #3872 from Leaflet/tap-mousemove
...
Simulate mousemove on touchmove (fix #3825 )
2015-10-07 16:50:17 +03:00
Vladimir Agafonkin
ca15b9be8d
Merge pull request #3882 from Leaflet/openpopup-while-animating
...
Prevent Popup._adjustPan while already panning (fix #3744 )
2015-10-07 13:52:32 +03:00
Yohan Boniface
03d3bee8b1
Prevent Popup._adjustPan while already panning ( fix #3744 )
2015-10-07 12:34:42 +02:00
Iván Sánchez Ortega
08c779367f
Removing unneeded L.Map._latLngToNewLayerPoint, see #3895
2015-10-07 12:30:20 +02:00
Vladimir Agafonkin
be43485e02
Merge pull request #3895 from Leaflet/renderer-animatezoom
...
L.Renderer shall use center and not topleft as reference
2015-10-07 13:28:12 +03:00
Vladimir Agafonkin
5b600c5cbd
Merge pull request #3898 from Leaflet/tilelayer-nowrap
...
GridLayers implement the 'noWrap' option (previously in 0.7.x TileLayers)
2015-10-06 20:52:48 +03:00
Iván Sánchez Ortega
c101b836c7
GridLayers implement the 'noWrap' option (previously in 0.7.x TileLayers)
2015-10-06 16:38:30 +02:00
Iván Sánchez Ortega
4eb39d5312
Zoom anim fires 'transitionend' event handler on a timer, see #3689 , #2693
...
Nothing but a port of a hack in stable, see 91477588fa
2015-10-06 16:09:33 +02:00
Iván Sánchez Ortega
a2595bbfe8
L.Renderer shall use center and not topleft as reference, fixes #3769
2015-10-06 15:35:10 +02:00
Vladimir Agafonkin
1306dd8709
Merge pull request #3893 from Leaflet/edge-keyboard-focus
...
Workaround for keyboard tabindex in MS Edge
2015-10-06 16:32:44 +03:00
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