Commit Graph

6308 Commits

Author SHA1 Message Date
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
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
Per Liedman
b6e7cd37ff Merge pull request #4350 from MAD-GooZe/gh-pages
Add Leaflet.BootstrapZoom
2016-03-23 15:33:52 +01:00
Alexey Gusev
6ffbcdca9c add Leaflet.BootstrapZoom 2016-03-23 16:56:20 +03:00
Iván Sánchez Ortega
1b789eacff Merge pull request #4348 from BenjaminVadant/patch-1
Adding a new plugin Leaflet uGeoJSON
2016-03-23 10:16:50 +01:00
Benjamin Vadant
d9349a0795 Adding a new plugin Leaflet uGeoJSON 2016-03-23 10:13:52 +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
Steve
02d90e44f6 Update leaflet.mouseCoordinate plugins details
Closes https://github.com/Leaflet/Leaflet/pull/4276
2016-03-21 12:00:04 -05:00
Steve
f58c69dd4d Fix 404 for Leaflet.BoatMarker demo 2016-03-21 11:38:26 -05: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
Zsolt Ero
740624aae6 Merge pull request #4336 from Leaflet/gh-pages-prosthetic-hand
prosthetic-hand blog post
2016-03-21 13:16:27 +01:00
Iván Sánchez Ortega
d420e5eda8 prosthetic-hand blog post 2016-03-21 13:15:29 +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
Iván Sánchez Ortega
98fb253a3d Merge pull request #4330 from MaximeOpsommer/patch-1
Fixing some syntaxes erros
2016-03-18 16:24:47 +01:00
Maxime Opsommer
3814292288 Fixing some syntaxes erros 2016-03-18 16:23:20 +01:00
Vladimir Agafonkin
8e2e790933 Merge pull request #4327 from Leaflet/prosthetic-hand-tests
prosthetic-hand unit tests
2016-03-18 16:37:38 +02:00
Iván Sánchez Ortega
b534440b51 Merge pull request #4329 from LucasMouraDeOliveira/patch-1
Fixing a typo
2016-03-18 15:31:51 +01:00
Lucas Moura de Oliveira
bb2bcd69b6 Fixing a typo
Replaced ',' with ' )'
2016-03-18 15:29:35 +01:00