Commit Graph

4060 Commits

Author SHA1 Message Date
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
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
Iván Sánchez Ortega
99a48a5255 Merge pull request #4000 from simsibimsiwimsi/master
issue #3995 fixed check for maxZoom option to honor maxZoom 0
2015-11-10 09:04:02 +01:00
Vladimir Agafonkin
7d7ece0e55 Merge pull request #3999 from Leaflet/ie8-minzoom-tiles
Skip _updateLevels when out of min/max zoom (prevents IE8 exceptions)
2015-11-09 15:48:23 +02:00
Iván Sánchez Ortega
7d35531236 Skip _updateLevels when out of min/max zoom (prevents IE8 exceptions) 2015-11-09 14:35:54 +01:00
Vladimir Agafonkin
db3604ff2c Merge pull request #3998 from Leaflet/null-getposition
L.DomUtil.getPosition should return a fallback value (for VML in IE8)
2015-11-09 13:53:28 +02: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
simsibimsiwimsi
3cfb1eff04 fixed check for maxZoom option to honor maxZoom 0
Checking if maxZoom is a number will work fine for {maxZoom: 0} where
options.maxZoom evaluates to false.
2015-11-08 22:44:47 +01:00
Iván Sánchez Ortega
aebf591693 Merge pull request #3978 from celadevra/issue3976
init interaction regardless of new icon or not
2015-11-02 10:03:33 +01:00
Haoyang Xu
772220070f init interaction regardless of new icon or not
[issue #3976]

previously interaction only get inited when not reusing icon, i.e. when addIcon
flag is set to true. by taking the statement out of the if condition,
interaction is inited whenever setIcon is called.
2015-10-30 20:50:28 +08:00
Vladimir Agafonkin
ca43794128 simplify bower setup, remove component
Component is not an active project anymore, and bower no longer
requires a version field in the config.
2015-10-26 19:25:39 +02:00
Vladimir Agafonkin
3c3a571585 add 0.7.7 entry in the changelog 2015-10-26 12:09:53 +02:00
Iván Sánchez Ortega
a969d20476 DomEvent.getWheelDelta() now aware of WheelEvent.deltaMode 2015-10-20 10:31:16 +02:00
Iván Sánchez Ortega
f6e9f90c41 Merge pull request #3950 from klaftertief/fix-canvas-zoom_split-events
Alternative fix for #3947
2015-10-20 09:40:53 +02:00
Vladimir Agafonkin
2a5857d172 Merge pull request #3956 from Leaflet/canvas-click-interactive-false
Fix interactive=false not taken into account for canvas (fix #3946)
2015-10-20 00:03:28 +03:00
Yohan Boniface
d901a5fc07 Fix interactive=false not taken into account for canvas (fix #3946) 2015-10-19 21:39:04 +02:00
Jonas Coch
3e0067fab7 Split renderer events and use zoomstart only in SVG renderer 2015-10-16 20:32:44 +02:00
Jonas Coch
e6e165869f Disable _onZoomStart in canvas renderer
This fixes disappearing paths when starting an animated zoom.
2015-10-16 13:27:53 +02:00
Yohan Boniface
c2a3dc9f18 Merge pull request #3942 from klaftertief/fix-canvas-move
Only check for moving draggable in canvas renderer when map is draggable
2015-10-15 21:09:46 +02:00
Jonas Coch
0df4d57f91 Use moving() method to simplify check in canvas renderer 2015-10-15 20:45:23 +02:00
Jonas Coch
b0d5c12b50 Add moving() method to MapDrag handler 2015-10-15 20:44:17 +02:00
Jonas Coch
ace08c17ca Only check for moving draggable in canvas renderer when map is draggable 2015-10-15 17:21:22 +02:00
Vladimir Agafonkin
55fe462508 v1.0.0-beta.2 2015-10-14 19:17:05 +03:00
Vladimir Agafonkin
857848fbee come back to the old publishing approach with improvements 2015-10-14 19:16:05 +03:00
Vladimir Agafonkin
d9917fa240 tag npm publish with beta 2015-10-14 18:28:31 +03:00
Vladimir Agafonkin
213c602f4e new Travis configuration with automatic releases 2015-10-14 18:09:47 +03:00
Vladimir Agafonkin
80960fe9e7 add the now missing phantomjs dep 2015-10-14 16:44:21 +03:00
Vladimir Agafonkin
9ebd2f03a0 update changelog 2015-10-14 16:32:27 +03:00
Vladimir Agafonkin
a147dae838 Merge pull request #3923 from Leaflet/renderer-pinch-zoom
Better handling of Renderer positioning during pinch-zoom, fixes #3919
2015-10-13 15:58:52 +03:00
Yohan Boniface
f75d80a626 Canvas: layer is removed later by this._draw (fix #3926) 2015-10-12 17:11:50 +02:00
Yohan Boniface
514e27aa6f CHANGELOG 2015-10-12 15:22:26 +02:00
Iván Sánchez Ortega
a7f72fd6bd Merge pull request #3925 from Leaflet/layers-control-touch
Fix control layers scrolling on touch (fix #2882)
2015-10-12 14:48:52 +02:00
Iván Sánchez Ortega
c6bef03929 Merge pull request #3924 from Leaflet/setview-duration
Fix duration not passed through from setView to panBy (fix #3300)
2015-10-12 14:39:08 +02:00
Yohan Boniface
9d10699bcd Fix control layers scrolling on touch (fix #2882) 2015-10-12 14:33:32 +02:00
Iván Sánchez Ortega
2191cfa8b0 Better handling of Renderer positioning during pinch-zoom, fixes #3919 2015-10-12 14:10:48 +02:00
Yohan Boniface
d3198d8d39 Fix duration not passed through from setView to panBy (fix #3300) 2015-10-12 14:02:30 +02:00
Yohan Boniface
69e81472be Add last PRs in CHANGELOG 2015-10-12 12:55:09 +02:00
Vladimir Agafonkin
a0ff396b94 Merge pull request #3921 from Leaflet/pan-shiftkey
multiply offset by 3 on keyboard pan when shift key is pressed
2015-10-10 21:28:38 +03:00
Vladimir Agafonkin
8a5184193e Merge pull request #3917 from Leaflet/canvas-stop-event
Canvas events fixes (fix #3915)
2015-10-10 21:24:37 +03:00
Yohan Boniface
108fee799c Add a bunch of missing PR references to beta2 changelog 2015-10-10 19:46:33 +02:00
Yohan Boniface
a41a70da49 Group changes by category in beta2 changelog 2015-10-10 19:31:40 +02:00
Yohan Boniface
6af0cfde53 multiply offset by 3 on keyboard pan when shift key is pressed 2015-10-10 18:03:05 +02:00
Iván Sánchez Ortega
5d02b03077 Merge pull request #3918 from Leaflet/default-radius
Fix L.Circle init without options.radius
2015-10-09 20:43:34 +02:00
Yohan Boniface
6c3b9e10b8 Fix L.Circle init without options.radius 2015-10-09 20:24:42 +02:00
Yohan Boniface
0b0989f9f1 Canvas events fixes (fix #3915)
- fix fireEvent called for each layer containing event point
- fix layer not removed from this._layer at remove
- fix L.DomEvent.stop(e) not honoured for canvas because events
  are both listenned on canvas container and map container
2015-10-09 18:28:35 +02:00
Vladimir Agafonkin
c82aaa4158 Merge pull request #3907 from Leaflet/beta2-changelog
1.0.0-beta2 changelog
2015-10-09 00:23:14 +03:00
Vladimir Agafonkin
ec714a76f3 Merge pull request #3908 from danzel/popup-movement
bringToFront / bringToBack for popups.
2015-10-09 00:22:51 +03:00
danzel
4fa857a07c Put changelog in the right place 2015-10-09 10:14:06 +13:00
danzel
72f4a43457 Document change in CHANGELOG.md 2015-10-09 09:59:45 +13:00