Commit Graph

4049 Commits

Author SHA1 Message Date
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
Vladimir Agafonkin
a3425850ca Merge pull request #3585 from pglotov/master
accept geojson with null geometry
2015-07-01 23:37:12 +03:00
petr
18933e1764 accept geojson with null geometry 2015-07-01 13:28:10 -07:00
Vladimir Agafonkin
d48191f426 Revert "Fix setting of offset for popups."
This reverts commit 30d2959c23.
2015-07-01 22:16:36 +03:00
Vladimir Agafonkin
047830f131 Merge pull request #3526 from snkashis/popup_offsets
Fix setting of offset for popups.
2015-07-01 22:10:17 +03:00
Steve Kashishian
30d2959c23 Fix setting of offset for popups. 2015-07-01 14:01:29 -05:00
Vladimir Agafonkin
ae90893e1e Merge pull request #3582 from wpf500/wpf-mouse-event-order
Fix ordering of mouse events in Canvas renderer
2015-07-01 14:32:37 +03:00
Will Franklin
2bc78b26ca Fix ordering of mouse events in Canvas renderer 2015-07-01 12:31:00 +01:00
Vladimir Agafonkin
cca6e6165f Merge pull request #3580 from wpf500/wpf-bounds-check
Check bounds before clipping
2015-07-01 13:39:38 +03:00
Will Franklin
4952b37256 Check bounds before clipping 2015-07-01 11:24:05 +01:00
Iván Sánchez Ortega
56be19a42d Fix nomenclature of point scale/unscale methods, see #3570 2015-06-30 15:13:08 +02:00
Vladimir Agafonkin
c38159d986 Merge pull request #3571 from rowanwins/layerControlScroll
Scrollbar for layers control with too many layers
2015-06-30 15:25:06 +03:00
Rowan Winsemius
9bfb6d854e Updated approach for resolving scrollbar issue in legend 2015-06-30 21:59:20 +10:00
Vladimir Agafonkin
57fb36fd88 Merge pull request #3573 from Leaflet/non-square-tiles
Implement non-square tiles for L.GridLayer
2015-06-30 14:58:58 +03:00
Iván Sánchez Ortega
cf5111306f Implement non-square tiles for L.GridLayer, see #3570 2015-06-30 13:54:56 +02:00
Vladimir Agafonkin
7e45690169 Merge pull request #3564 from rowanwins/layerControlFix
Fix for issue #2771
2015-06-30 13:19:03 +03:00
Rowan Winsemius
43da2c32a3 Add scroll handling for when the legend extends past the map height 2015-06-29 20:21:03 +10:00
Rowan Winsemius
3d7d62d7b7 Fix for this issue https://github.com/Leaflet/Leaflet/issues/2771 2015-06-27 16:30:33 +10:00
Vladimir Agafonkin
7798782480 Merge pull request #3557 from TolonUK/getTiledPixelBounds
Move some logic from GridLayer._update to _getTilePixelBounds
2015-06-24 19:38:15 +03:00
Vladimir Agafonkin
1bb1b5a3f8 Merge pull request #3550 from RLRR/fix-non-interactive-vml
Fix interactive option for VML layers
2015-06-22 11:01:36 +03:00
tolon
1f8d2a8072 New GridLayer._getTilePixelBounds function to contain the logic that used to be in _update 2015-06-20 10:54:50 +01:00
Alex Fedosov
93f4ba7f8e fix non-interactive vml layers 2015-06-19 12:32:17 +06:00
Vladimir Agafonkin
0ccb43080b Merge pull request #3548 from timblakely/fix_dependencies
Fix up some missing dependencies
2015-06-18 18:19:05 -04:00
Tim Blakely
6c96fef0d0 Fix up some missing dependencies 2015-06-18 14:57:22 -07:00
Vladimir Agafonkin
5b9d664edf Merge pull request #3536 from katosh/patch-2
No Border on a.leaflet-popup-close-button
2015-06-13 15:00:08 -04:00
Dominik J. Otto
b0b2070b39 No Border on a.leaflet-popup-close-button
Removes any borders on the close button of popups if they where set for links in another css-stylesheet of the page.
2015-06-13 17:59:14 +02:00
Iván Sánchez Ortega
c3288ab765 Synthetic doubletap events respect stopPropagation, fixes #3532 2015-06-11 11:35:09 +02:00