Commit Graph

3921 Commits

Author SHA1 Message Date
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
Iván Sánchez Ortega
cc04a82be1 Merge pull request #3527 from RLRR/fix-moveend-after-layer-removal
Add map presence check to onMoveEnd handler, fixes #3522
2015-06-10 10:12:40 +02:00
Alex Fedosov
644bb7157a add map presence check to onMoveEnd handler, fixes #3522 2015-06-10 11:48:16 +06:00
Vladimir Agafonkin
04a0a4e4d1 Merge pull request #3524 from RLRR/fix-drag-after-layer-remove
Fix GridLayer move event handler, fixes #3522
2015-06-09 11:43:27 -04:00
Alex Fedosov
b31a1e8be6 fix GridLayer move event handler, fixes #3522 2015-06-09 21:22:40 +06:00
Vladimir Agafonkin
79105f78a7 Merge pull request #3518 from Leaflet/visible-tiles
Reworked pixelBounds calculation in GridTile to deal with fractional zoom
2015-06-09 07:32:13 -04:00
Iván Sánchez Ortega
5245b94aad Reworked pixelBounds calculation in GridTile to deal with fractional zoom 2015-06-09 09:44:52 +02:00
Vladimir Agafonkin
f61e2f4a7b Merge pull request #3278 from Leaflet/events-refactor
Refactor move/zoom events
2015-06-05 21:02:51 +03:00
Vladimir Agafonkin
30b9b9cfd6 fix whitespace 2015-06-05 20:51:25 +03:00
Vladimir Agafonkin
a5bd03d0e4 add back viewreset
now it has different semantics though — it’s fired when a view is fully
reset, so that all layer DOM elements should be repositioned.
2015-06-05 20:51:21 +03:00
Vladimir Agafonkin
fd708bf173 don't project vectors on every zoom event 2015-06-05 20:51:20 +03:00
Iván Sánchez Ortega
ad08a5c874 Unit test for map zoom level limit and zoom-less setView 2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
625161f15d make vectors work with flyTo 2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
1e9c8649b3 simplify zoom transform math
changes the transform origin for all layers from 50% 50% (implied
default) to 0 0, making it MUCH easier to understand zoom transform
math.
2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
2cf8cc008a simplify renderer animation math 2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
d9e20a250d ditch zoomanim event scale/origin/offset props 2015-06-05 20:51:20 +03:00
Iván Sánchez Ortega
7032bbc13d Graceful degradations of zoom-pan animations on top of refactored zoom-pan events. 2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
06f90b1a5b simplify and unify TouchZoom logic 2015-06-05 20:51:19 +03:00
Vladimir Agafonkin
120d8523c5 Merge pull request #3514 from Leaflet/detached-memory-leak
Cleaning up map layers when map.remove() is run
2015-06-05 01:17:40 +03:00
Vladimir Agafonkin
d13aaac837 refactor _resetView; rely on zoom event in layers 2015-06-04 20:42:30 +03:00
Vladimir Agafonkin
fdd60cc66b ditch viewreset event, reliable zoomend
removes viewreset use everywhere; also changes event order to have
zoomend before move and moveend to make zoomend a reliable viewreset
successor
2015-06-04 20:42:28 +03:00
Vladimir Agafonkin
3ccbe5bca0 trigger tile compositing in Safari
This kind of reverts #2377 that doesn’t make sense after tile animation
refactorings, because it makes Safari terribly slow. It reintroduces
the tile gaps, but oh well, we choose the lesser evil here.

Also, performance in latest iOS is the same with and without the patch
so there’s no harm in removing this.
2015-06-04 19:15:19 +03:00
Iván Sánchez Ortega
81b038926c Cleaning up map layers when map.remove() is run 2015-06-04 16:30:38 +02:00
Vladimir Agafonkin
3676e94e0f Merge pull request #3513 from Leaflet/tile-opacity
Fixes #3431, GridLayer.setOpacity() behaviour on active tiles.
2015-06-04 16:38:19 +03:00
Iván Sánchez Ortega
3a9da3bd7c Fixes #3431, GridLayer.setOpacity() behaviour on active tiles. 2015-06-04 15:02:28 +02:00
Vladimir Agafonkin
7bc37fe09a Merge pull request #3508 from Leaflet/gridlayer-bounds
Implement 'overlaps' spatial operator on bounds and use it on gridlayers
2015-06-04 15:23:54 +03:00
Vladimir Agafonkin
74126639d5 Merge pull request #3510 from Leaflet/bouncy-max-bounds
Add an option to make the map's maxBounds non-bouncy. Fixes #1673.
2015-06-03 21:00:38 +03:00
Iván Sánchez Ortega
8a352fbbbf Add an option to make the map's maxBounds non-bouncy. Fixes #1673. 2015-06-02 17:24:22 +02:00
Vladimir Agafonkin
bd1b88c1dd Merge pull request #3509 from Leaflet/prune-tiles-out-of-zoom
Gridlayer prunes all tiles when zooming out of minzoom/maxzoom.
2015-06-02 13:30:21 +02:00