Commit Graph

308 Commits

Author SHA1 Message Date
Zsolt Ero
928100f961 Workaround for flyTo bug
* test for flyTo start latlng == end latlng condition
* workaround for flyTo infinite loop
* expect for zoomend values

Close #4226
2016-04-02 21:12:40 +02:00
Jan Pieter Waagmeester
0bed05d537 Use array in L.Control.Layers to preserve layer order fixes #2086 2016-04-02 20:48:31 +02:00
Per Liedman
4267291527 Initialize canvas dash on init. Check that canvas supports setLineDash.
Close #4363. Close #4351.
2016-04-02 09:41:59 +02:00
Iván Sánchez Ortega
6829134e90 Possible fix for #3530, also should fix some shaking on pinch-zooming. 2016-03-21 15:51:29 +01:00
Iván Sánchez Ortega
54f0f734ba Merge pull request #4206 from hyperknot/tile-debug
Tile debug
2016-02-15 15:17:01 +01:00
Yohan Boniface
50539d6fe5 Merge pull request #4131 from Leaflet/chrome-win10-dblclick
Possible fix for #4127, assume dblclick DOM event exists in touch-capable browsers
2016-02-15 11:18:42 +01:00
Zsolt Ero
7dd71b83f4 workaround flyTo bug 2016-02-12 03:14:12 +01:00
Zsolt Ero
3c87804f42 added gridLoadData 2016-02-12 02:12:05 +01:00
Zsolt Ero
68d52deada styling fixes 2016-02-09 00:00:04 +01:00
Zsolt Ero
a5506e9f8e added resetCounter, indenting for tile-debug 2016-02-08 23:22:59 +01:00
Zsolt Ero
71423f9069 tile-debug html added 2016-02-08 22:58:23 +01:00
Zsolt Ero
3fc511d219 added zoomSnap for examples 2016-02-08 17:04:30 +01:00
Vladimir Agafonkin
01455c0167 Merge pull request #4193 from Leaflet/grid-extra-loads
Fix extra tile usage
2016-02-08 16:53:50 +02:00
Vladimir Agafonkin
09c3221211 Merge pull request #3523 from Leaflet/fractional-zoom-controls
Fractional zoom controls
2016-02-08 16:39:04 +02:00
Iván Sánchez Ortega
51149b79e7 Fix counters on tile-events debug page 2016-02-08 12:46:34 +01:00
Iván Sánchez Ortega
39d7388a2f Revert back to "prune tiles every tileready" behaviour 2016-02-05 17:07:03 +01:00
Iván Sánchez Ortega
e7fd00254e Updated tile-events debugging page 2016-02-05 16:45:08 +01:00
Iván Sánchez Ortega
c6e2a2021a Unit tests for flyTo and TileLayers. 2016-02-05 16:30:29 +01:00
Iván Sánchez Ortega
07039e05a9 Fix Stamen's Toner gridlayer in examples 2016-02-04 15:45:10 +01:00
Iván Sánchez Ortega
a1ff60bf9b Make wheel-zoom speed depend on a new wheelPxPerZoomLevel option 2016-02-04 12:50:42 +01:00
Iván Sánchez Ortega
f777f42c6b More GridLayer unit tests; Grid zoom calculation changed during zoom anims 2016-02-03 17:35:52 +01:00
Iván Sánchez Ortega
bf37a9106c Change the way GridLayer is reset on a map viewreset 2016-02-02 16:56:18 +01:00
Iván Sánchez Ortega
ed05d4ac1e Unit tests for GridLayer loading logic 2016-02-02 14:56:02 +01:00
Iván Sánchez Ortega
65ccc2b36c Fractional zoom controls. 2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
ce0b289504 Test webpage for dblclick/dbltap performance 2016-01-13 14:40:30 +01:00
Iván Sánchez Ortega
6a283294fa Extra test case for #4093 2016-01-08 13:27:48 +01:00
Thomas Coats
8a0719f16c Fire tileunload for all unloading of tiles 2015-12-17 21:34:35 +13:00
Iván Sánchez Ortega
da57507494 L.DomUtil.getPosition should return a fallback value (for VML in IE8) 2015-11-09 12:40:21 +01:00
Yohan Boniface
d3198d8d39 Fix duration not passed through from setView to panBy (fix #3300) 2015-10-12 14:02:30 +02:00
Iván Sánchez Ortega
7098b04cd7 Modify GridLayer update logic to run smoother on zoom pinch & flyTo anims. 2015-09-09 14:03:12 +02:00
w8r
5e32cd190c fixes #3652 by container opacity approach 2015-07-24 15:57:43 +02: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
Yohan Boniface
8870c2abf8 Fix boxZoom._moved remaining in bad state after use (cf #3026) 2015-07-17 12:54:59 +02:00
Yohan Boniface
76cb60705f Switch from L_PREFER_CANVAS to map.options.preferCanvas 2015-07-14 10:27:50 +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
Iván Sánchez Ortega
d67cbb24c1 More complete test webpage for #3307 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
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
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
Iván Sánchez Ortega
cf5111306f Implement non-square tiles for L.GridLayer, see #3570 2015-06-30 13:54:56 +02: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
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
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
Iván Sánchez Ortega
81b038926c Cleaning up map layers when map.remove() is run 2015-06-04 16:30:38 +02:00
Iván Sánchez Ortega
3a9da3bd7c Fixes #3431, GridLayer.setOpacity() behaviour on active tiles. 2015-06-04 15:02:28 +02: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