Per Liedman
593a553e64
Pass layer on when calling _updateDashArray
...
Add specs to verify intialization and setStyle with dashArray.
Close #4401 .
2016-04-08 16:43:21 +02:00
Per Liedman
36b60b7c88
Round scale to avoid float rounding issues in fitBounds
...
Reverts _round() fix from b511c7bcc8
.
Close #4395 .
2016-04-06 22:58:00 +02:00
Dave Leaver
8c9759aa2f
Change simple test case link to the Leaflet JS Bin
2016-04-05 16:04:46 +02:00
Vladimir Agafonkin
139340ecc7
remove silly personal links from the readme
2016-04-03 10:26:48 -07:00
Iván Sánchez Ortega
2d548af829
Add leafdoc comments for the 'crossOrigin' option in ImageOverlay, fixes #3646
2016-04-02 18:16:27 -07:00
Iván Sánchez Ortega
3305aa2b05
Added leafdoc comments for the 'zoomanim' event, fixes #2862
2016-04-02 18:16:11 -07:00
Per Liedman
4adba1256e
Fix SVG dragging in IE and Edge.
...
Use correspondingUseElement as target for SVG.
Close #4359 .
2016-04-02 18:15:39 -07:00
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
Iván Sánchez Ortega
a4a72ccb17
Finish @yohanboniface's job by replacing more 🍂 s with @s
2016-04-02 20:50:27 +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
Iván Sánchez Ortega
e083d41ff7
Merge pull request #4367 from Leaflet/fix-4023
...
Just keep _moveEnd inside requestAnimFrame. Close #4023 .
2016-04-02 20:08:51 +02:00
Zsolt Ero
cd9c813ee6
Merge pull request #4377 from Leaflet/fix-get-bounds-fit-bounds
...
Round bounds size.
2016-04-02 19:56:52 +02:00
Per Liedman
b511c7bcc8
Round bounds size.
...
Bounds size should be in pixels, so round it to avoid
any floating point inaccuracies from projection.
Closes #4255 .
2016-04-02 19:55:02 +02:00
Per Liedman
fa3aeced7a
Merge pull request #4370 from Leaflet/collapse-expand
...
Make L.Control.Layers.collapse/expand public methods
2016-04-02 19:48:06 +02:00
Yohan Boniface
711dcf3ea4
Merge branch 'master' of github.com:Leaflet/Leaflet
2016-04-02 19:36:53 +02:00
Yohan Boniface
04dbce8186
Add debug/local in .gitignore
...
Put in there all the debug pages you don't want to commit.
2016-04-02 19:36:22 +02:00
Iván Sánchez Ortega
0cfe85897f
Make non-interactive markers not fire pointer events
...
* Make non-interactive markers not fire pointer events, fixes #3936
* Make non-interactive image overlays and SVGs not fire pointer events
* Make gridlayers non-interactive, fixing #2396 too.
2016-04-02 19:33:02 +02:00
Yohan Boniface
4bcc89bc54
Make sure bounds are bounds before testing its validity in fitBounds
...
Fix #4374
2016-04-02 19:23:58 +02:00
Iván Sánchez Ortega
8b888915e0
Make L.Control.expand() and collapse() return this
2016-04-02 18:34:47 +02:00
Yohan Boniface
e287b5ec15
Make L.Control.Layers.collapse/expand public methods
...
The aim is to allow people to call them programmatically.
So they must be public, documented and thus reliable.
Closes #3049
Closes #2713
2016-04-02 18:34:47 +02:00
Iván Sánchez Ortega
4b38a7165a
rm spurious check, fixes #4068
2016-04-02 18:32:31 +02:00
Per Liedman
f1ce036caf
Remove use of ES5 function (map). Close #4362 .
2016-04-02 18:25:57 +02:00
Iván Sánchez Ortega
86a7f79dc9
Fire 'viewreset' on map.stop(), fixes #3985
2016-04-02 18:18:05 +02:00
Yohan Boniface
714cbb9ec6
Merge pull request #4372 from Leaflet/prosthetic-callbacks
...
Switch prosthetic-hand to 1.3.0 and use onStop callback
2016-04-02 17:59:58 +02:00
Iván Sánchez Ortega
c6c0e4f484
Switch prosthetic-hand to 1.3.0 and use onStop callback
2016-04-02 17:55:22 +02:00
Yohan Boniface
9560b28515
Merge pull request #3916 from Leaflet/leafdoc
...
🍂 doc
2016-04-02 16:18:41 +02:00
Yohan Boniface
1b1d21b1bf
Let's say I'm @IvanSanchez for once
2016-04-02 15:59:54 +02:00
Iván Sánchez Ortega
560e73bac5
Trying out Leafdoc comments in L.Marker
...
Added Leafdoc comments to Layer.js
Leafdoc comments for Popup, Layer
Leafdoc comments: L.Evented, inheritances, minor tilelayer
Leafdoc comments: gridlayer & tilelayer options
Leafdoc comments: tilelayer, marker drag
Typos
Leafdoc: switch to shorthand method params
Leafdoc: Switch to shorthands in marker drag, WMS.
Leafdoc: Vector layers
Leafdoc: Layer group, feature group, geojson
Leafdoc: LatLng, Point, Bounds, Icons.
Leafdoc: Controls.
Leafdoc: DOM & utils.
Leafdoc: "jake docs" now builds the documentation
Leafdoc: Commit actual templates instead of symlinks
Leafdoc: Fix broken build, have jake print out uglifyjs errors
Leafdoc: Several L.Map bits.
Leafdoc: Map handlers
Leafdoc: Map events, L.CRS, misc. fixes
Leafdoc: Fixed ordering of classes by using new leafdoc features
Leafdoc: Misc bits at the bottom of the docs
🍂 doc: Map panes
🍂 doc: CRSs, projections and their templates
🍂 doc: miniclasses for map methods' options
Leafdoc: Cleanup L.Class, mark uninheritable sections, use Leafdoc 0.3.0
🍂 doc: miniclasses for event types, bump to Leafdoc 1.0.0
🍂 doc: Make linter happy after branch rebase
🍂 doc: Tweaked headers for inherited stuff.
🍂 doc: Tweaking section headers (white, padding, triangles)
Leafdoc: upgrade to 1.2, document SVG&Canvas, and misc bits
🍂 doc: minor CSS tweaks, version in filename, typo.
Add missing bits - supersedes #4105 , #4065 , #4031
🍂 doc: moved sections around, minor typos & fixes
Typo about LocationEvent
2016-04-02 15:59:39 +02:00
Yohan Boniface
b7b409bd07
Merge pull request #4369 from Leaflet/use-mean-earth-radius
...
Use mean earth radius for distance calculation in L.CRS.Earth.
2016-04-02 15:51:40 +02:00
Per Liedman
868c102a86
Use mean earth radius for distance calculation in L.CRS.Earth.
...
Close #4184 .
2016-04-02 12:01:01 +02:00
Yohan Boniface
ec10c1bb6b
Merge pull request #4364 from Leaflet/fix-canvas-dasharray
...
Initialize canvas dash on init. Check that canvas supports setLineDash.
2016-04-02 11:51:57 +02:00
Per Liedman
9cfeab6454
Merge pull request #4368 from Leaflet/empty-latlngbounds
...
Make latLngBounds factory return an empty bounds with not argument
2016-04-02 11:38:55 +02:00
Yohan Boniface
446c02f2e7
Make latLngBounds factory return an empty bounds with not argument
...
Just like the constructor.
Fix #3408
2016-04-02 11:27:56 +02:00
Per Liedman
4a009962a4
Just keep _moveEnd inside requestAnimFrame. Close #4023 .
2016-04-02 11:09:01 +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
Yohan Boniface
5795f37fe4
Make sure a failing test will not leave the node in place
2016-03-29 10:39:05 +02:00
Yohan Boniface
6bc6e599a0
Increase timeout for "should not be closen when dragging map" test
2016-03-29 10:38:47 +02:00
Iván Sánchez Ortega
37f98cb29e
Merge pull request #4353 from theotow/feature/better-error-fitBounds
...
feat: added better error for fitBounds
2016-03-29 09:01:05 +02:00
Iván Sánchez Ortega
d75b89076c
Merge pull request #4354 from Leaflet/drag-to-prosthetic
...
Replace happen.drag by prosthetic-hand in specs
2016-03-29 08:56:39 +02:00
Yohan Boniface
61da775379
Replace happen.drag by prosthetic-hand in specs
2016-03-28 21:51:27 +02:00
Manuel Villing
19d91d5bcd
feat: added better error for fitBounds
...
related to #4345
2016-03-28 15:34:34 +08:00
Iván Sánchez Ortega
24a2a11715
Merge pull request #4344 from jieter/infinite-crs-gettileurl
...
Do not calculate inverted y coords for CRSes with infinite: true
2016-03-23 16:32:39 +01:00
Jan Pieter Waagmeester
ccaf632268
Do not calculate inverted y coords for CRSes with infinite: true
...
Fixes #4338
2016-03-22 14:10:24 +01:00
Vladimir Agafonkin
73c8242667
Merge pull request #4340 from Leaflet/bounce-touch
...
Fix zoom handling on Map.TouchZoom
2016-03-22 09:29:49 +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
6262d6457e
Merge pull request #4339 from jieter/tilelayer-y-unittest
...
Unit tests TileLayer.getTileUrl()
2016-03-21 15:50:11 +01:00
Jan Pieter Waagmeester
34075a893a
Unit tests for TileLayer getTileUrl replacements
2016-03-21 15:00:13 +01:00
Jan Pieter Waagmeester
37254587be
Allow dashes in template placeholders + tests
2016-03-21 14:36:21 +01:00
Iván Sánchez Ortega
b60e18d5c6
Merge pull request #4337 from jieter/tilelayer-y
...
Support {-y} in tile layer urls (Fixes #4284 )
2016-03-21 12:36:10 +01:00
Jan Pieter Waagmeester
d5e78e2253
Support {-y} in tile layer urls ( Fixes #4284 )
2016-03-21 11:51:24 +01:00