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
Daniela Remogna
609a792792
fix bug for hover event between circle overlapping polygon on canvas
2015-12-05 12:51:11 +00:00
Iván Sánchez Ortega
5dac21b14b
Merge pull request #4063 from Brobin/4062_control_layers
...
call getSize() instead of _size to avoid render error
2015-12-02 08:55:42 +01:00
Brobin
70ed0e75c9
call getSize() instead of _size to avoid render error
2015-12-01 17:50:21 -06:00
Iván Sánchez Ortega
edacdf3bd5
Merge pull request #3653 from Leaflet/wheel
...
Switch to wheel event where available
2015-12-01 09:40:32 +01:00
Iván Sánchez Ortega
fa3da6503f
Skip horizontal scroll on wheel events. Thanks to Julius Buset and his laptop's trackpad.
2015-11-30 17:09:30 +01:00
Vladimir Agafonkin
db550f0848
Merge pull request #4057 from ghybs/contributingLinkSO
...
Contributing guide replaced Google Group by Stack Overflow and GIS SE links
2015-11-27 16:44:27 +02:00
ghybs
5dc1c8ff40
Replaced Google Group by Stack Overflow and GIS SE links
...
in CONTRIBUTING.md following Leaflet/Leaflet#4055 .
2015-11-27 18:22:05 +04:00
Vladimir Agafonkin
5b0384ea12
Merge pull request #4046 from RLRR/pan-anim-round-newpos
...
Round new map position before animating pan
2015-11-24 12:54:55 +02:00
Vladimir Agafonkin
f23074d790
Merge pull request #4040 from Leaflet/gridlayer-pixelbounds
...
Fix GridLayer pixelBounds computation
2015-11-23 23:48:31 +02:00
Alex Fedosov
3a2331d6c1
round new map position before animating pan
2015-11-23 19:05:39 +06:00
Yohan Boniface
e2fbe19683
Fix GridLayer pixelBounds computation
...
Map size does not change from one zoom to another, so we dont need
to scale it.
Without this change, we are creating more or less 4x tiles when
zooming in.
There are still cases where we are requesting a bit more tiles than
what I would expect, but I see it also happens on 0.7.3
2015-11-22 23:19:57 +01:00
Vladimir Agafonkin
63f239a20f
Merge pull request #4028 from Leaflet/geojson-setstyle
...
Do not set layer.options a reference to layer.defaultOptions (fix #3990 )
2015-11-18 17:02:46 +02:00
Yohan Boniface
7a1496ea4d
Do not set layer.options a reference to layer.defaultOptions ( fix #3990 )
...
git bisect point at ad9d0f8c7f
2015-11-18 13:29:02 +01:00
Yohan Boniface
5fce8dda51
Fix bad Label description in deps.js
2015-11-15 19:22:57 +01:00
Yohan Boniface
850ba7fe62
Move _setPosition from L.Popup to L.PopupBase so it can be inherited
...
Idea is to make it easier for plugins to create custom popups or
labels or whatever HTML element that would be bound to a map layer.
2015-11-15 19:18:29 +01:00
Yohan Boniface
d8b7f6fcbe
L.Label: honour opacity option
2015-11-15 19:15:14 +01:00
Yohan Boniface
9d0b13b991
Add some basic unittests for L.Label
2015-11-15 18:56:27 +01:00
Yohan Boniface
92217bc969
Distinguish labelopen/close and popupopen/close events
2015-11-15 17:47:25 +01:00
Vladimir Agafonkin
c55f89972b
Merge pull request #4016 from Leaflet/toggle-popup
...
Fix popup toggle on marker click (fix #3992 )
2015-11-15 10:44:39 +02:00
Yohan Boniface
fd5411d74b
Fix popup toggle on marker click ( fix #3992 )
...
Issue was:
- popup toggling is made on 'click' event
- map listen to 'preclick' to close any open popup
- at second user click, 'preclick' has been fired, then popup
closed, so the popup toggling was reopening it
- this was not an issue before 0d3448d494
because 'preclick' on the marker was not bubbled to the map
- also the unittest covering this use case was too much coupled with
the use case with calling marker.fire instead of simulating user
click on the marker icon
2015-11-14 20:41:53 +01:00