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
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
8da61993d2
Added four prosthetic-hand tests, checking mouse&touch drag events and touch-zoom
2016-03-18 15:24:42 +01:00
Iván Sánchez Ortega
0ea9832771
Merge pull request #4324 from OpenDevTeam3/drag-undefineds
...
fixing this._times.length undefined in Map.Drag.js, fixes #4311
2016-03-15 16:26:46 +01:00
mouradeolive
5f7c2e07d6
fixing this._times.length undefined in Map.Drag.js
...
Update Map.Drag.js
Update Map.Drag.js
2016-03-15 15:47:37 +01:00
Vladimir Agafonkin
d773d6a6da
Merge pull request #4308 from Leaflet/canvas-dasharray
...
Port #4173 to master: dashArray in Canvas
2016-03-14 15:22:50 +02:00
Iván Sánchez Ortega
8aa32484b4
Port #4173 to master
2016-03-08 16:58:36 +01:00
Vladimir Agafonkin
98e87d3d94
Revert "Stop drag propagation, fixes #4249 "
...
This reverts commit a32017f890
.
2016-03-07 23:12:39 +02:00
Vladimir Agafonkin
4333f8831d
Merge pull request #4306 from MasterMaps/stop-drag-propagation
...
Stop drag propagation, fixes #4249
2016-03-07 14:26:43 +02:00
Bjorn Sandvik
a32017f890
Stop drag propagation, fixes #4249
2016-03-07 12:53:50 +01:00
Vladimir Agafonkin
7ebbd19737
Merge pull request #4293 from dr-itz/4285-attribution-text
...
Fix attribution text not removed when Layer is removed from map
2016-03-02 16:00:03 +02:00
Daniel Ritz
0af11b064e
Fix attribution text not removed when Layer is removed from map
...
Symptom: Switching between layers with different attributions does
not remove the attribution from the previously selected layer.
Control.Attribution keeps track of its attributions with a counter for
each text. The problem described in #4285 is that each time the layer
is added to the map, the counter is increased by two. It's because
Layer calls Control.Attribution.addAttribution() twice, once from
addLayer() and the second time via the whenReady() callback _layerAdd().
This was not caught by the tests since the callback was never fired
(missing map.setView() call).
Fixes #4285
2016-03-01 13:46:40 +01:00
Vladimir Agafonkin
f7d7ad22b3
Merge pull request #4280 from errebenito/master
...
Skip call to this._update() if this._map is null
2016-03-01 11:26:57 +02:00
Vladimir Agafonkin
ac6b18d7a2
Merge pull request #4290 from JrFolk/0.7-legacy-support
...
Increase depth of legacy support
2016-03-01 11:21:58 +02:00
Vladimir Agafonkin
33da55d307
Merge pull request #4289 from Leaflet/phantomjs2
...
Update phantomjs dependency version
2016-03-01 11:20:42 +02:00
Vladimir Agafonkin
2b970bf1ce
Merge pull request #4287 from Leaflet/pointer-enabled
...
Clean up navigator.pointerEnabled
2016-03-01 11:20:05 +02:00
Joseph Folkemer
97921d6cef
Increase depth of legacy support
...
A lot of plugins use the capitalized internal constructors rather than
the API. This should broaden legacy support for plugins that use the
L.Circle constructor.
2016-02-29 13:01:30 -06:00
Iván Sánchez Ortega
3c38ae3ef0
Update phantomjs dependency version
2016-02-29 17:05:13 +01:00
Iván Sánchez Ortega
a1371507bf
Clean up navigator.pointerEnabled
2016-02-29 16:19:34 +01:00
Raúl Benito
11e289ba7d
Skip call to this._update() if this._map is null
...
Returns this instead of this._update() if this._map is not set on addBaseLayer(), addOverlay() and removeLayer().
2016-02-26 20:57:53 +01:00
Iván Sánchez Ortega
663978227d
Unit tests for #4257 , attributionControl layeradd/layerremove
2016-02-18 21:31:00 +01:00
Iván Sánchez Ortega
e0c17bffee
Merge pull request #4263 from snkashis/layer_attr_fix
...
centralize setting of attributionControl on map from onAdd
2016-02-18 18:40:49 +01:00
Steve Kashishian
fb79bbf9dd
centralize setting of attributionControl on map from onAdd
2016-02-18 11:24:44 -05:00
Vladimir Agafonkin
093d77217e
Merge pull request #4256 from Leaflet/filterclick-originalevent
...
Check for e.originalEvent in DomUtil._filterclick
2016-02-17 18:54:00 +02:00
Iván Sánchez Ortega
8290a4179c
Check for e.originalEvent in DomUtil._filterclick, should fix #3724
2016-02-17 17:08:00 +01:00
Vladimir Agafonkin
2dd8b8a3b4
Merge pull request #4244 from hyperknot/fix-tileprune-map-bug
...
check _map in _pruneTiles
2016-02-16 15:18:31 +02:00
Vladimir Agafonkin
c83e8eb8a2
Merge pull request #4246 from Leaflet/class-returns
...
L.Class.include & mergeOptions now return 'this'
2016-02-16 15:17:00 +02:00
Iván Sánchez Ortega
ccd95e38e6
L.Class.include & mergeOptions now return 'this'
2016-02-15 16:38:35 +01:00