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
Yohan Boniface
76cb60705f
Switch from L_PREFER_CANVAS to map.options.preferCanvas
2015-07-14 10:27:50 +02:00
Philippe Latulippe
fd64c7e5c3
Simple canvas optimizations:
...
- throttle mouseover
- don't check for hover when the map is being panned (since the mouse isn't moving in relation to the map)
- only check visible layers when checking for hover (by storing unculled layers in an array)
2015-07-13 22:22:31 +02:00
Iván Sánchez Ortega
4409b691a6
Merge pull request #3621 from Leaflet/prefer-canvas
...
Resuscitate L_PREFER_CANVAS
2015-07-13 19:45:30 +02:00
Yohan Boniface
1eab6079e8
Resuscitate L_PREFER_CANVAS
2015-07-13 19:05:06 +02:00
Vladimir Agafonkin
c0285ce505
more changelog updates
2015-07-13 19:32:14 +03:00
Vladimir Agafonkin
14206e8a40
update deps
2015-07-13 18:35:34 +03:00
Vladimir Agafonkin
7ff5de00ed
bump version
2015-07-13 18:35:34 +03:00
Vladimir Agafonkin
1ee24802a7
Merge pull request #3618 from wpf500/wpf-canvas-mouse-out
...
Check canvas mouseout
2015-07-13 15:33:34 +03:00
Will Franklin
76cd73c97a
Check canvas mouseout
2015-07-13 12:42:39 +01:00
Vladimir Agafonkin
f666890f1a
Merge pull request #3614 from cmulders/patch-1
...
Hardcoded dependency L.CRS.Earth in L.Control.Scale
2015-07-12 22:11:19 +03:00
cmulders
daac1ca559
Hardcoded dependency L.CRS.Earth in L.Control.Scale
...
Currently, L.Control.Scale uses hard-coded the L.CRS.Earth.distance function, while this CRS could have been changed by the user in the map creation. Changing this to map.distance will remove this hard-coded dependency adding flexibility, while maintaining the same functionality.
2015-07-12 14:22:20 +02:00
Iván Sánchez Ortega
265f201433
Fix touchZoom regression from 06f90b1a
2015-07-10 19:13:16 +03:00