Commit Graph

4022 Commits

Author SHA1 Message Date
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
efdc626262 Fix tile pruning on fade-in, pass all unit tests now :-D 2016-02-04 15:19: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
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
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
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
Morton Fox
c213d78346 Fix features link 2015-12-13 01:06:14 -05:00
Vladimir Agafonkin
afbf08c46d Merge pull request #4078 from OleLaursen/master
Fix bug with max bounds and custom projections
2015-12-09 11:23:07 -08:00
Ole Laursen
f90678a593 Fix bug with max bounds and custom projections.
_getBoundsOffset was assuming that SE/NW were the min/max corners, but
this isn't necessarily true after projection.
2015-12-09 14:34:32 +01:00
Vladimir Agafonkin
0cf95c5f5d Merge pull request #4077 from Leaflet/fix-2427
When limiting center to bounds, ignore offsets less than a pixel.
2015-12-08 21:23:46 -08:00
Per Liedman
7c3d7cb139 When limiting center to bounds, ignore offsets less than a pixel. 2015-12-08 23:10:57 +01:00
Iván Sánchez Ortega
92c575f2ca Merge pull request #4072 from fimietta/overlayed-circle-canvas-bug
fix bug for hover event between circle overlapping polygon on canvas
2015-12-07 12:37:06 +01:00