Iván Sánchez Ortega
2996298d59
Inclue changes from #5054 into VML code ( fixes #5213 ) ( #5215 )
2016-12-23 16:32:14 +02:00
Aaron Petcoff
9e5903db40
adds graceful fallback to clientWidth & clinetHeight in getSize ( #5209 )
2016-12-22 01:36:58 +02:00
Iván Sánchez Ortega
b8b7281ee8
Added unit test for #5202
2016-12-21 14:49:47 +01:00
Hagai
4e58391235
Fix edge case of closing popups during their popupopen event ( #5202 )
...
Replacing `this._map` with `map`.
2016-12-21 14:46:34 +01:00
Marvin Bredal Lillehaug
884463bb09
Avoid getBoundsZoom return Infinity when using CRS with flipped axis ( #5204 )
...
* Create new bounds from projected coordinates rather than subtract in getBoundsZoom to avoid negative scale. Fixes #5195
* Fix unit test mocks
Apparently, mocking `project()` instead of `latLngToPoint()` magically works.
* Expected zoomlevel is 9, not 7
2016-12-19 12:40:22 +01:00
Yet Another Fred
3c1c14f64f
Plugins: Add leaflet-responsive-popup ( #5203 )
...
* Add leaflet-responsive-popup to plugins page
* simplify leaflet-responsive-popup description
2016-12-18 11:43:17 +01:00
Mark Lee
7c96246044
docs: fix quick start link in mobile tutorial ( #5192 )
2016-12-15 09:43:30 +01:00
Iván Sánchez Ortega
ad6a33aed2
Prevent infinite loop on failing errorTileUrls ( fixes #5176 ) ( #5177 )
2016-12-14 09:37:57 +01:00
Iván Sánchez Ortega
19d2bd027e
Be more picky about pointer events (blind attempt to fix #5180 ) ( #5185 )
2016-12-14 09:33:21 +01:00
Iván Sánchez Ortega
8c95bc4503
Fix typo in touch-action CSS rules ( #5187 )
2016-12-13 10:26:06 +01:00
Pablo Alonso
b1fd47a5a4
Fixed method docs ( #5184 )
2016-12-12 15:45:33 +01:00
jasonoverland
b1c2e99c1f
docstrings: Correct polygon & polyline examples ( #5161 )
2016-12-07 09:35:20 +01:00
Brandon Kerr
240918d742
Remove incrementation of uninitialized typeListeners attribute 'count' ( #5160 )
2016-12-06 16:18:31 +01:00
Dave Leaver
107859379e
Add missing method documentation for ImageOverlay ( #5158 )
2016-12-02 13:42:54 +01:00
Iván Sánchez Ortega
1f4c1b9c0f
Docstrings: second parameter for map.fitBounds is optional
2016-12-01 13:40:00 +01:00
Zakaria Amine
d760505483
Plugins: Added gwty-leaflet project to Integrations section ( #5143 )
2016-12-01 13:38:44 +01:00
ghybs
a359ac72eb
docstring: grid layer use bounds with noWrap ( #5156 )
...
Following #5154 , added mention about using `bounds` on Grid Layer when `noWrap` is used (i.e. set to `true`), in order to prevent requesting tiles outside the main world (CRS limits).
Looks like behaviour changed compared to Leaflet 0.7, where the CRS limits were still effective.
In order to restore that behaviour, application developer must now specify `bounds`.
Especially visible with CartoDB tiles which do serve tiles outside the main world.
2016-12-01 13:37:20 +01:00
b_b
cf6fa4f468
Plugins: update shramov's description ( #5155 )
2016-12-01 12:58:18 +01:00
Ernie23
3f8b6b3b28
Vertical lines while moving over canvas elements ( #5148 )
...
* Vertical lines while moving over canvas elements
* Vertical lines while moving over canvas elements
* bounds.min._floor(); bounds.max._ceil(); instead
* Rounding bounds in _redraw function instead of _clear function
2016-12-01 10:48:28 +01:00
Gert Van Gool
9d6e6fcdf4
Fixes Layer.isPopupOpen when no popup is bound ( #5106 )
...
* Adds initial tests for L.Layer#popup
* Fixes Layer.isPopupOpen when no popup is bound
This fixes uncaught exception when checking whether a popup isOpen(),
when the layer has no popup bound to it.
2016-11-29 10:33:54 +01:00
Semen Levenson
188362098b
Docs: peerDependencies in plugins guide ( #5142 )
...
If I some plugin include leaflet to dependencies and I have local version leaflet, then I have two version - leaflet from plugin and my.
2016-11-24 12:19:48 +01:00
Iván Sánchez Ortega
633182a836
Sanity check in LatLngBounds.contains ( fixes #5132 ) ( #5135 )
2016-11-24 09:36:33 +01:00
geoloep
4f52a36dc1
docstrings: Update bounds property in Projection.leafdoc ( #5139 )
...
* Update Projection.leafdoc
To me it appears that the property bounds expects 'Bounds' and not 'LatLngBounds'. All the included projections pass 'Bounds'. Giving the area where the projection is valid in latlng's did not work for me.
* Update Projection.leafdoc
2016-11-23 16:29:06 +01:00
Per Liedman
2253672051
Only collapse layer control if collapsed: true ( #5131 )
...
Close #5126
2016-11-23 10:49:59 +01:00
Jack
e0f80e0e1a
Plugins: Add routing.amap ( #5133 )
...
* This is a routing implementation from AMap(高德地图),you need set a location points and key,Leaflet.Routing.Amap will generates colorful route. Because of most china map use unique Projection , include AMap, this should be attention.so I import Project class for projection transform.
* English grammar for L.Routing.Amap
2016-11-23 10:15:50 +01:00
Yuzo Matsuzawa
308ba02d69
Update L.version to 1.0.2 ( #5134 )
2016-11-23 09:59:32 +01:00
Richard Fairhurst
b90e6685c2
Docs: Use openstreetmap.org, not osm.org ( #5130 )
...
* Use openstreetmap.org, not osm.org
osm.org is a convenience redirect for typing into your browser URL bar, and not an officially supported services endpoint (for example, it doesn't have the SSL certificates you might otherwise expect)
* Update reference-1.0.2.html
* Update TileLayer.js
2016-11-22 17:39:48 +01:00
Dave Leaver
eb7f30dacd
Merge pull request #5077 from mvl22/master
...
Remove unnecessary gendered text in documentation
2016-11-22 09:30:35 +13:00
Dave Leaver
941c6a2457
Merge branch 'master' into master
2016-11-22 08:49:45 +13:00
mvl22
9d6a1d3c82
Remove unnecessary gendered text in documentation
2016-11-21 19:28:28 +00:00
Faheel Ahmad
520587d745
Fixed L.LatLng.toBounds docstring ( #5127 )
2016-11-21 15:22:53 +01:00
Iván Sánchez Ortega
65102bc4d1
Website updates for 1.0.2, version bump ( #5123 )
2016-11-21 12:33:57 +01:00
Iván Sánchez Ortega
c6f8e8eafd
Update changelog
2016-11-21 11:17:51 +01:00
Iván Sánchez Ortega
232f5b6cf8
Plugins: Fix name
2016-11-21 09:23:22 +01:00
Craig Barnes
f3ba107531
Plugins: fix link URL ( #5121 )
...
The embedding of Markdown text within an outer, raw HTML block was
causing it to be rendered literally.
2016-11-21 09:22:17 +01:00
Iván Sánchez Ortega
d89271b404
Docstrings: 'x' and 'y' properties for L.Point, closes #5117
2016-11-18 16:35:23 +01:00
Per Liedman
54d6fc24c1
Merge pull request #5088 from bb-juliogarcia/minNativeZoom
2016-11-18 15:46:22 +01:00
Julio Garcia
3875722edf
Removing unneeded comment
2016-11-18 15:45:23 +01:00
Julio Garcia
d303a7b681
Adding Unit Tests for minNativeZoom and maxNativeZoom
2016-11-18 15:45:23 +01:00
Julio Garcia
243daa90ef
Fixing linting errors
2016-11-18 15:45:23 +01:00
Julio Garcia
4eba3a0973
Adding support for minNativeZoom in TileLayer.js
2016-11-18 15:45:23 +01:00
Per Liedman
4c484462dc
Canvas improvements ( #5115 )
...
* WIP refactor canvas clear
* Fix clearing bounds, remov unnecessary code
* Refactor redraw logic
* Remove flicker on update
* Fix code style
* Add support for layer ordering with bringToFront/bringToBack
* Fix redraw when layer moves
* Add example for moving canvas layers
* Fix code style
* Use layer ordering for mouse events
* Fix removing first or last layer
2016-11-18 15:22:35 +01:00
Iván Sánchez Ortega
d28e3eeccb
FAQ.md: Link to GoogleMutant instead of shramov, which is now deprecated
2016-11-18 15:00:33 +01:00
Per Liedman
9cb7274001
Make click on canvas fire for only one layer ( #5100 )
...
Close #5091 .
2016-11-17 16:51:59 +01:00
Iván Sánchez Ortega
4e979514c3
Add a 'sortLayers' option to L.Control.Layers ( #4711 )
...
* Add a 'sortLayers' option to L.Control.Layers
* Add a sortFunction option to L.Control.Layers
* Fix default sort function; modify test
2016-11-17 12:52:29 +01:00
Iván Sánchez Ortega
0be6ee89da
Plugins: add Leaflet.TileLayer.MBTiles
2016-11-16 15:53:58 +01:00
Iván Sánchez Ortega
8437311e17
Plugins: Add Vaadin framework component
2016-11-15 14:40:01 +01:00
Lazarev Alexandr
4a75faf2ef
tutorials: Fixed broken relative links ( #5099 )
...
* Fixed broken realtive links
* Fixed links
* Convert relative link to ./
* Convert relative link to ./
2016-11-15 10:41:38 +01:00
Aleksey Shmigelski
feb716401a
round tooltip position ( #5089 )
2016-11-13 18:33:17 +01:00
Patrick Arlt
ab31976c75
A11y fixes from #3210 ( #5092 )
2016-11-11 17:17:49 -08:00