Commit Graph

4178 Commits

Author SHA1 Message Date
Iván Sánchez Ortega
0a1f867a8b Merge pull request #4191 from Leaflet/issue-4153-pxbounds
Sanity check: test pxBounds validity before using it (fix #4153)
2016-02-04 09:57:48 +01:00
Yohan Boniface
de4526cc1d Sanity check: test pxBounds validity before using it (fix #4153)
Otherwise, we may have bug when polyline latlngs are cleared while
not updating the polyline bounds (so ending with empty latlngs
but this._bounds still valid).
2016-02-04 09:48:35 +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
bd0ffc4910 Add note about .gitignore/.npmignore to plugin guide 2016-01-22 12:35:47 +01:00
Vladimir Agafonkin
ccdeb4e38d Merge pull request #4167 from Leaflet/update-plugins-guide
Update plugin guide to prevent some new common pitfalls
2016-01-22 13:10:07 +02:00
Iván Sánchez Ortega
29ddd07178 Update plugin guide to prevent some new common pitfalls 2016-01-22 11:47:05 +01:00
Iván Sánchez Ortega
f43950e3fa Renaming parameters (just for legibility) 2016-01-18 18:08:57 +01:00
Vladimir Agafonkin
172668895a Merge pull request #4156 from Leaflet/tile-bounds
Partial revert of e2fbe196, fixes #4145
2016-01-18 15:05:09 +02:00
Iván Sánchez Ortega
db016b7a30 Partial revert of e2fbe196, fixes #4145 2016-01-18 11:04:48 +01:00
Iván Sánchez Ortega
12f8eb8b84 Fix conflict with wheel events from #3653 2016-01-18 10:27:29 +01:00
Iván Sánchez Ortega
afd7959959 Make linter happy. 2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
5c0ad75b44 Zoom control shall use the map's zoomDelta option. 2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
3fde3c0390 Got rid of the loop in Map.getBoundsZoom 2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
65ccc2b36c Fractional zoom controls. 2016-01-18 10:10:32 +01:00
Vladimir Agafonkin
b85e902970 Merge pull request #4151 from pra85/2016
Update License year range to 2016
2016-01-18 00:14:58 +02:00
Prayag Verma
d7c71aaaf5 Update year range to 2016 2016-01-16 07:42:01 +05:30
Iván Sánchez Ortega
11ebda22d5 Work around MS Edge duplicated dblclick on DomEvent.DoubleTap 2016-01-13 14:44:33 +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
25648b8f35 Possible fix for #4127, assume dblclick DOM event exists in touch-capable browsers 2016-01-13 14:40:30 +01:00
Vladimir Agafonkin
161172bbb9 Merge pull request #4143 from Leaflet/msedge
Implement L.Browser.edge
2016-01-13 15:34:58 +02:00
Iván Sánchez Ortega
dde24042d2 Implement L.Browser.edge 2016-01-13 14:29:46 +01:00
Vladimir Agafonkin
87b30c2cd8 Merge pull request #4142 from Leaflet/code-of-conduct
Code of Conduct
2016-01-13 13:00:39 +02:00
Vladimir Agafonkin
3fefd7c917 add contributor covenant code of conduct 2016-01-13 12:53:28 +02:00
Vladimir Agafonkin
4c2193d074 Merge pull request #4133 from Leaflet/tiny-circles
Work around precision issues in circle radius, fixes #2425
2016-01-08 18:34:59 +02:00
Iván Sánchez Ortega
228d357239 Work around precision issues in circle radius, fixes #2425 2016-01-08 14:45:34 +01:00
Iván Sánchez Ortega
88fa86a692 Merge pull request #4010 from Leaflet/dragend-click
Fix event target fallbacking to map after marker drag (fix #3971)
2016-01-08 13:43:11 +01:00
Iván Sánchez Ortega
6a283294fa Extra test case for #4093 2016-01-08 13:27:48 +01:00
Iván Sánchez Ortega
653f5d01ff Merge pull request #4099 from tcoats/tileunload-cases
Fire tileunload for all unloading of tiles
2016-01-08 13:27:24 +01:00
Iván Sánchez Ortega
7de33f0f7b Merge pull request #4108 from Leaflet/geojson-case
Consistent GeoJSON casing
2016-01-08 11:32:36 +01:00
Iván Sánchez Ortega
6b23688121 Merge pull request #4110 from hyperknot/retina-fix
retina url fix
2016-01-08 11:31:20 +01:00
Iván Sánchez Ortega
adbcf75c92 Merge pull request #4114 from Leaflet/projected-bounds-from-all-polyline-coords
Use all projected coords when calculating Polyline's pixel bounds.
2016-01-08 11:25:27 +01:00
Vladimir Agafonkin
06ba284213 Merge pull request #4124 from vtduncan/png-optimize
Optimize PNG images with ZopfliPNG and pngquant
2016-01-03 23:34:14 +02:00
Duncan
75589f367b Optimize PNG images with ZopfliPNG and pngquant 2016-01-03 15:09:37 +01:00
Per Liedman
832b43ac58 Use all projected coords when calculating Polyline's pixel bounds.
Close #3968. Close #4020.
2015-12-28 20:59:57 +01:00
Yohan Boniface
748ae5338f Merge pull request #4089 from Leaflet/always-reset-enforcing-bounds
Make sure to always reset _enforcingBounds.
2015-12-28 16:43:00 +01:00
Per Liedman
2b64978c9e Don't use try-finally 2015-12-28 15:00:20 +01:00
Zsolt Ero
b5d3dcf2ab retina url fix 2015-12-28 05:45:31 +01:00
Yohan Boniface
5e6ef5ce12 Consistent GeoJSON casing
I've made the choice to:
- switch API and method to upper case version (GeoJSON, geoJSON, toGeoJSON)
- keep internal variable all lower case (geojson), because we usually do not
  uppercase variables

Fix #2444
2015-12-25 14:00:21 +01:00
Yohan Boniface
64484d5c74 Fix event target fallbacking to map after marker drag (fix #3971) 2015-12-25 11:54:31 +01:00
Yohan Boniface
3fd2d5cb75 Merge pull request #4094 from jblarsen/fix-3986
Use _tileCoordsToKey everywhere
2015-12-25 11:38:16 +01:00
Thomas Coats
8a0719f16c Fire tileunload for all unloading of tiles 2015-12-17 21:34:35 +13:00
Vladimir Agafonkin
92e449a0ce Merge pull request #4098 from meetar/master
de-intercap "Mapbox"
2015-12-16 23:04:32 -08:00
Peter Richardson
5522af0a62 de-intercap "Mapbox" 2015-12-16 19:41:40 -05:00
Jesper Baasch-Larsen
9d1c59b5cd use _tileCoordsToKey everywhere 2015-12-15 14:13:52 +01:00
Iván Sánchez Ortega
c954367d09 Merge pull request #4090 from Leaflet/fix-4067
Cast bgPos to L.Point
2015-12-14 14:22:56 +01:00
perliedman
2919d8b7bf src/layer/marker/DivIcon.js
Cast bgPos to L.Point. Fixes #4067
2015-12-14 14:19:17 +01:00
perliedman
b6c87c3fa8 Make sure to always reset _enforcingBounds.
Even in case of early exit or exception.

Fixes #3938.
2015-12-14 13:45:47 +01:00
Iván Sánchez Ortega
1d6291be8c Merge pull request #4087 from mortonfox/patch-1
Fix features link
2015-12-13 10:37:06 +01:00