Yohan Boniface
87e38f1aa4
Do not resetView on GridLayer.moveEnd ( fix #4617 ) ( #4669 )
...
* Do not resetView on GridLayer.moveEnd (fix #4617 )
* Only call GridLayer._setZoomTransform when zoomchanged
2016-07-01 13:09:38 +02:00
Iván Sánchez Ortega
8cb745ce0a
L.Evented.listens() returns false on removed event handlers, #4474 ( #4476 )
...
* Fix L.Evented.listens() on removed event handlers, #4474
* Fix bad unit tests for marker events
* Only check for listerners.length if listerners is actually defined
2016-07-01 11:14:22 +02:00
Per Liedman
2652b63f42
Use pointer-events: visiblePainted as fallback for IE <11 ( #4690 )
2016-07-01 11:14:13 +02:00
Iván Sánchez Ortega
7add9d4c74
Correct handling of markerZoomAnimation event hooks ( #4460 )
...
* Better handling of markerZoomAnimation event hooks, fixes #4453
* Only remove events once on layer remove
2016-07-01 10:52:52 +02:00
Zsolt Ero
26df85e841
maxbounds example fixes ( #4680 )
2016-06-28 15:14:24 +02:00
Per Liedman
01790eacda
Ignore events if Draggable is disabled, fixing disabling drag on click in IE11 ( #4479 )
...
* Ingore events if Draggable is disabled
Close #3666 .
* Add test for verifying fix to #3666
2016-06-27 16:16:03 -07:00
Yohan Boniface
bddfb1168f
Do not alter popup.options.offset ( fix #4645 ) ( #4662 )
...
* Do not alter popup.options.offset (fix #4645 )
* Remove unused code after commit 33e7fca
2016-06-27 04:03:06 -07:00
Iván Sánchez Ortega
b2d7cf110b
Fix #4039 : Use different L.Bounds for "marking as prunable" and loading tiles ( #4650 )
...
* Fix #4039 : Use different L.Bounds for "marking as prunable" and loading tiles.
* configurable tile pruning tests
* using spy for testing load did not happen
2016-06-21 15:27:44 +02:00
Yohan Boniface
1d1b7e2aea
Be more defensive when using other layers pxBounds in L.Canvas._draw ( #4653 )
...
In some edge cases, it will not be defined. For example if a poly
with no latlngs (or only one) is attached to the canvas renderer.
2016-06-18 23:51:41 -07:00
Jon Woyame
ad3f590dd0
limit ESLint to project folder ( #4654 )
2016-06-18 23:51:21 -07:00
Yohan Boniface
d8a6ad4010
Use proper Hand onStop callback instead of setTimeout in popup spec
2016-06-16 15:34:16 +02:00
Ray Hammond
e2caf40cad
docstrings: Adds missing GeoJSON functions to API docs ( #4642 )
...
Fixes #4630
2016-06-13 10:51:01 +02:00
Yohan Boniface
d1de37aa88
Fix broken sizeOption when L.point instance ( #4636 )
2016-06-10 15:36:07 +02:00
Alexander Myshov
f1f96933f0
docstrings: Add description to time argument of Util.throttle ( #4633 )
2016-06-09 09:37:49 +02:00
Alexander Myshov
f701789c90
docstrings: Fix getEvents() description, update FAQ ( #4625 )
...
* Fix description for getEvents() method
* Fix outdated info in FAQ about MapQuest (fix #4624 )
2016-06-06 15:42:46 +02:00
Vladimir Agafonkin
48ff771d67
Merge pull request #4616 from myshov/master
...
Add links onto wikipedia page about WMS, fix error in example
2016-06-03 18:50:11 +03:00
Alexander Myshov
43676fe6e9
Fix example of calling parent methods
2016-06-03 18:01:15 +06:00
Alexander Myshov
1a3f56701b
Add links onto wikipedia page about WMS
2016-06-02 16:29:52 +06:00
Alexander Myshov
f5b3cf0535
Add link onto wikipedia page about TMS ( #4615 )
2016-06-02 10:24:56 +02:00
Vladimir Agafonkin
17bd81be7f
update deps
2016-06-01 20:10:00 +03:00
Vladimir Agafonkin
66e7b6425b
remove unnecessary lint args, close #4613
2016-06-01 20:05:11 +03:00
Yohan Boniface
95d5b59c5f
Fix canvas not filtering click event after drag ( #4493 )
...
* Fix preclick not fired in canvas
* Do not add canvas layers to click event targets if just dragged (fix #4458 )
2016-06-01 17:43:32 +03:00
Per Liedman
bb7d23d7a0
Prevent touch-action depending on enabled handlers ( #4552 )
...
Close #4051 .
2016-06-01 17:41:50 +03:00
Manuel Lopez
28879629f3
moved eslint configuration to package.json ( #4571 )
...
This should help in the efforts of keeping the root directory clean.
2016-06-01 17:32:06 +03:00
Jon Woyame
35caae1a1a
remove extra init of drag start ( #4591 )
2016-06-01 17:30:02 +03:00
Jon Woyame
268a57c077
add demo with both map and vector click events ( #4601 )
2016-06-01 17:27:47 +03:00
Ray Hammond
72c4f986b1
Icon size x can now be initialised with a number ( #4608 )
...
Icon size x can now be initialised with a number. Fixes #3185
2016-06-01 17:24:24 +03:00
Jon Woyame
3ecd4273f3
disable pointer events on popup tip ( #4599 )
2016-06-01 17:21:43 +03:00
Jon Woyame
878a022897
Prevent map click when layer has popup ( #4603 )
...
* prevent map click when layer has popup
* add test cases for click events on Paths
* update test for Path popups to check popup is open
2016-05-29 22:01:16 +02:00
Iván Sánchez Ortega
bd2093a3af
docstrings: linkify map panes
2016-05-27 10:52:37 +02:00
Iván Sánchez Ortega
5cc9b79c97
docstrings: Refactor interactive layers, implements #4583 ( #4585 )
2016-05-25 10:57:18 +02:00
Iván Sánchez Ortega
d4ea41214d
docstrings: minor links around.
2016-05-20 13:45:12 +02:00
Iván Sánchez Ortega
dd91852303
docstrings: Minor improvements to map panes and popup factory
2016-05-20 12:55:03 +02:00
Iván Sánchez Ortega
061fbd1ca6
Scale down getWheelDelta() in win+chrome and ffx+retina, should fix #4538 ( #4557 )
2016-05-20 10:21:59 +02:00
Per Liedman
fbc6265fb7
Fix when all listeners are removed during dispatch ( #4555 )
...
Close #4478 .
2016-05-12 10:22:36 +02:00
Matthew Mueller
fb6b4776c6
Prevents L.DomUtil.create() from automatically setting the class name to 'undefined' when no class is sent to the function. ( #4563 )
2016-05-12 10:18:01 +02:00
Valentin Hervieu
5edeb408c0
Control.Layers._getLayer - Fix #4560 : _getLayer iterates too far on layers array ( #4561 )
2016-05-11 16:02:17 +02:00
Benjamin Becquet
4ca0133704
docstrings: fix typos and mistakes in L.GridLayer ( #4559 )
2016-05-11 15:05:20 +02:00
Benjamin Becquet
5aca1896b4
Add missing Leafdoc template files ( #4558 )
2016-05-11 14:19:53 +02:00
Iván Sánchez Ortega
03dc9697b6
Docstrings: non-standard WMS parameters as L.TileLayer.WMS options ( #4531 )
2016-05-11 10:47:31 +02:00
Jay Varner
1b405dc10e
Classname gridlayers ( #4553 )
...
* Adding option to TileLayers.
* Fix spacing.
2016-05-10 15:32:34 +02:00
Yohan Boniface
6e8ac31993
Fix setMaxBounds not resetting when passing null argument ( #4494 )
2016-05-09 15:12:51 +02:00
Nathan Cahill
88f5f234cd
docstrings: uncomment maxZoom option in L.GridLayer ( #4424 )
...
Not sure why this was commented out in @IvanSanchez's doc fixes. It will be undefined regardless.
2016-05-09 13:15:59 +02:00
Nathan Cahill
875e1987b5
docstrings: uncomment crossOrigin option in L.ImageOverlay ( #4426 )
...
The check that's used later is `if (this.options.crossOrigin)`, which currently evaluates to undefined. Setting the default option to false keeps the typing consistent.
2016-05-09 13:15:19 +02:00
Nathan Cahill
e2de21481e
docstrings: add missing parameters to L.Util.indexOf docstring ( #4473 )
2016-05-09 13:06:25 +02:00
Nathan Cahill
181022ffa7
docstrings: correct TileEvent and TileErrorEvent properties ( #4492 )
2016-05-09 13:02:12 +02:00
Nathan Cahill
faeb46b27c
docstrings: add missing L.Map controls method docs ( #4496 )
2016-05-09 13:01:37 +02:00
Nathan Cahill
6d961d7eee
add L.Control extension docs ( #4513 )
2016-05-09 12:56:26 +02:00
Iván Sánchez Ortega
cc3380f98e
Tweaked values of getBoundsZoom unit tests ( #4528 )
2016-05-09 10:42:19 +02:00
Dian Jin
a6888ab13f
getBoundsZoom fix for small size and padding and tests ( #4532 )
2016-05-09 10:39:14 +02:00