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
Vladimir Agafonkin
bf234810f0
fix preventOutline for nested elements, close #3606
2015-07-10 18:30:44 +03:00
Vladimir Agafonkin
cdb9ce0beb
Merge pull request #3612 from Leaflet/marker-mouseover
...
Only consider a target if it listens for event type (fix #3607 )
2015-07-10 00:09:14 +03:00
Yohan Boniface
07b7219bc9
Only consider a target if it listens for event type ( fix #3607 )
2015-07-09 23:00:52 +02:00
Vladimir Agafonkin
32c9156cb1
Merge pull request #3605 from Leaflet/stop-click-on-openpopup
...
Stop click on _openPopup
2015-07-09 15:18:25 +03:00
Yohan Boniface
74018f284e
Add nonBubblingEvents option ( fix #3604 )
2015-07-09 14:12:12 +02:00
Vladimir Agafonkin
d2513b2d53
fix maxNativeZoom regression, thanks @ktoto
2015-07-07 16:32:51 +03:00
Vladimir Agafonkin
74bc9cc1ef
Merge pull request #3601 from Leaflet/non-square-overscale
...
Make L.TileLayer.getTileSize aware of non-square tiles
2015-07-07 16:15:48 +03:00
Iván Sánchez Ortega
e71bd4b71f
Make L.TileLayer.getTileSize aware of non-square tiles, #3600
2015-07-06 16:58:54 +02:00
Vladimir Agafonkin
62c71f5c1f
Merge pull request #3307 from Leaflet/map-domevent
...
Always fire DOM event on the map too
2015-07-06 14:57:56 +03:00
Yohan Boniface
fd1b94550c
Fix popup broken since 9b7f24f5f6efb94be2a96d7d7f4c604783135d10
...
Popup where binded by the LayerGroup, which was not finring the click
event, because not propagated from the layers
2015-07-06 13:55:59 +02:00
Vladimir Agafonkin
d86c6002d7
minor cleanup
2015-07-06 13:55:59 +02:00
Yohan Boniface
50d7121f72
Make _fireDOMEvent accept optional targets
...
In the case of canvas path, we can't add the canvas element itself
as an interactiveTarget, given that it's big like the path bbox, and
thus would make all this bbox target of events (so also clicking
outside of the path itself, the layer would fire click event, for
example)
2015-07-06 13:55:59 +02:00
Yohan Boniface
f4cc307e70
Add preclick related unitest
2015-07-06 13:55:59 +02:00
Yohan Boniface
68195aa2bd
More natural event bubbling
2015-07-06 13:55:59 +02:00
Yohan Boniface
54c8925818
Add map as layer event parent
2015-07-06 13:55:59 +02:00
Iván Sánchez Ortega
d67cbb24c1
More complete test webpage for #3307
2015-07-06 13:55:59 +02:00
Iván Sánchez Ortega
d1864cd138
Move 'preclick' event handling around so it propagates before 'click'.
2015-07-06 13:55:59 +02:00
Yohan Boniface
0d3448d494
Always fire DOM event on the map too
2015-07-06 13:55:59 +02:00
Vladimir Agafonkin
7ee404a394
Merge pull request #3591 from Leaflet/z-index-spread
...
Allow for wide use of pane z-index for ordering.
2015-07-03 18:20:41 +03:00
Vladimir Agafonkin
c7ecc97d57
Merge pull request #3594 from Leaflet/cors-image-overlay
...
Allow for access to imageData on L.ImageOverlay
2015-07-03 00:05:33 +03:00
Patrick Arlt
caf692d2a8
Allow for access to imageData on L.ImageOverlay
...
This implements the changes in https://github.com/Leaflet/Leaflet/pull/2621 for cross origin tiles for `L.ImageOverlay` so that the image data can be accessed in canvas and saved.
2015-07-02 14:00:08 -07:00
Patrick Arlt
b3678d2ca8
Allow for wide use of pane z-index for ordering.
2015-07-02 12:02:47 -07:00
Vladimir Agafonkin
1f21415240
Merge pull request #3590 from wpf500/wpf-canvas-mouse-over
...
Only mouse over one feature at a time
2015-07-02 19:32:53 +03:00
Will Franklin
320c46c6d5
Only mouse over one feature at a time
2015-07-02 16:15:43 +01:00
Vladimir Agafonkin
6345a10561
Merge pull request #3587 from Leaflet/popup_offsets
...
Fix popup offsets
2015-07-02 00:45:08 +03:00
Patrick Arlt
6bf0f98796
fix popup offseting
2015-07-02 00:44:31 +03:00
Steve Kashishian
3687ed81e6
Fix setting of offset for popups.
...
Fixes #3525
2015-07-02 00:44:30 +03:00