Commit Graph

5986 Commits

Author SHA1 Message Date
Nathan Cahill
da614f9253 correct docstring for L.TileLayer.WMS transparent option
Fix copy/paste error from styles
2016-04-14 10:24:06 -06:00
Iván Sánchez Ortega
f59343a576 Added Leaflet.heat (why wasn't it already in the list?!) 2016-04-14 14:55:29 +02:00
Nathan Cahill
67c1370404 consistent return type with aliased method (#4418)
Evented.listens() returns a boolean, so hasEventListeners() will as well
2016-04-14 08:52:25 +02:00
Nathan Cahill
095003ac2a fix capitalization in L.GridLayer.getContainer() doc (#4419) 2016-04-14 08:51:06 +02:00
Iván Sánchez Ortega
1bfc6ad12a Merge pull request #4413 from grantHarris/gh-pages
Update plugin list to add leaflet-popup-angular and rename Leaflet Angular Control
2016-04-13 16:42:46 +02:00
Iván Sánchez Ortega
68b8f97b85 Merge pull request #4414 from domoritz/patch-2
Add anchors to control headings in 0.7 docs. Fixes #4412
2016-04-13 16:42:01 +02:00
Iván Sánchez Ortega
d62ff6f77f Merge pull request #4272 from pwilczynski/patch-1
Update clipsegment documentation
2016-04-13 16:39:32 +02:00
Dominik Moritz
e3f2a2d96c Add anchors to control headings. Fixes #4412 2016-04-12 11:09:19 -07:00
Grant Harris
4ae38e49bb Update plugin list to add leaflet-popup-angular and rename my previous Leaflet Angular Control to Leaflet Control Angular to reflect the name change of the project. 2016-04-12 09:17:14 -07:00
Zsolt Ero
63870f1c5b fitBounds round fix (#4402)
* fitBounds zoom snapping round fix

* fitBounds zoomSnap rounding fix
2016-04-11 16:16:51 +02:00
S. Andrew Sheppard
8258a3e3e7 update default position to match leafdoc
(indirectly fixes zoom control, which no longer has it's own default)
2016-04-08 14:34:01 -05:00
Iván Sánchez Ortega
b74cf171f8 Merge pull request #4404 from Leaflet/fix-4401
Fix regression when setting style of Path with canvas renderer
2016-04-08 17:50:13 +02:00
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
Iván Sánchez Ortega
f6334bddae Merge pull request #4292 from ghybs/patch-1
DOCS Stable added `tileerror` event
2016-04-02 21:23:43 +02: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
a8e54b703f Replace 1.0 reference with Leafdoc-generated file
* Replaced 1.0 reference with Leafdoc-generated file

* Update reference-1.0.0.html to Leafdoc for 1.0.0-rc1
2016-04-02 21:09:19 +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
Iván Sánchez Ortega
903f344e43 Example/tutorial for WMS and TMS
* Example/tutorial for WMS and TMS

* Corrections from proof-reading the WMS tutorial; EPSG:4326 example
2016-04-02 16:13:56 +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