Jesús Arroyo Torrens
8b851fb778
v1.3.1-carto1
2018-06-28 15:04:34 +02:00
Jesús Arroyo Torrens
f07da2a121
Fix setTransform function for desktop webkit
2018-06-28 14:44:54 +02:00
Jesús Arroyo Torrens
1a61b9eb00
Update version to 1.3.1-carto1
2018-06-28 14:36:04 +02:00
Andrew
ba6f97fff8
v1.3.1
2018-01-18 13:16:07 +01:00
Andrew
bafaa8a436
bump version to 1.3.1
2018-01-18 13:14:19 +01:00
Andrew
bfbaf6522e
Revert "use zoom parameter if passed" ( #6006 )
2018-01-16 22:10:05 +04:00
Andrew
4704037365
Merge pull request #5988 from Leaflet/release-v1.3.0
...
Let's ship v1.3.0 release!
2018-01-15 08:45:03 +01:00
Andrew
1574cafdf4
blog post formatting
2018-01-15 08:42:40 +01:00
Andrew
58ade1625e
integrity
2018-01-15 08:36:44 +01:00
Andrew
0c25ba8706
update release date
2018-01-15 08:28:45 +01:00
Andrew
9f19e723da
bump version to 1.3.0 ( #6003 )
2018-01-15 08:26:21 +01:00
Andrew
4271237e3f
Merge pull request #5998 from dj0001/master
...
add Leaflet.mytrack
2018-01-13 18:53:49 +01:00
dj
4a7fadb876
add Leaflet.mytrack
2018-01-13 17:36:10 +01:00
Andrew
3d4f691331
Merge pull request #5981 from rbrtmrtn/patch-2
...
Update CONTRIBUTING.md
2018-01-10 18:27:33 +01:00
Andrew
2a4c4c9755
Merge pull request #5991 from dj0001/master
...
Leaflet.timezones
2018-01-10 17:40:45 +01:00
dj
b9f35b813d
Leaflet.timezones
...
Overlay timezones on a Leaflet Earth map
2018-01-10 17:10:54 +01:00
Andrew
cf00e0d493
update changelog and reference
2018-01-10 16:42:07 +01:00
Andrew
7686816a95
Merge branch 'master' into release-v1.3.0
2018-01-10 15:47:53 +01:00
Andrew
9796e1183e
update docs
2018-01-10 16:33:05 +02:00
Andrew
5c2d3d8ebc
move tooltipAnchor and popupAnchor defaults from Marker to Icon
2018-01-10 16:33:05 +02:00
Andrew
031ff12873
document tooltipAnchor option
2018-01-10 16:33:05 +02:00
Andrew
16f1c48420
update changelog and reference
2018-01-09 19:08:02 +01:00
Andrew
ffb432cafe
Merge remote-tracking branch 'Leaflet/master' into release-v1.3.0
2018-01-09 18:59:39 +01:00
Andrew
f44ec8f889
Merge pull request #5976 from kring/patch-1
...
Fix incorrect documentation of off function
2018-01-09 18:58:39 +01:00
Andrew
89ba393b31
add new blog post
2018-01-09 17:56:02 +01:00
Andrew
ae9eaa2b34
update date in changelog
2018-01-09 17:55:01 +01:00
Andrew
a22ca2f6f6
update reference-versions
2018-01-09 17:53:42 +01:00
Andrew
3e32b74dbe
update RELEASE.md
2018-01-09 17:52:26 +01:00
Andrew
b301e9acfb
update announcement
2018-01-09 17:48:27 +01:00
Andrew
deb95c8dac
update config.yml
2018-01-09 17:47:37 +01:00
Andrew
d7d8bc0782
update download page
2018-01-09 17:47:00 +01:00
Andrew
9d5ae57bcb
update reference.html
2018-01-09 17:45:45 +01:00
Andrew
17ddd9d15f
add reference-1.3.0
2018-01-09 17:44:37 +01:00
Andrew
c437d0310e
update RELEASE.md
2018-01-09 17:38:24 +01:00
Andrew
b7ae6f39d7
update changelog
2018-01-09 17:38:03 +01:00
Andrew
1e91b70aed
changelog for new release
2018-01-08 17:29:34 +01:00
Andrew
9fb0df7f04
docs: fix Point's trunc method docs ( #5987 )
2018-01-08 16:23:11 +01:00
Andrew
bf3b6a3b1a
Merge pull request #5984 from dj0001/master
...
add Leaflet.Sun
2018-01-04 17:19:45 +01:00
dj
0ae65280f0
add Leaflet.Sun
2018-01-04 16:34:00 +01:00
Robert Martin
45ed38433c
Update CONTRIBUTING.md
...
Fix typo in Yarn `watch` command
2018-01-01 20:13:15 -05:00
Robert Martin
49d384b32f
Update CONTRIBUTING.md
...
javascript => JavaScript
2018-01-01 20:10:53 -05:00
Michael Siadak
f31e39c1ac
Set alt HTML attribute only for img-based Markers ( #5979 )
2018-01-01 11:30:16 +02:00
Andrew
fa40fa3a48
Merge pull request #5977 from Oliv/master
...
Add plugin leaflet-polycolor
2017-12-22 18:37:29 +01:00
Oliv
a4096877f9
Add plugin leaflet-polycolor
2017-12-22 18:03:23 +01:00
Kevin Ring
e6f1ab7704
Fix incorrect documentation of off function
...
#5855 removed some of the incorrect documentation, this removes the rest.
2017-12-22 11:48:03 +11:00
Andrew
572938c741
Merge pull request #5948 from ronikar/master
...
ImageOverlay accept ImageElement
2017-12-21 13:50:48 +01:00
Andrew
0638210e63
Merge pull request #5975 from skedgo/master
...
We'd like to add a new routing plugin (leaflet.tripgo.routing)
2017-12-21 13:48:18 +01:00
gimenna
fd91e7a4df
Doc update: Add leaflet.tripgo.routing in routing section.
2017-12-20 17:00:36 -03:00
ghybs
b1e59c9247
Fix(SVGrenderer): reset svgSize on remove from map ( #5966 )
...
so that when the SVG Renderer is re-used and re-added on map, in `_update` method, the check on `_svgSize` triggers and re-assigns `width` and `height` attributes on the `_container`. Otherwise, the latter no longer has width and height, therefore is invisible, until the viewport size is changed.
2017-12-19 12:31:46 +01:00
Andrew
5832b6bd09
Merge pull request #5963 from Leaflet/issueTemplateReferenceLink
...
Docs(issueTemplate): use generic reference URL
2017-12-18 20:31:11 +01:00
Andrew
2ce37c5771
Fix map pan when touchZoom is disabled ( #5952 )
...
* fix map pan when touchZoom is disabled
* add pinch-zoom for non-ie
* add fallback for FF
2017-12-15 16:36:00 +01:00
ghybs
33fcac5cbb
Docs(issueTemplate): use generic reference URL
...
relying on redirection to point to the latest reference page, instead of the hard-coded versioned one.
2017-12-12 22:59:58 +04:00
Unknown
cd910249d1
this._url keeps sources after _initImage VideoOverlay
2017-12-09 11:36:20 +02:00
songyumeng
e9ffabdd17
fix wms tilesize ( #5958 )
...
* fix wms tilesize as L.point
2017-12-08 20:43:12 +01:00
Unknown
575ced6e2c
this._url keep an url after _initImage
...
updated ImageOverlay and VideoOverlay
2017-12-05 20:51:34 +02:00
Jussi Mattas
f0c31c1691
Use more stable form of Haversine formula. ( #5935 )
...
* Use more stable form of Haversine formula.
The new form does not give a non-zero distance from a point to itself.
* Pre-compute sines which are used twice.
2017-12-05 09:11:23 +01:00
Vincent D
45b3e041d2
Removed markdown syntax in plugin description
2017-12-04 17:00:05 +01:00
Andrew
5cb9c22f51
Merge pull request #5947 from idawave/patch-1
...
Updated plugins file with L.DraggableEnhancer under ##Events
2017-12-03 13:11:16 +01:00
GeoportalPL
73bef08c55
Add WMTS plugin demo. ( #5945 )
2017-12-03 13:08:48 +01:00
Unknown
39c3bf7ed3
ImageOverlay accept ImageElement
2017-12-03 13:20:18 +02:00
Vincent D
9aaa8698dc
Updated plugins file with L.DraggableEnhancer under Events
2017-12-02 22:56:52 +01:00
GeoportalPL
abb14f0b8c
Add a plugin to add WMTS services ( #5943 )
2017-11-30 18:25:23 +01:00
germansokolov13
623fa6161e
Docs: add mouseup event to interactive layer ( #5941 )
2017-11-28 09:20:11 +01:00
Andrew
30d7b8997d
add addTo function to Handler ( #5930 )
2017-11-27 19:40:14 +02:00
Guillaume Rischard
b22ca31716
Optimised images. Saved 1.1 MB out of 9.7 MB. 22.3% per file on average (up to 62%) ( #5936 )
2017-11-22 15:33:24 +01:00
Iván Sánchez Ortega
67ab617f82
Tweak 'legacy' option in rollup config ( #5929 )
2017-11-20 10:34:18 +01:00
Andrew
047780659b
Merge pull request #5925 from andyyaldoo/patch-1
...
Docs: Update extending-1-classes.md
2017-11-18 09:13:38 +01:00
Andy Aldo Dharmawan
bc3a168de8
Update extending-1-classes.md
2017-11-18 15:55:34 +08:00
Per Liedman
1da6222cfb
Revert "Enable mouse events on multiple canvas renderers ( #5752 )" ( #5924 )
...
This reverts commit d6739c20c1
.
2017-11-17 16:15:21 +01:00
Isak Prytz
4c0c3acdd6
added check for noMoveStart option in map.flyTo ( #5923 )
...
* added check for noMoveStart option in map.flyTo
* added implicit false parameter to _moveStart when noMoveStart option is not set
* Shorten option check
* Fix typo :(
2017-11-17 16:08:26 +01:00
jaymmartin
d6739c20c1
Enable mouse events on multiple canvas renderers ( #5752 )
...
* Enable mouse events on multiple canvas renderers
* Style Fixes
* Define position before using it
2017-11-17 16:06:20 +01:00
Martin Palmér
1d8cc53408
#5921 Remove touch based click tolerance ( #5922 )
2017-11-17 14:36:23 +01:00
Andrew
127c023f18
Merge pull request #5918 from aaronplanell/master
...
Fix function _animateZoom if redirects in the middle of a transition (flyTo)
2017-11-16 19:15:47 +01:00
Aaron Planell Lopez
ceb41bca98
Fix function _animateZoom if redirects in the middle of a transition (flyTo).
2017-11-15 09:21:59 +01:00
iH8
abc3bf3027
Set _tilezoom to undefined instead of null ( #5888 )
...
* Set _tilezoom to undefined instead of null
Set _tilezoom to undefined instead of null
Fix for #5871 https://github.com/Leaflet/Leaflet/issues/5871
* add test
2017-11-13 14:27:52 +01:00
Andrew
a5a8f44ed2
update playground link ( #5910 )
2017-11-11 20:49:29 +01:00
Adel Shah
39245dced0
Updated building instructions ( #5908 ) ( #5911 )
2017-11-11 20:48:45 +01:00
Louis Pierrestiger
e04bb8bb1d
docstrings: renamed Zoom/Pan to zoom/pan ( #5905 )
2017-11-10 09:13:12 +01:00
Andrew
4a10843d8e
Merge pull request #5903 from briannaAndCo/master
...
Added Leaflet.Antimeridian to the plugin list.
2017-11-09 19:57:41 +01:00
landonbj
44e43fd5a8
Added Leaflet.Antimeridian to the plugin list.
2017-11-09 10:35:48 -08:00
Andrew
96164fcff0
Merge pull request #5901 from murb/patch-1
...
add typeof check to checkDeprecatedMixinEvents
2017-11-09 18:43:07 +01:00
Maarten Brouwers
52bd90c27c
add typeof check to checkDeprecatedMixinEvents
...
!L may result in a undefined error when running tests that also touch including a leaflet plugin.
2017-11-09 10:10:41 +01:00
Sandro Pibia
8e32e31ef8
Update plugins.md ( #5862 )
2017-11-01 12:59:49 +01:00
iH8
87f81bcb01
Make editors use source instead of minified ( #5887 )
...
Make editors use source instead of minified
2017-10-31 18:45:34 +01:00
Arne Schubert
875ed3dfe1
Add a link to YAGA leaflet-ng2 demos ( #5889 )
2017-10-31 18:45:02 +01:00
ghybs
cf518ff1a5
Fix(Map): stopLocate on map.remove ( #5893 )
...
so that Geolocation handlers (namely _handleGeolocationResponse and _handleGeolocationError) do not try to access DOM elements which have been cleared by map.remove().
Of course developer should currently call map.stopLocate() manually before map.remove(), but it looks like he/she may forget it.
Check for _locationWatchId is not perfect (watch may have been already stopped), but calling stopLocate again does not harm. It prevents trying to access the Geolocation API if locate had never been called, even though doing so should not harm either.
2017-10-31 17:46:28 +02:00
ghybs
8dbc4fc9d7
Docs(Map): typo on Map Geolocation watch option ( #5894 )
2017-10-31 17:37:49 +02:00
Per Liedman
0bcccb0190
An event target is considered a marker if it has getLatLng and no or small radius ( #5885 )
...
Fixes #5635 .
2017-10-30 19:39:33 +02:00
Alexander Musienko
50b77520b3
Stop animation before destroy map ( #5876 )
...
* Null ref fix:
TypeError: Cannot read property latLngToLayerPoint of null\n at NewClass.update (http://my.uboro.eu/js/vendor/leaflet-1.2.0.js?t=1503882088:7295:23 )\n at NewClass.setLatLng (http://my.uboro.eu/js/vendor/leaflet-1.2.0.js?t=1503882088:7256:8 )\n
* stop animation before destroy map
2017-10-30 19:38:49 +02:00
iH8
f6e1a9be91
Removed trailing spaces ( #5890 )
...
Removed trailing spaces
2017-10-30 16:30:12 +02:00
Per Liedman
c5cbbf8174
Clean up and document event propagation properties ( #5880 )
...
* Add sourceTarget and propagatedFrom to events
Also documents events' target, sourceTarget, propagatedFrom
and layer properties.
Fixes #4510 .
* Use propagatedFrom, which is equivalent of the original code
* propagetedFrom -> propagatedFrom
2017-10-27 16:18:12 +02:00
Evgeniy Voynov
ce1326912e
Added Leaflet.Canvas-Markers plugin ( #5870 )
2017-10-27 14:24:35 +02:00
scaddenp
118edb9a99
Fix for WMS on Leaflet when using Polar stereographic ( #5618 )
...
* Add new method to get NwSe.
Part of fix for https://github.com/Leaflet/Leaflet/issues/5617 for polar WMS systems. Added to bypass using an unsafe bounds object.
* Fix WMS getTileUrl for polar coordinates.
Part of fix for https://github.com/Leaflet/Leaflet/issues/5617 to fetch proper bbox coordinate on polar stereographic projections.
* Update TileLayer.WMS.js
* Update TileLayer.WMS.js
* Update GridLayer.js
* Update GridLayer.js
* Update TileLayer.WMS.js
* Updates to fix syntax/ style issues
Cut/paste error and buch of style stuff.
* Fix style errors
* More style issues
* Yet more style fixes
* More indentation complaints fixed
* Some more code style cleanup
* Even more code style / indentation
* Use bounds
2017-10-27 13:08:35 +02:00
iH8
59d1dea135
Removed master reference and standarized dates ( #5882 )
...
Removed master reference and standarized dates
2017-10-27 12:45:33 +02:00
Per Liedman
ca6aff0295
Add notes to classes which don't inherit Class ( #5878 )
...
* Add note about LatLng not inheriting Class
Fixes #3301 .
* Add note about LatLngBounds, Bounds, Point, CRSs and projections not inheriting Class
2017-10-27 08:27:41 +02:00
Andrew
0f5507d2a7
Add license to route ( #5879 )
2017-10-26 23:30:08 +02:00
Per Liedman
4bbec02d14
Add license to route
...
Fixes #2721 .
2017-10-26 23:16:20 +02:00
Andrew
c64ae48e1a
Merge pull request #5877 from Leaflet/document-custom-options-data
...
Clarify that any option keys can be used
2017-10-26 22:37:33 +02:00
Per Liedman
fb613bcaed
Clarify that any option keys can be used
...
Fixes #4001 .
2017-10-26 22:32:01 +02:00
Per Liedman
d9846d106b
Round pan offset towards zero ( #5858 )
...
* Add Point.trunc/_trunc
* Truncate pan offset instead of flooring
Fixes #5821
2017-10-26 15:35:35 +03:00
Andrew
f83b5347f5
skipIfNotTouch instead of overriding Browser.touch ( #5869 )
2017-10-26 15:34:31 +03:00
Andrew
b5cc500de6
update happen to 0.3.2 - fixes Popup tests in FF and Chrome ( #5872 )
2017-10-26 09:06:13 +02:00
iH8
1681cca369
Redirect to Plunker, Codepen and JSFiddle ( #5868 )
...
* Redirect to Plunker, Codepen and JSFiddle
Redirects to Plunker, Codepen or JSFiddle with corresponding template.
For usage in issuetemplate, issues, StackOverflow etc.
Usage Examples:
http://leafletjs.org/edit.html // Defaults to Plunker using latest
version
http://leafletjs.org/edit.html#provider:codepen;version:1.1.0 // Codepen
with version 1.1.0
http://leafletjs.org/edit.html#provider:jsfiddle;version:master //
JSFiddle with master version.
* To ES5 and file move
To ES5 and file move
2017-10-25 08:53:35 +02:00
Arne Schubert
1595b289ea
Add YAGA leaflet-ng2 plugin ( #5867 )
2017-10-24 19:03:00 +02:00
Andrew
7e5cbceaa5
add icon popupAnchor option test for nonPhantom browsers ( #5865 )
2017-10-23 15:29:28 +02:00
Andrew
919ead4288
add namespace to svg factory ( #5864 )
2017-10-23 12:17:19 +02:00
iH8
14fc98cb52
Options for LayerGroup ( #5792 )
...
* Options for LayerGroup
Add options parameter to L.Layergroup.initialize and set options.
* Options for LayerGroup factory
Added options parameter to LayerGroup factory method and updated docs
2017-10-23 09:16:24 +02:00
Andrew
dd4667db61
Merge pull request #5859 from Leaflet/fix-circle-bounds-calc
...
Round circle radius in renderer instead of layer
2017-10-21 12:47:12 +02:00
Andrew
01f9274768
Merge pull request #5861 from danwild/plugin-leaflet-velocity
...
Add leaflet-velocity to plugin list
2017-10-21 11:13:05 +02:00
Dan Wild
6eb936d03d
Added leaflet-velocity to plugin list
2017-10-21 09:27:50 +11:00
ghybs
47a9df194b
plugins: add Leaflet.ActiveLayers plugin by vogdb ( #5857 )
...
Author already submitted another plugin (Leaflet.SelectLayers) himself some time ago (see commit 18e0061450
)
2017-10-20 14:53:13 +02:00
Per Liedman
a9742e0d4b
Round circle radius in renderer instead of layer
...
Makes bounds calculation more precise and zoom level independant.
Fixes #4582 .
2017-10-20 14:51:48 +02:00
C Ganesh Sundar
38b3fdec80
Update docs for L.DomEvent.off() ( #5855 )
2017-10-20 08:29:21 +02:00
ghybs
4782eace28
Docs(MapPanes): add class names links to panes description ( #5850 )
...
* Docs(MapPanes): explicitly list layer types in overlayPane
"overlayPane" is the default pane for Layers (https://github.com/Leaflet/Leaflet/blob/v1.2.0/src/layer/Layer.js#L36 ), but it is overridden for many sub-classes (Marker, DivOverlay, GridLayer).
It would be easier to understand where things go if we explicitly list them in Map Panes section as well. It is almost the case, except for Image Overlay and Video Overlay.
* Docs(MapPanes): convert tooltip class name into code and hyperlink
for consistency with other class names.
2017-10-19 14:23:53 +02:00
Raymond Duckworth
e63370ab4c
Small typo ( #5849 )
2017-10-19 09:07:55 +02:00
ghybs
c0bc8ffe71
Docs(Download): use proper links for CDN's list ( #5847 )
...
since they are not parsed by GitHub Markdown when used on Leaflet website.
2017-10-17 17:28:52 +03:00
ghybs
8094d607ec
Docs(Download): add CDN alternatives ( #5837 )
...
* Docs(download): mention other CDN
so that developers know their possible alternatives and can decide by themselves which option they want to use for their project.
None of the 3 listed options require any work from Leaflet side (as of today) for new releases, they directly pull updated from npm registry.
cdnjs uses a configuration file in their repo to know which files to fetch from npm registry:
https://github.com/cdnjs/cdnjs/blob/master/ajax/libs/leaflet/package.json
In case the `dist/` folder changes, this configuration file requires manual modification (the community may directly send a PR to do so).
* Docs(download): add disclaimer about external CDN services
in order to try avoiding questions and/or complaints in case of CDN unavailability or any other issue.
2017-10-16 12:09:40 +03:00
Andrew
b54c2d4adf
Fix TileLayer flyTo test ( #5843 )
...
* fix TileLayer flyTo test
* fix linter errors
2017-10-16 09:58:25 +03:00
Andrew
d76e5d0372
fix GridLayer flyTo test ( #5846 )
2017-10-16 09:57:56 +03:00
Maciej Kus
9084c4a8a3
Docs(imagePath): "absolute path" to "path" ( #5835 )
...
This simply removes the word "absolute" from the documentation of Icon.Default.imagePath. This path can be relative or absolute.
e.g. L.Icon.Default.imagePath = 'style/images/'; works just fine for me.
2017-10-11 18:31:45 +03:00
ghybs
5e696a5ba5
Docs(Changelog): fix GitHub URL's to "Leaflet/Leaflet" ( #5836 )
...
* Style(CHANGELOG): remove empty bullet point
* Docs(CHANGELOG): replace "leaflet" by "Leaflet" in GitHub URL's
"https://github.com/leaflet/leaflet " (without capitalized first letter) works as URL, but is not recognized by GitHub MarkDown parser (which simplifies URL's by simple "#XXX" style when referring to an issue or PR in the same repository, or "group/repo#XXX" in another repository).
Proper case is "Leaflet/Leaflet" (organization and project have capitalized first letter).
2017-10-11 09:49:53 +02:00
Moritz
45afd2d462
Add Leaflet Swoopy Plugin ( #5834 )
...
A plugin for creating customizable swoopy arrow annotations.
2017-10-10 12:44:55 +02:00
Andrew
bb1d94ac7f
add space before className ( #5830 )
2017-10-10 12:43:34 +02:00
Andrew
93be1ae0a7
Use zoom parameter if passed ( #5822 )
2017-10-09 18:17:51 +02:00
Andrew
748905cbf5
Fix docs redirects ( #5824 )
...
* use redirected.html instead of jekyll-redirect-from
* modify redirected.html to preserve url hases
* fix links in zoom-levels example
- use relative links instead of absolute
- remove hardcoded version in lins and refer to latest version docs instead
* fix hash in choropleth example
* fix links in geojson example
- use relative links instead of absolute
* fix absolute link in quick-start example
* fix link in video-overlay example
* fix link in map-panes example
* fix link in wms example
* fix link in geojson example
* fix relative reference links
2017-10-05 15:34:04 +02:00
Andrew
c5391e3fbb
reset body margin to avoid scrollbars ( #5823 )
2017-10-04 16:33:04 +02:00
Rajesh Sharma
0f3aed37b9
use zoom parameter if passed
2017-10-04 17:49:40 +05:45
mynameisstephen
d2f6a6cdcd
Fire 'zoomlevelschange' when calling setMinZoom & setMaxZoom. ( #5230 )
...
* Fire 'zoomlevelschange' when calling setMinZoom & setMaxZoom.
* rename variables
* make sure 'zoomlevelschange' won't be fired unnecessarily
* fix enabling zoom control after changing zoom levels
* always fire `zoomlevelschange` if minZoom/maxZoom changed
* remove trailing spaces
2017-10-04 14:02:45 +02:00
Andrew
000f457fcb
Fix map styles in "Extending Leaflet" example ( #5819 )
...
* fix map height in extending example
* add html and body styles to tutorial_frame
* move js styles to css
* remove unnecessary styles from mobile/example.md
2017-10-04 00:04:01 +02:00
daverayment
11cbfa8095
Update DomPointer.js to revert typo ( #5817 )
...
Restore IE-specific pointerType check which was accidentally removed previously. Fixes #5798 .
2017-10-03 16:43:12 +02:00
Fabrizio
d9655a1e9a
Change Util.formatNum default to 6 decimals ( #5492 )
...
* Util.formatNum default to 6
Changed Util.formaNum default to 6 decimails.
Solved 0 decimals bug.
Added tests.
Can be useful for PR #5444
* Changed documentation
Changed documentation to 6 instead of 5
2017-10-02 18:36:59 +02:00
Andrew
78152c9804
Merge pull request #4506 from Leaflet/layer-id-public
...
Switch to public api for getting the layer id in debug
2017-10-01 19:16:45 +02:00
Andrew
3e3f9e89c4
[LayerGroup] Use eachLayer
for iterations over layers ( #5809 )
...
* [LayerGroup] use eachLayer method instead of for...in
* [LayerGroup] use eachLayer method in getLayers method
* [LayerGroup] use eachLayer method in onAdd & onRemove methods
* [LayerGroup] invoke method fix
- use `eachLayer` method instead of for...in
- add unit test for `invoke` method
* revert invoke method change
2017-09-30 16:58:10 +03:00
Andrzej
7e49242aa2
use run
alias instead of run-script
2017-09-29 17:13:44 +03:00
Andrzej
64825cef8f
avoid installing jake globally
...
Jake will be installed along with other devDependencies, so there is no need to install it one more time
2017-09-29 17:13:44 +03:00
Andrew
899bdd43de
Fix zoom when map container is scaled ( #5794 )
...
* fix zoom when container is scaled
* add map-scaled debug page
2017-09-29 17:11:14 +03:00
Michael Siadak
2a324b0b94
Add tileerror tests to GridLayer spec ( #5805 )
2017-09-29 17:04:48 +03:00
iH8
33415fcbab
New rollup config signature ( #5812 )
...
Adapted rollup configurations to new signature., ironed out some minor
inconsistencies between configurations and some syntax cleanup. Fixes
following warnings when running rollup:
(!) Some options have been renamed
https://gist.github.com/Rich-Harris/d472c50732dab03efeb37472b08a3f32
options.entry is now options.input
options.sourceMap is now options.sourcemap
options.dest is now options.output.file
options.format is now options.output.format
2017-09-29 17:01:24 +03:00
Lois
8a433a2272
Update documentation to change Haversines Formula to Spherical Law of… ( #5791 )
...
* Update documentation to change Haversines Formula to Spherical Law of Cosines
* update distance to
* reverse prior change
2017-09-24 12:51:14 +02:00
Arnaud Ferrand
37b9947d5b
Fix typo ( #5793 )
2017-09-21 16:28:21 +02:00
fpopa
e5a3d5ecc3
Correct documentation regarding bringToBack() ( #5788 )
2017-09-20 14:41:32 +02:00
Alexander Musienko
8ae4689a93
Null ref fix: ( #5736 )
...
TypeError: Cannot read property latLngToLayerPoint of null\n at NewClass.update (http://my.uboro.eu/js/vendor/leaflet-1.2.0.js?t=1503882088:7295:23 )\n at NewClass.setLatLng (http://my.uboro.eu/js/vendor/leaflet-1.2.0.js?t=1503882088:7256:8 )\n
2017-09-19 11:46:19 +03:00
Idan Entin
8bd5578860
Fix map not rendering when images has max-height. Fixes #5775 ( #5778 )
2017-09-19 10:03:21 +03:00
Andrew
7d6046709b
Fix TileLayer infinite error loop ( #5783 )
...
* fix eslint errors
* fix errorTileUrl comparison
* fix getting wrong attribute
2017-09-19 10:02:34 +03:00
Andrew
ca6025c8bd
[VideoOverlay] Fix adding css classes ( #5785 )
...
* fix VideoOverlay css classes
* fix eslint errors
2017-09-19 10:01:22 +03:00
CalvinWilliams1012
811cc7cf9c
Comment and changed back width, as I read it wrong
2017-09-12 08:52:06 +03:00
CalvinWilliams1012
b8c1e60424
Changed some examples from viewport length and width to percent.
2017-09-12 08:52:06 +03:00
Per Liedman
f90a55ec20
Adjust details
2017-09-11 20:01:40 +03:00
CalvinWilliams1012
5d0f7ae438
Changed zoom-level documentation to reflect function properly.
2017-09-11 20:01:40 +03:00
sybri
29b64940b8
Add plugins SpeechBubble ( #5768 )
...
* Add plugins
* Correct link
2017-09-11 13:42:34 +02:00
Roberto Soares
79e8bf724c
Add leaflet-offline plugin to the list ( #5722 )
2017-09-01 17:23:03 +02:00
Calvin Williams
b0e216aa54
Updated documentation for pad method to accurately reflect the function. ( #5748 )
2017-09-01 00:27:20 +02:00
Vladimir Agafonkin
88dd22cfe8
upgrade deps, fix indenting ( #5743 )
2017-08-31 08:58:42 +02:00
Sumit Kumar
4e8b30a379
updated features and added demo link ( #5742 )
2017-08-30 16:06:33 +02:00
Guillaume AMAT
6f1e9ce3d8
plugins: Replace the old Overpass plugin by its fork ( #5737 )
2017-08-28 22:10:20 +02:00
Michael Fenwick
0e36b948cd
Feature: optionally allow popups to not close on pressing Esc ( #5730 )
...
* add test for disabled popup ESC key functionality
* add closeOnEscapeKey default option for popup
* add ESC key condition to prevent map.closePopup
* fix variable indentation
* revert unnecessary mapPopup variable back to map._popup
* add 4 spaces of indentation to variables
2017-08-28 16:11:54 +02:00
Per Liedman
a5e03adb45
Store return value from wrapLatLngBounds ( #5715 )
...
Fixes #5536 .
2017-08-28 11:40:47 +03:00
Astrid
14a2e94c9d
Change two links to the GeoJSON Spec, because current links refer to an obsolete version. ( #5725 )
2017-08-28 11:40:11 +03:00
Dzwiedzminator
9b73d0da76
Update VideoOverlay.js ( #5731 )
...
* Update VideoOverlay.js
wrong keyword uses - className should be used instead
found this when testing new leaflet on ie8 - map doesn't load because of this
* Use DomUtil.addClass instead of modifying el.className
2017-08-28 11:38:56 +03:00
Andris Nolendorfs
819f1722af
Docstrings: Add event type DomEvent.stop ( #5733 )
2017-08-25 10:01:03 +02:00
Javier Jimenez Shaw
cbb89c1300
plugins: add Leaflet.Control.Layers.Tree ( #5721 )
2017-08-18 15:37:56 +02:00
James Collins
7730948cab
Cancel http requests for outdated tiles ( #5615 )
...
* Cancel http requets for outdated tiles
* Don't cancel requests on stock android (see #137 )
2017-08-15 17:46:28 +02:00
Per Liedman
c78e5583e0
Use same condition for adding as well as removing double tap listener ( #5598 )
...
Fixes #5588
2017-08-15 14:53:39 +02:00
Per Liedman
fe3a340f1c
Remove warning alert in watch bundle ( #5714 )
2017-08-15 11:39:53 +02:00
Miguel Magalhães
d54ec5f04a
Update LICENSE ( #5713 )
...
Update year range to 2017
2017-08-15 07:59:14 +02:00
Javier Jimenez Shaw
a03f41b296
doc wms: replace http://demo.opengeo.org/ with https://demo.boundlessgeo.com/ ( #5712 )
2017-08-14 11:29:53 +02:00
Per Liedman
1491de5acd
Add documentation for PolyLine.closestLayerPoint ( #5701 )
2017-08-11 10:32:29 -07:00
Dave Leaver
5ce473bab6
Merge pull request #5709 from theashyster/fix-docs-spelling
...
Fix issues with spelling in documentation
2017-08-11 19:23:07 +12:00
Andris Nolendorfs
64992d233e
Fixed a couple of issues with spelling in documentation
2017-08-11 10:15:12 +03:00
Jack Reed
147d86a203
adds leaflet-solr-heatmap to plugin directory ( #5707 )
2017-08-10 20:27:43 -07:00
Per Liedman
f1c37ac9a6
Add step to release checklist
2017-08-10 14:34:01 +02:00
Per Liedman
b9c066af4c
Switch download link to version 1.2.0
2017-08-10 14:31:19 +02:00
Alessandro
5228a62a1c
feat(Marker.Drag): autoPan implementation ( #5651 )
...
* feat(Marker.Drag): autoPan implementation
* Adjust autoPanSpeed to 10
* Add tests for marker drag
2017-08-09 14:18:13 +02:00
Per Liedman
b7cbcb39b8
No inertia if drag is stopped before ending the drag ( #5690 )
...
Fixes #5652 .
2017-08-09 14:16:06 +02:00
Javier Jimenez Shaw
411ffcced9
'issue' does not work on github links, it is 'issues' ( #5698 )
2017-08-09 09:06:01 +02:00
Yohan Boniface
c63b014ff0
Merge pull request #5697 from jjimenezshaw/wrong-date-doc-index
...
Wrong release date leafletjs.com
2017-08-08 19:25:10 +02:00
Javier Jimenez Shaw
d6b05fa1ed
fix release date 1.2.0
2017-08-08 19:15:18 +02:00
Oliver Heilig
2dc2e3e1fd
Fix Missing Tiles Error #5381 While Maintaining Zoom Experience #5622 ( #5634 )
...
* Revert "On update set current tiles active to avoid pruning (#5381 ) (#5431 )"
This reverts commit 1318b999ef
.
* deleting incomplete tiles from _tiles collection
2017-08-08 16:38:34 +02:00
Per Liedman
5223528fcd
[Plz merge] Release 1.2.0 ( #5688 )
...
* Add documentation on how to do a release
* Preliminary changelog for next release
* Preliminary blog post
* Modify version to 1.2.0
* Update changelog
* Add 1.2.0 reference
* Point to 1.2.0 docs
* Update hashes and latest version
* Update latest news
* Add 1.2.0 release date
2017-08-08 16:13:09 +02:00
Per Liedman
969add49a9
Bump version to 1.2.0
2017-08-08 15:46:32 +02:00
Jonathan Dumaine
f04d7a5fac
Fix typo in docs/examples/zoom-levels ( #5695 )
...
"A leaflet map has a several ways"
2017-08-08 08:30:47 +02:00
Gherardo Varando
b51dfa3d61
Leaflet-CsvTiles plugin added to list ( #5679 )
2017-08-06 14:08:38 +02:00
Javier Jimenez Shaw
3803b090d4
add 'overflow-x: hidden' to .leaflet-control-layers-scrollbar ( #5691 )
2017-08-06 14:06:21 +02:00
john gravois
567f13a1a8
ensure copyright banner survives minification ( #5682 )
2017-08-06 10:47:25 +02:00
Per Liedman
54ce147f3d
Throw if argument to addLayer is not actually a layer ( #5689 )
...
Fixes #5225 .
2017-08-06 08:36:10 +02:00
ronikar
ce107a9f1b
enable to pass simple array to the method setBounds ( #5687 )
2017-08-05 15:50:48 +02:00
Javier Jimenez Shaw
2dbda53cc3
remove comment in Control.Layers.js: TODO keyboard accessibility ( #5684 )
2017-08-03 15:36:57 +02:00
Javier Jimenez Shaw
50705e1f0d
remove changes from PR #2171 ( #5673 )
2017-07-31 09:24:14 +02:00
Javier Jimenez Shaw
922593addb
When a layer is repeated in Control.Layers, behavior is not consistent. ( #5672 )
...
* Check if the map has a layer after layers removal, not before.
* fix wrong layer to add
* do symetric code with removedLayers and addedLayers
* add unit test for repeated layers
2017-07-31 09:20:40 +02:00
Eyal Avidan
0d36e46dc6
VideoOverlay accept VideoElement ( #5661 )
...
* VideoOverlay accept VideoElement
Added the ability to pass an existing element, to support better integration with other libraries such as DashJS, and more customability in general.
Also, fixed some wrong documentation regarding VideoOverlay.
* Fix typo
2017-07-30 00:14:45 +02:00
Yohan Boniface
b675753422
Make L.LineUtil._flat public as L.LineUtil.isFlat ( #5667 )
...
Also, keep retrocompat for both L.LineUtil._flat and
L.Polyline._flat (<1.1).
2017-07-29 23:47:17 +02:00
ghybs
b090e88498
Docs(TileLayer): workaround leafdoc issue with @ symbol ( #5669 )
...
when used as a comment in docstring instead of as a directive start.
Simply replaced by "@" as a workaround for now.
2017-07-29 15:59:25 +02:00
Per Liedman
0a6c500e58
Add test for extending L namespace
2017-07-27 11:03:52 +03:00
Vladimir Agafonkin
957f05da23
fix non-extendable objects regression of 1.1.0
...
Closes #5650 until we figure out a less hacky solution.
2017-07-27 11:03:51 +03:00
Yohan Boniface
eb9572800d
Make L.Draggable._dragging "public" again ( #5659 )
...
To make Leaflet.Editable happy
See https://github.com/Leaflet/Leaflet.Editable/issues/130
2017-07-24 16:46:32 +03:00
will Farrell
887ad7dad3
Add Leaflet.Clipper Plugin ( #5654 )
2017-07-24 16:38:33 +03:00
songyumeng
b76400ceb6
Plugins: add SuperMap Leaflet ( #5637 )
...
* Plugins: add SuperMap iClient
* Plugins: add SuperMap Leaflet
2017-07-24 10:41:19 +02:00
Javier Jimenez Shaw
67e7114e00
Add plugin Leaflet.UTM to doc ( #5633 )
...
* add plugin Leaflet.UTM
* no dependencies
2017-07-18 17:25:57 +03:00
Bogdan Chadkin
b343cf7a58
Filter published files on npm ( #5626 )
...
* Filter published files on npm
For now not gzipped leaflet package is 23mb. There's weird 4mb file `.goutputstream-N6HL8X` and a lot other stuff which increases node_modules size. `files` field can fix this with specified whitelist.
* Remove npmignore
2017-07-18 17:25:28 +03:00
Brendan Ward
e446e45ea5
Add plugin: Leaflet.UTFGrid ( #5639 )
...
* Add Leaflet.UTFGrid
* fix demo link
2017-07-18 17:23:58 +03:00
ghybs
b5adde433e
Merge pull request #5631 from thachhoang/debug-videooverlay
...
Remove reference to deps.js in L.VideoOverlay debug example
2017-07-15 06:37:48 +04:00
Thach Hoang
96fd15450b
Remove reference to deps.js in L.VideoOverlay debug example
2017-07-14 21:46:42 -04:00
Kaveh
29d49bca1b
Adds Leaflet.HtmlLegend to docs/plugins.md ( #5628 )
...
* Adds Leaflet.HtmlLegend to docs/plugins.md
* Adds link to demo.
2017-07-14 12:26:15 +02:00
Grigory Golikov
4ba642be78
Add Leaflet.River to plugins list ( #5616 )
2017-07-09 20:26:10 +02:00
Colby Rogness
caab168894
docs(quick-start): add warning to place CSS before JS to quick start example ( #5610 ) ( #5614 )
2017-07-09 11:00:30 +02:00
PPete
900e4a740d
new Demo-Urls of plugin ( #5612 )
...
* Update plugins.md
* Update plugins.md
2017-07-07 23:51:35 +02:00
Sven
170bdc8075
GeoJSON remark about the reversed coords ( #5604 )
...
* GeoJSON remark about the reversed coords
oh man, that took me a while of debugging
* Reword sentence on coordinate axis order somewhat
2017-07-05 09:34:14 +02:00
Tim
54a87e0902
addTo() can be called with a map or layer group. ( #5600 )
2017-07-03 11:18:02 +02:00
Tim
44122b632e
LayerGroup parameter is optional ( #5599 )
2017-07-03 11:10:14 +02:00
jelhan
7a73e1d140
Fix(DomEvent): DomEvent.off should return this ( #5601 )
...
Was broken by 14c5f1602c
.
2017-07-03 10:47:11 +02:00
ghybs
241fb56701
Docstring(GridLayer): more explicit updateWhenIdle option ( #5577 )
...
* Docs(GridLayer): more explicit updateWhenIdle option
description, because "for better performance" is quite generic and might be understood in very different manners depending on the reader's point of view.
* Docs(GridLayer): improve updateWhenIdle option explanation
as per Perliedman's proposal.
2017-06-30 00:28:03 +02:00
Arne Schubert
748f65f119
Prevent using functions from the global scope with es6 ( #5596 )
...
* Prevent using functions from the global scope with es6
* check against static _dragging as requested by perliedman
2017-06-29 22:29:03 +02:00
Egon Steiner
d30f7aad35
return this instead of addOne in disableScrollPropagation ( #5595 )
2017-06-29 11:55:16 +02:00
cyrilf
0688693d3b
Whitelist the jekyll-redirect-from ( #5592 )
2017-06-28 16:34:40 +02:00
ghybs
e02cb22bb8
Docs(ref-103): attempt to fix GitHub 404 error ( #5587 )
...
on reference-1.0.3.html page, for unknown reason?
See https://github.com/Leaflet/Leaflet/issues/5585
Using a dummy modification on the page, hopefully it might re-trigger a proper Jekyll build on that page?
2017-06-27 20:38:09 +02:00
Iván Sánchez Ortega
11d716f096
Fix headers for 1.1.0 docs
2017-06-27 15:03:58 +02:00
Iván Sánchez Ortega
90ac1a2077
Update some links to the 1.1.0 docs ( #5586 )
2017-06-27 15:00:25 +02:00
Per Liedman
28617f5b9b
Update stable download for 1.1.0
2017-06-27 14:36:38 +02:00
ghybs
4a0bfb6e5e
Docs(Popup+Tooltip): fix typo in bindPopup & bindTooltip ( #5578 )
...
methods description.
2017-06-27 14:17:24 +02:00
Per Liedman
f59d20d583
Fix post date
2017-06-27 13:46:43 +02:00
Per Liedman
a05c69135d
Update news on index page
2017-06-27 13:45:34 +02:00
Per Liedman
ca540211e3
Blog post about 1.1.0 ( #5581 )
...
* Bump version to 1.1.0
* Blog post about 1.1.0
* Fix description
* Fix punctuation
* Update integrity hashes
* Set release date for 1.1.0
* Add reference for 1.1.0
* Point reference.html to docs for 1.1.0
2017-06-27 13:39:25 +02:00
Iván Sánchez Ortega
3fae3befd3
Actually assign the replaced path for the default icon ( #5580 )
2017-06-26 12:03:51 +02:00
Per Liedman
35e7c4b7f7
Changelog for 1.1.0 ( #5518 )
...
* WIP changelog for 1.1.0
* Fixup: missing parenthesis
* Fix broken issue links
* Fix links for 5302/5303
* Typos and missing refs in 1.1.0 changelog
* Update with changes since 2017-05-19
* Add changes since 2017-06-02
2017-06-26 11:10:04 +02:00
ghybs
d6fc47d70e
Fix(DivIcon): revert #5517 to avoid appending a single node instead of generating content ( #5574 )
...
* Docs(Marker): explain checks for re-using icon element
when the marker is modified with an icon of the same type (i.e. an image icon with an image icon, or a DivIcon with a DivIcon), or checks for NOT re-using the icon element when modifying with an icon of a different type (i.e. an image icon with a DivIcon, or the reverse).
* Revert "Div icon accept node element as option (#5517 )"
This reverts commit ba7bfb5011
.
Conflicts:
spec/suites/layer/marker/MarkerSpec.js
2017-06-25 14:11:57 +02:00
Per Liedman
a3ec8047b3
Add className option for ImageOverlay ( #5555 )
2017-06-22 16:25:15 +02:00
ghybs
6bfa764cb0
Docstrings(Map/Grid+TileLayer): improve minZoom and maxZoom explanations ( #5573 )
...
* Docs(Map/Grid+TileLayer): improve minZoom and maxZoom explanations
so that it is more explicit how Map's options may get automatically computed from its Grid/Tile layers, and what is the exact effect of these options on Grid/Tile layers.
* Docs(Map/Grid+TileLayer): use "inclusive"
instead of "included".
https://en.wiktionary.org/wiki/inclusive
2017-06-22 09:14:32 +02:00
Iván Sánchez Ortega
90a8d88460
Tutorials: rewrite the paragraph about the mapbox map IDs, hopefully it reads easier now. ( #5572 )
2017-06-21 12:36:12 +02:00
Raymond Berger
bbd74eda12
Docstrincs: bad link in Control.Layers.js ( #5568 )
...
Fixed link from http://leafletjs.com/examples/layers-control.html to http://leafletjs.com/examples/layers-control/
See:
https://github.com/Leaflet/Leaflet/issues/5567#issuecomment-309739782
2017-06-20 14:52:02 +02:00
Stuart Matthews
3f68479e3c
Add Leaflet.NonTiledLayer.WCS to plugins.md ( #5564 )
...
* Add Leaflet.NonTiledLayer.WCS to plugins.md
* Typo
* Typo
2017-06-16 12:49:03 +02:00
Stuart Matthews
eff87f871c
Plugins: Add leaflet-geotiff ( #5563 )
2017-06-16 12:48:14 +02:00
Manuel Baclet
4cb2be6380
Update demo link (and make it generic) ( #5559 )
2017-06-13 11:26:31 +02:00
Jacob Wasilkowski
cdc20a3d84
Added Leaflet.Canvas-Flowmap-Layer to plugins list ( #5474 )
...
* added Leaflet.Canvas-Flowmap-Layer
to plugin docs in DataViz section
* Update plugins.md
2017-06-10 16:03:40 +02:00
Per Liedman
2fee08b234
Icon doesn't really inherit from Layer
2017-06-08 15:18:08 +02:00
Jon
162276e8fe
Add UK Ordinance Survey grid squares plugin ( #5530 )
...
* Add UK Ordinance Survey grid squares plugin
* Update plugins.md
Change link to repo not readme file
2017-06-05 10:45:25 +02:00
Damian Moore
60e1965e33
Use minus character instead of hyphen in the zoom control ( #5501 )
...
* Using proper minus character in the zoom control which means CSS workaround isn't needed
* Using HTML escaping of unicode minus character for added browser support
2017-06-04 12:56:23 +02:00
Manuel Baclet
652946947d
Plugins: Add a demo link to PixiOverlay ( #5547 )
2017-06-02 13:05:02 +02:00
Manuel Baclet
81c2724288
Plugins: Add Leaflet.PixiOverlay ( #5546 )
2017-06-02 12:32:30 +02:00
Per Liedman
b23d83f464
Don't turn enter keypress into clicks on map ( #5507 )
...
* Don't turn enter keypress into clicks on map
But still preserve functionality to open marker's popup through
enter keypress when focused.
Fixes #5499 .
* Clean code
Thanks @egoroof
* Change name of keypress handler to _onKeyPress
* Add unit test
2017-06-02 11:18:46 +02:00
Stephen Ham
d78dc21209
Update plugins.md ( #5545 )
...
Fixed grammar & capitalization errors on line #3803 to "not required by all Leaflet users" from "not required by all of Leaflet users" and to "JavaScript" from "javascript".
2017-06-02 10:46:07 +02:00
Chris Williams
0b9464f017
Fixes #5534 by adding a check for null. ( #5535 )
2017-06-01 17:20:08 +02:00
iZucken
da2c8ef2db
Fix for issue #5116 ( #5544 )
...
* Fix for issue #5116
As this filters out custom inputs created from property names (supposedly using innerHTML), they still will become unusable whenever _update() is fired on control.
I believe that this is a different issue coming from design of a module.
* Followup fix for #5116
2017-06-01 16:26:19 +02:00
Matt Grande
1120c46ed9
Add precision parameter to all toGeoJSON functions ( #5444 )
...
* Add precision parameter to all toGeoJSON functions
* Replace usage of toPrecision with Utils.formatNum
* Always default to six decimal places
* Fix docs
* Allow precision of 0
2017-05-31 14:06:58 +02:00
Javier Jimenez Shaw
4f5fef2a56
docstrings: Typo in Projection.LonLat.js ( #5532 )
2017-05-26 09:44:14 +02:00
ghybs
f66d13976a
Docs(Marker): modify icon option description ( #5529 )
...
* Docs(Marker): modify icon option description
To explain that a _common_ / generic instance of `L.Icon.Default` is used, instead of leaving room to think that a _new instance_ of `L.Icon.Default` is created for every Marker without specified `icon` option.
See https://github.com/Leaflet/Leaflet.markercluster/issues/786#issuecomment-302893446
* Docs(Marker): replace icon class by instance
it actually needs a proper _instance_ of `L.Icon`, not a "class".
2017-05-24 11:03:00 +02:00
Igor Vladyka
7fef7964b8
Plugins: Added L.Browser.Print ( #5526 )
2017-05-23 11:58:43 +02:00
Hinrich
fca7f71aad
Plugins: Add Leaflet.Tilelayer.Colorizr ( #5525 )
2017-05-22 13:54:16 +02:00
john gravois
bcaa716f16
dont new up layerGroup in live sample ( #5521 )
2017-05-22 12:34:53 +02:00
MGMsystems
ba7bfb5011
Div icon accept node element as option ( #5517 )
...
* Added option to allow DOM elements inside a DIV icon
* Removed white line
* Adapted so that the dom element can be passed with the html option
* Update DivIcon.js
Changed documentation to state HTMLElement
2017-05-22 09:57:21 +02:00
Klaus Stein
165b2ff1c0
Add Easymap to plugin list ( #5522 )
...
Does not totally fit in this subsection but I did not want to create a new section for this.
2017-05-22 08:38:11 +02:00
Hinrich
d2c6bed2ff
Small typo in PLUGIN-GUIDE.md ( #5524 )
...
Fixed a small typo
2017-05-21 23:18:30 +02:00
Víctor Velarde
cdbbfb8de3
Plugins: add Leaflet.CanvasLayer.Field ( #5523 )
2017-05-21 17:09:12 +02:00
Elijah Robison
78ac6eb624
Plugins: add L.Control.ZoomBar
...
Added Interactive pan/zoom entry for L.Control.ZoomBar.
2017-05-19 19:20:20 +02:00
Iván Sánchez Ortega
d664bbd493
Plugins: add GLMarkers
2017-05-18 15:14:39 +02:00
Iván Sánchez Ortega
7a068122c7
Turn nonBubblingEvents into a documented boolean option ( #4883 )
...
* Turn nonBubblingEvents into a documented boolean option
* Update var names after rebase
2017-05-18 11:14:27 +02:00
Per Liedman
942e1df2b8
Always export window.L; fixes #5489 ( #5504 )
2017-05-18 10:28:14 +02:00
Stöger Florian D. M
f049129868
ce ( #5513 )
2017-05-15 09:43:04 +02:00
gokertanrisever
583358c86c
Plugins: add Leaflet-ruler
2017-05-12 10:23:19 +02:00
Iván Sánchez Ortega
873d4cab31
Handle edge case of empty bounds on _getBoundsCenterZoom ( #5157 )
...
* Handle edge case of empty bounds on _getBoundsCenterZoom
* Unit test for map._getBoundsCenterZoom
2017-05-11 22:33:46 +02:00
ghybs
f677f9c6d2
Feat(Bounds): add new methods for 2 missing corners ( #5488 )
...
* Feat(Bounds): add getTopLeft & getBottomRight methods
as suggested in #5475 , for consistency with `LatLngBounds` methods which already provide methods for the 4 possible corners.
Also include the docstrings.
* Docs(Bounds): add comments to identify corners
in BoundsSpec.
* Test(Bounds): add tests for existing corner methods
namely getBottomLeft and getTopRight.
Checked that expecting different values make the tests fail.
* Test(Bounds): add spec for 2 new corner methods
namely getTopLeft and getBottomRight.
Closes #5475 together with previous PR #5487 .
* Refactor(Bounds): return this.min(max) instead of new Point
as TopLeft corner is tha same as this.min (BottomRight same as this.max).
* Docs(Bounds): add links to this.min(max)
to make it clearer that these methods are just shorthands to already available properties.
Furthermore, it implies that they output those properties directly, making a clue for the app developer that if he/she wants to modify them, they should be cloned before doing so in order to prevent unintentional behaviour.
2017-05-11 22:24:15 +02:00
ghybs
2ff69debc6
Docs(Bounds): change topLeft/bottomRight to corner1/2 ( #5487 )
...
as suggested in issue #5475 .
The actual relative position of the given corners do not matter for the factory / constructor current functionality: it just determines the min/max coordinate values.
2017-05-11 22:22:00 +02:00
Per Liedman
c7cc70f2a5
Fix link to reference.html; close #5485
2017-05-11 22:10:10 +02:00
Per Liedman
276d6df153
Update copyright banner to the fact that it's in fact 2017 now ( #5503 )
2017-05-10 10:04:18 +02:00
Noah Veltman
ecc2c680d6
Fixing quick start link in docs root ( #5500 )
2017-05-05 14:56:08 +02:00
alyhegazy
b6d21653fa
replace symlink with redirect ( #5493 )
2017-05-04 16:36:43 +02:00
Per Liedman
222bc47a0d
Handle Polylines with empty array of LatLngs ( #5498 )
...
Fixes #5497
2017-05-04 10:05:15 +02:00
Dan
4a65730087
leaflet-geopackage plugin added ( #5495 )
...
Added the leaflet-geopackage plugin to the Overlay data formats section
2017-05-04 08:31:20 +02:00
Iván Sánchez Ortega
e9cc3a3d73
Symlink reference.html to reference-1.0.3.html ( #5490 )
2017-05-02 12:49:40 +02:00
Iván Sánchez Ortega
66cf6a0ea1
Take devicePixelRatio into account for scrollwheel zoom in win10+chrome ( #5480 )
2017-04-27 16:47:11 +02:00
Iván Sánchez Ortega
b19893c9ba
Add hook points to allow for a proper NoGap plugin ( #5476 )
2017-04-27 15:38:55 +02:00
Massimiliano Caniparoli
bd7cf8a265
Correct Here Maps URL ( #5482 )
2017-04-26 16:37:15 +02:00
Iván Sánchez Ortega
7e1740ecdf
Better sanity checks for avoiding loading infinite tiles ( #5479 )
...
* Sanity check to prevent loading tiles when bounds are `Infinity`
* Make linter happy
* Better sanity checks for avoiding loading infinite tiles
* typo
2017-04-25 15:00:47 +02:00
Iván Sánchez Ortega
6d6b07612e
Sanity check to prevent loading tiles when bounds are Infinity
( #5478 )
...
* Sanity check to prevent loading tiles when bounds are `Infinity`
* Make linter happy
2017-04-25 14:31:27 +02:00
Patrick Paskaris
8e96ac476d
Fix box zoom race condition ( #5452 )
...
* Fix box zoom race condition
The deferred call to `_resetState` can interrupt the next box zoom if
the user initiates it before the timeout fires. This causes the mouse
move handler to create a second box zoom element, orphaning the first
one and leaving it in the DOM.
* Extract duplicate code into private method
2017-04-20 15:57:17 +02:00
Oliver Heilig
1318b999ef
On update set current tiles active to avoid pruning ( #5381 ) ( #5431 )
...
* On update set current tiles active to avoid pruning (#5381 )
* fix for missing tiles - without flickering (#5381 )
2017-04-20 14:19:26 +02:00
Gherardo Varando
41a4af9f44
leaflet-map-builder plugin added ( #5445 )
...
leaflet-map-builder plugin added in Frameworks and build systems section
2017-04-20 12:46:21 +02:00
Luis Camacho
b9df865730
make L.Mixin.Events a simple object instead of a prototype so it doesn't have a 'constructor' property. fixes #5451 ( #5453 )
2017-04-20 12:45:33 +02:00
Guillaume P
ac05f68a39
Canvas: call ctx.setLineDash in _fillStroke ( #5454 )
...
* Canvas: call ctx.setLineDash in _fillStroke
This make dashArray working properly for cirles.
fix #5182
* Debug: add dashed circle example
* Debug: add simple example reproducing #5182
2017-04-20 12:41:26 +02:00
Luis Camacho
ff72181b52
Fix __super__ by not copying it from the parent when subclassing ( #5456 )
2017-04-20 12:39:49 +02:00
Mstislav Zhivodkov
cbaf02034c
Remove global L usage ( #5463 )
2017-04-20 12:38:28 +02:00
Iván Sánchez Ortega
561b7f737b
Add subresource integrity information & scripts ( #5468 )
...
* Add subresource integrity information & scripts
* Include the integrity hashes in all tutorials also
* Change wording of one of the build scripts
2017-04-19 14:56:14 +02:00
Per Liedman
da4e6c1c5e
Only rearrange DOM in toFront/toBack if needed ( #5465 )
...
Addresses problem where Internet Explorer re-fires mouseover if
the element is re-appended to the DOM.
Fixes #4050 .
2017-04-18 16:09:19 +02:00
Mirodil
458b7177b2
Push back keyboard navigation order of L.Popup's close button ( #5461 )
...
* Web accessibility
so tabbing through the page make the link(in the popup) to the first entry focussed before the 'x' for close
* remove spaces
2017-04-18 15:12:00 +02:00
Dave Leaver
c06db46191
Merge pull request #5462 from gatsbimantico/issue5118
...
Issue #5118 Fix documentation for method setZoom
2017-04-18 09:58:46 +12:00
gatsbimantico
cc4dce13d0
Issue #5118 Fix documentation for method setZoom
2017-04-17 19:17:33 +01:00
Isaac Besora Vilardaga
c0b6915bc6
Added the quatree plugin ( #5450 )
2017-04-12 11:14:40 +02:00
Richard Littauer
e5b245fc95
Add other h2 headers to ToC ( #5448 )
...
This adds the other secondary headers in the Contributing document to the Table of Contents at the top. I have kept the depth at what it was - this just adjusts the oversight of other sections.
2017-04-12 11:12:41 +02:00
Per Liedman
013198c9e2
Change copyright year from 2015 to 2017 ( #5433 )
2017-04-07 13:34:14 +03:00
qjas
3e000fbe9d
Remove spurious check in DomUtil.preventOutline ( #5435 )
...
The codes first execute "element.tabIndex"(show that element is not
NULL), then execute "!element" in the condition of if stmt(check whether
the element is NULL or not). It is a contradiction.
I think since the element must not be NULL(otherwise the execution of
"element.tabIndex" would be wrong) when the while stmt finishes, the
next if stmt doesn't need to check the element like "!element" again.
Checking the element.style is already enough. So remove the "!element".
2017-04-05 12:12:56 +02:00
Iván Sánchez Ortega
61ff641951
Add new class L.VideoOverlay ( #4988 )
...
* Add VideoOverlay class based on ImageOverlay
* Make linter happy
* Move VideoOverlay include to layer/index
* Fix mapbox tokens
2017-04-04 22:45:09 +02:00
Iván Sánchez Ortega
79ab486dde
WIP: Tutorial about zooming. ( #5007 )
...
* Add tutorial about zooming.
* Punctuation fixes
2017-04-04 22:04:46 +02:00
Dan Turkel
b80b2e4f99
Escape html elements inside code sample ( #5432 )
...
The markup renderer will still literally render html tags inside "pre" and "code" unless they're escaped. The result was that the example code would be rendered as:
var baseMaps = {
"Grayscale": grayscale,
"Streets": streets
};
rather than
var baseMaps = {
"<span style='color: gray'>Grayscale</span>": grayscale,
"Streets": streets
};
because the "Grayscale" text would be literally styled as a span with gray color, and then recolored by the syntax highlighter.
Escaping the span tags fixes this.
2017-04-04 21:31:36 +02:00
Per Liedman
0abc67fdae
Suggest stackoverflow or gis stackexchange for asking questions
...
Fixes #5430 .
2017-04-03 15:05:01 +02:00
Dave Leaver
c758d18fa2
Merge pull request #5426 from jgravois/patch-1
...
add jsdoc for DomUtil.TRANSITION_END
2017-03-31 13:44:00 +13:00
john gravois
48a76bc6fd
jsdoc DomUtil.TRANSITION_END
2017-03-30 17:34:51 -07:00
Bert Spaan
9baeb34dae
Added Leaflet.GeotagPhoto to list of plugins ( #5424 )
...
* Added Leaflet.GeotagPhoto
* removed "Leaflet"
2017-03-29 15:23:14 +02:00
Iván Sánchez Ortega
28a0adc132
Ensure renderer's container is init'ed when a path is added to map ( #5404 )
2017-03-29 09:52:43 +02:00
Dave Leaver
27263b7afa
Control.Layers: Only add layer events to layers when we are on the map. Fixes #5421 ( #5422 )
2017-03-28 23:10:29 +02:00
Tom Salisbury
96cfdd3a3d
Added z-index support to ImageOverlay ( #5418 )
2017-03-28 10:54:24 +02:00
Tom Salisbury
8278ed393d
Added error event to ImageOverlay layer and added tests for the new ( #5416 )
...
event and existing error handling. Also added missing
documentation for the load event.
2017-03-28 08:54:26 +02:00
Thach Hoang
0d1eae32be
Fix debug examples after rollup ( #5417 )
...
Fix #5373 .
- Remove references to removed file "../../build/deps.js"
- Update leaflet-include.js to point to "../dist/leaflet-src.js"
- Update watch to use the same destination file as rollup (dist/leaflet-src.js)
- Define getRandomLatLng where used
2017-03-28 08:40:48 +02:00
ghybs
06ed42ad2c
Docstrings: LayerGroup.hasLayer add method call with id ( #5411 )
...
With the current `hasLayer` code, we can call this method by passing the `_leaflet_id` and get the same result as passing the corresponding layer object.
Added the alternative method call, as done for `removeLayer` method.
2017-03-27 09:35:05 +02:00
Dave Leaver
f044a45477
Fixing english
2017-03-27 13:14:09 +13:00
geografa
ca288ddc07
makes gender neutral ( #5405 )
2017-03-23 00:15:20 +02:00
Yuzo Matsuzawa
edaedb6f56
Add Leaflet.TileLayer.ColorPicker to plugins list ( #5398 )
...
Leaflet.TileLayer.ColoPicker adds getColor(latLng) to TileLayer. It will be useful when you just want to pick a color (or elevation encoded as color) from displaying tile.
color picker demo: <https://frogcat.github.io/leaflet-tilelayer-colorpicker/ >
elevation picker demo: <https://frogcat.github.io/leaflet-tilelayer-colorpicker/mapbox-terrain-rgb.html >
2017-03-21 09:33:32 +01:00
PPete
087d14170f
Plugins: add "Leaflet.PolylineMeasure" ( #5394 )
...
* Update plugins.md
* Update plugins.md
* Update plugins.md
2017-03-20 10:05:46 +01:00
BjoernSchilberg
94fff4f101
Use "yarn global add" ( #5379 )
...
Use "yarn global add" instead of "yarn install -g". Because "yarn install" is used to install all dependencies for a project [1]. "yarn global" install packages globally on your operating system [2].
[1] https://yarnpkg.com/en/docs/cli/install
[2] https://yarnpkg.com/en/docs/cli/global
2017-03-08 13:36:58 -08:00
Per Liedman
d3c7ed13ad
Stop map on drag start instead of pointer down ( #5378 )
...
* Stop map on drag start instead of pointer down; fix #5350
* Remove unused _onDown event handler
2017-03-08 15:41:02 +01:00
geoloep
25014b8825
Plugins: Add Leaflet.ClickTolerance ( #5374 )
2017-03-07 12:24:04 +01:00
Per Liedman
c18ac11efb
Include L.Mixin.Events again; add deprecation notice ( #5365 )
...
Close #5358
2017-03-07 09:53:24 +01:00
Anant Prakash
da1a89871d
Error handler in ImageOverlay for 404 links ( #5307 )
...
* Added Error handler in L.ImageOverlay._initImage
* fixed syntax
2017-03-02 13:28:52 +01:00
Lewis Christie
0ed260c847
fix invalid geoJSON produced by nested LayerGroups ( #5359 )
2017-03-02 13:21:56 +01:00
8to5Developer
3b4dcbcd2b
Plugins: add leaftlet-custom-searchbox ( #5363 )
...
Extended the "search & popup" section with the details of the new "leaftlet-custom-searchbox" plugin.
2017-03-01 10:10:59 +01:00
Billy Newman
364bc77735
Update toolbar inner border radius ( #5361 )
...
Flatten toolbar inner border radius to match grey outline on touch devices (L.Browser.touch = true). fixes #5360
2017-02-27 16:42:16 +01:00
Iván Sánchez Ortega
7c17df5d58
Minor formatting of the issue template, update doc link to 1.0.3
2017-02-24 10:32:44 +01:00
Iván Sánchez Ortega
01e0640335
Docstrings: recover lost docstring for L.Util.lastId ( #5352 )
2017-02-21 14:52:17 +01:00
ghybs
9e4f79d1e5
Fix( #5328 ): Layers Control can now become scrollable even if collapsed: false ( #5348 )
...
* Fix(#5328 ): Layers Control scrollable even if collapsed: false
the `expand()` method was called only when expanding the Layers Control through user action.
In the case of option `collapsed: false`, no event listener is attached (no user action expected to expand), therefore the control height is no longer adjusted compared to map container's height, whereas the only time it is done is at initialization, when the control is not yet inserted into the DOM, hence it does not have an actual height to check against.
Therefore added a hook on `addTo()` in order to run `expand()` AFTER the control has been insterted into the DOM.
The same issue happens when later adding more base layers / overlays to the Layers Control: it not collapsed, we should run again the height check (e.g. through the `expand()` method) to make sure we make it scrollable if necessary.
Therefore called `expand()` after each `_addLayer()`.
Actually checking first if the control is on map and if option `collapsed: false` in order to prevent calling `expand()` for nothing.
* Test(ControlLayers): 2 tests for collapsed: false being scrollable
(for issue #5328 ).
CAUTION: unlike most other tests, had to actually insert the map container into the DOM (i.e. `document.body`) for these tests to be useful, otherwise the height remains at 0.
This may lead to memory leak and tests hanging if done on too many tests (see Leaflet.markercluster tests issue, e.g. https://github.com/Leaflet/Leaflet.markercluster/pull/577 )
2017-02-21 14:33:01 +01:00
Dave Leaver
bd957ad32f
Have uglifyjs spit out a sourcemap for leaflet.js too. ( #5351 )
...
* Have uglifyjs spit out a sourcemap for leaflet.js too.
Fixes #5341
* Fix incorrect source map file when publishing a release and add the new one too.
2017-02-21 13:53:07 +01:00
Denis
643ca522c1
Export lastId in Util ( #5349 )
...
Looking over at the documentation I noticed that `lastId` was an available property however it wasn't exported.
http://leafletjs.com/reference-1.0.3.html#util-lastid
2017-02-21 13:37:57 +01:00
Thomas Brüggemann
c9fbf54570
Plugins: update boat marker links and text ( #5347 )
2017-02-20 10:03:04 +01:00
Benjamin J DeLong
7c2aafa58c
Plugins: Fix to link to "3rd party" category ( #5344 )
2017-02-18 15:16:22 +01:00
Benjamin J DeLong
b11910abc0
Docs: plugins.md instead of plugins.html technically ( #5345 )
2017-02-18 15:15:39 +01:00
Flávio Carmo
893ebf5613
plugins: Add Leaflet.Zoominfo ( #5336 )
...
* Add Leaflet.Zoominfo plugin
* Update plugins.md
2017-02-16 10:27:29 +01:00
Lyzi Diamond
7391e308cc
rotate access tokens ( #5338 )
2017-02-16 09:44:50 +02:00
Joachim Kuebart
29375b4b9c
ES6ify: Provide missing SVG static methods. ( #5330 )
2017-02-14 19:39:57 +01:00
Iván Sánchez Ortega
f57b5bf7ee
Couple tests for Map.Keyboard.disable()
2017-02-14 13:15:50 +01:00
Iván Sánchez Ortega
c856c6090f
Do not stop keypress on escape if no popup is open
2017-02-14 13:15:50 +01:00
Iván Sánchez Ortega
b997839fe7
Docstrings: map.panBy has options
2017-02-14 12:08:13 +01:00
Simon Legner
c5f7dc4ad3
ES2015 modules: Add index.js files to subdirectories/namespace ( #5329 )
...
* Add index.js files to subdirectories/namespace
This allows to streamline the import/export in the main file.
* Fix tests by switching to karma-rollup-plugin
2017-02-13 14:14:00 +01:00
Tariq Soliman
fe496a2b2d
Docs: remove iframe borders on examples ( #5327 )
2017-02-13 11:01:38 +01:00
Joachim Kuebart
1010451a66
Pull min/maxNativeZoom from TileLayer into GridLayer, as per #5316 . ( #5319 )
...
* Pull min/maxNativeZoom from TileLayer into GridLayer, as per #5316 .
* Add a couple unit tests for GridLayer's maxNativeZoom
2017-02-09 10:33:43 +01:00
Per Liedman
689b71e280
Disable click propagation on zoom control buttons ( #5318 )
...
Close #5308 .
2017-02-08 13:02:10 +01:00
Madis Allikmaa
59298a72d0
Docstrings: Fix popup "autoClose" and "closeOnClick" options, fixes #5040 ( #5304 )
...
* Fix popup "autoClose" and "closeOnClick" options documentation, fixes #5040
* Docstring for Popup `closeOnClick` option
* Backticks on docstrings
2017-02-07 16:24:36 +01:00
Iván Sánchez Ortega
fa458e7511
Add CSS for -webkit-tap-highlight-color, fixes #5302
2017-02-07 10:44:56 +01:00
Per Liedman
ce6975057f
Removed type attribute in HTML5 files ( #5309 )
2017-02-06 20:33:15 +01:00
Uzerus
cab880d4d8
type attribute not required in HTML5
2017-02-06 20:32:50 +01:00
Brandon XIANG
a58a28a9a0
Plugins: Add leaflet.marker.highlight ( #5312 )
2017-02-06 09:44:06 +01:00
Miguel Andrade
ad75456fa5
add margin to LatLngBounds.equals method ( #5071 )
...
* add margin to LatLngBounds equals method
* add tests
2017-02-02 16:55:30 +01:00
Iván Sánchez Ortega
53e90945aa
add L.Draggable options and fix docstring ( #5301 )
2017-02-02 16:46:58 +01:00
Iván Sánchez Ortega
ddc3a9ca61
Fix max/min calculation for getBoundsZoom ( fixes #5136 ) ( #5137 )
...
* Fix max/min calculation for getBoundsZoom (fixes #5136 )
* Added test for inside param of L.Map.getBoundsZoom()
2017-02-02 16:21:10 +01:00
Iván Sánchez Ortega
14c5f1602c
Scrubbing of detached DOM elements, prevents memory leaks ( #5265 )
...
* Scrubbing of detached DOM elements, prevents memory leaks and fixes #5263
* Make linter happy
2017-02-02 10:57:57 +01:00
Dave Leaver
5603a87c70
Remove marker.dragging when not on the map ( #5295 )
...
* Add some tests for #5293
* Fix enabling marker dragging while markers aren't on the map by removing the dragging object when not on the map.
This is a change of behavior (.dragging is only defined when a marker is on the map).
* Docs for dragging change
2017-02-02 10:14:39 +01:00
Rowan Winsemius
d10f3ca317
Plugins: Add leaflet-easyPrint ( #5296 )
2017-02-01 12:11:03 +01:00
Iván Sánchez Ortega
f4456b7a9a
Stop scroll propagation in L.Layers.Control in chrome>55 ( #5280 )
2017-02-01 11:08:24 +01:00
Dave Leaver
4921355195
Fix a few uses of children that should be child in comments ( #5294 )
2017-02-01 09:33:09 +01:00
Jan Pieter Waagmeester
02b263af52
Plugins: Add leaflet-clonelayer ( #5291 )
...
repo: https://github.com/jieter/leaflet-clonelayer
2017-01-31 16:46:05 +01:00
Vladimir Agafonkin
703ae02aa8
ES6 modules & Rollup ( #4989 )
...
* WIP ES6 modules & rollup
* WIP ES6 modules & rollup 2
* WIP ES6 modules & rollup 3
* WIP ES6 modules Browser
* WIP ES6 module fixes
* WIP ES6 modules: simpler browser exports
* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base
* get rid of unnecessary index.js
* WIP ES6 modules, dom events and stuff
* Make linter happy, rollup to dist/
* revert to CRS namespace/class for now
* WIP rollup: export more stuff
* export controls
* rollup: export Layer
* rollup: export DomEvent
* rollup: export more layer types
* rollup: export Popup/Tooltip
* WIP: ES6-ify marker, icon, domutil, draggable.
* ES6-ify gridlayer, tilelayer.
* ES6-ify: Tweak imports-exports, code is now runnable!!
* ES6-ify: Fix scope in some DomUtils
* ES6-ify: Path, fix Popup
* ES6-ify: Lint & cleanup
* ES6-ify map handlers, more linting
* ES6-ify: Icon.Default namespacing
* ES6-ify: Renderers, CircleMarker
* ES6-ify: Circle, Polyline, LineUtil
* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting
* ES6-ify: SVG.VML
* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap
* ES6-ify: Linting, make Karma play nice with Rollup
* ES6-ify: More work on fixing bits breaking some unit tests.
* ES6-ify: rollup the version number, fiddled with build scripts
* ES6-ify: Fiddle with test scripts
* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports
* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports
* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds
* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions
* Typo
* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2
* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML
* Make linter happy.
* ES6: Fixing typos and sxrew-ups after big rebase
* Fix symlink for debugging scripts
* ES6: Cleanup old build scripts
* ES6-ify: Update build system to include git rev in L.version
* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline
* Export Path
* ES6ify: cleanup old banner file
* ES6-ify: whitespace in var declarations
* ES6-ify: Export toTransformation as L.transformation
* ES6-ify: cleanup L.transform exports
* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Markus
3ac37c29a4
Add L.transformation factory, allow creation from array ( #5282 )
...
* added transformation getter
* fixed lint, added editorconfig
* added CRS.Simple transformation values again
* removed editorconfig
2017-01-30 09:43:50 +01:00
Jan Pieter Waagmeester
60d1f78977
Remove MapQuest from leaflet-providers description ( #5286 )
2017-01-28 12:21:33 +01:00
Vladimir Agafonkin
174e693912
fix badge 1.0.3 blog link
2017-01-23 18:05:46 +02:00
Iván Sánchez Ortega
bfc3092e9c
Blog post for v1.0.3 release ( #5275 )
...
* Blog post for v1.0.3 release
* Update blog link in front page
* Remove badge for 1.0.0 announcement
2017-01-23 18:02:02 +02:00
Iván Sánchez Ortega
03e4116e5f
Update API reference (and links) to 1.0.3. ( #5276 )
2017-01-23 17:50:21 +02:00
Iván Sánchez Ortega
1cc4660d98
Changelog for 1.0.3, version bump. ( #5274 )
...
* Changelog for 1.0.3, version bump.
* Fix 1.0.3 release date
2017-01-23 12:16:07 +01:00
Per Liedman
67f12ee6e9
Avoid multiple canvas updatePaths/redraws during viewreset ( #5250 )
...
* Avoid multiple canvas updatePaths/redraws during viewreset
Close #5170 .
* Fix code style
* Add a code comment
2017-01-23 11:06:03 +01:00
Iván Sánchez Ortega
2b5d401976
Another blind attemp to work around dblclicks on Edge ( #5268 )
...
* Another blind attemp to work around dblclicks on Edge
* Make linter happy, do not forget about IE11 & IE11 pointer events
2017-01-23 10:56:08 +01:00
Sylvenas
f8bcccc24f
Plugins: add magicmarker
...
add magicMarker plugin
2017-01-20 09:13:35 +01:00
Reinier Battenberg
af72aa7647
IE8: Remove trailing comma in L.Layer options ( #5270 )
...
The trailing column in the Layer default Options Object definition crashes IE8.
2017-01-19 16:55:43 +01:00
Iván Sánchez Ortega
ad271063a4
Docstrings: clarify L.Browser.Touch (see #5266 )
2017-01-19 09:33:57 +01:00
Mariano Carballal
7f11fdfbae
Add alternative text to marker shadows ( #5259 )
2017-01-17 20:26:44 +02:00
Sylvenas
7ea3ab8888
Plugins: add migrationLayer ( #5261 )
2017-01-17 10:19:42 +01:00
Per Liedman
d250465fef
Merge branch 'jieter-patch-3'
...
Close #5168 .
2017-01-13 17:53:55 +01:00
Jan Pieter Waagmeester
01a4b95853
Now use the correct regression fix : #5131
2017-01-13 17:53:22 +01:00
Jan Pieter Waagmeester
15e4456581
Point to correct PR for the layers control PR
2017-01-13 17:53:22 +01:00
Iván Sánchez Ortega
059a722b5b
Implement wrapLatLngBounds (to fix #5149 ) ( #5166 )
...
* Implement wrapLatLngBounds (to fix #5149 )
* Unit tests for wrapLatLngBounds
2017-01-13 16:39:01 +01:00
Iván Sánchez Ortega
694da33fc6
Blind attemp to fix Edge dblclicks (side effects of #5185 ) ( #5248 )
...
Blind attempt to fix Edge dblclicks (side effects of #5185 )
2017-01-13 08:47:41 +01:00
Iván Sánchez Ortega
007a63ab65
Fix typo in docstrings
2017-01-11 10:29:57 +01:00
Yiğit Yüce
bc3270177e
Plugins: Add L.Control.Custom ( #5240 )
2017-01-10 09:38:57 +01:00
Jason
ea7900ad62
Plugins: Add Leaflet.LinearMeasurement ( #5239 )
...
I added a plug in to the measurement section. https://github.com/NLTGit/Leaflet.LinearMeasurement Let me know what additional steps are required for this to go live. Feedback on the tool is encouraged and welcome!
2017-01-10 09:37:01 +01:00
Grigory Golikov
a1c1ea214f
Add Leaflet.Viewpoint to plugins list ( #5219 )
2017-01-03 13:22:50 +02:00
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
Yohan Boniface
88d107ca96
Merge pull request #5087 from Leaflet/layers-collapse-alt
...
Always create L.Control.Layers as collapsed; expand if collapse option not set
2016-11-11 16:15:49 +01:00
Per Liedman
a656a0b9ec
Add unit test
2016-11-11 15:54:05 +01:00
Iván Sánchez Ortega
df0a81e365
Finish drags when a L.Draggable is removed, fix #5063 . ( #5065 )
...
* Finish drags when a L.Draggable is removed, fix #5063 .
* Use L.Draggable._dragging to check if we should stop the drag
* Add Draggable.finishDrag to allow finishing drag programmaticaly
Out of any event.
2016-11-11 15:34:03 +01:00
Iván Sánchez Ortega
2967ffd49d
Changelog: update with #4597 , #5090
2016-11-11 12:09:14 +01:00
Per Liedman
a4bbec5924
Make sure mouseout for previous hovered layer before mouseover for new ( #5090 )
...
Close #5082
2016-11-11 12:04:03 +01:00
Iván Sánchez Ortega
8c22c4e385
Ensure zoom is within span when adding a layer with min/maxzoom, fixes #4915 ( #4916 )
...
* Ensure zoom is within span when adding a layer with min/maxzoom, fixes #4915 .
* Add tests written by @theashyster
* Add tests to verify map's zoom is actually adjusted to layer's min/max
2016-11-11 10:46:31 +01:00
Jon Woyame
d5c499b732
limit css selectors for svg/canvas ( #4597 )
2016-11-11 10:45:34 +01:00
Per Liedman
d2f91e39bd
Always create as collapsed; expand if collapse option not set
...
Close #5073 .
2016-11-10 17:30:31 +01:00
Iván Sánchez Ortega
4d24a118d9
Changelog: update with #5045 , #4916
2016-11-10 14:24:44 +01:00
Iván Sánchez Ortega
fd78560036
L.GeoJSON.asFeature should pass through FeatureCollections ( #5049 )
...
* L.GeoJSON.asFeature should pass through FeatureCollections
* Add unit test to verify FeatureCollection toGeoJSON
2016-11-10 13:53:38 +01:00
Per Liedman
d0d699bfa4
Fix missing variable
2016-11-10 11:07:53 +01:00
Martin
94977ee7fb
Remove unnecessary gendered text in documentation
2016-11-03 19:39:49 +00:00
Iván Sánchez Ortega
26cce79170
Mention TMS tile scheme for EPSG:4326 proj, fixes #5072
2016-11-03 16:28:21 +01:00
Per Liedman
957659fcd0
Move attribution option and getAttribution to L.Layer ( #5070 )
...
Close #5051 .
2016-11-03 09:32:56 +01:00
ghybs
9d91ab06ff
docstrings: correct GeoJSON methods returns ( #5064 )
...
`addData`, `resetStyle` and `setStyle` methods of `L.GeoJSON` actually return `this` (the current GeoJSON Layer Group), not any Layer.
Can be especially confusing in the case of `resetStyle`, where we pass a layer as argument, and with `addData`, which can accept a single GeoJSON feature, hence we could (mistakenly) think that it returns the newly created layer.
2016-10-30 11:02:24 +01:00
Iván Sánchez Ortega
d110f448cd
Plugins: Remove Mandelbrot.GL and add TileLayer.GL
2016-10-29 23:14:55 +02:00
ghybs
aa6aa49f56
docstring: improve default icon customization text ( #5058 )
...
detailed that modifying `L.Icon.Default.prototype.options` only customizes the icon, but it remains an image-based icon.
Added a paragraph about completely replacing the default icon, so that it can now be anything (including a divIcon).
2016-10-28 15:21:42 +03:00
Iván Sánchez Ortega
7b3c673a16
docstrings: L.Control inherits from L.Class
2016-10-28 12:38:43 +02:00
ghybs
edbcff4386
Changed of L.LatLngBounds arg names to corners ( #5059 )
...
as proposed in a recent issue.
This change should not affect the code, it is only for consistency with docstrings.
docstrings: replaced southWest and northEast argument names by corner1 and corner2, to try to prevent confusion that Leaflet will keep these corners at those places, whereas it actually "re-orders" them to keep lowest values West-most / South-most, as if they were just corners.
2016-10-28 09:38:09 +02:00
Jack Reed
0b5c12fd65
Removes an incorrect semicolon ( #5060 )
2016-10-28 08:11:59 +02:00
Iván Sánchez Ortega
5fa0bf9750
Preliminary changelog for 1.0.2
2016-10-27 10:13:50 +02:00
Iván Sánchez Ortega
4b8762edf9
Refactor L.Path _update and _project into L.Renderer so that no event handling is needed ( #5054 )
...
* Refactor L.Path _update and _project into L.Renderer so that no event handling is needed
* Refactor away L.Path's _update event logic
2016-10-27 09:38:28 +02:00
commenthol
9fd0ba15b7
leaflet-rastercoords ( #5038 )
2016-10-25 15:18:53 +03:00
b_b
7300097d28
Fix marker shadow if max-width is set ( #5046 )
...
complement to c75af44ca2
2016-10-25 11:28:19 +02:00
Kenta Hakoishi
cf71ebaf51
Plugins: Add Leaflet.LabelTextCollision ( #5042 )
...
* Update plugins.md
Add Leaflet.LabelTextCollision to the list of plugins in docs
* grammar fixes
2016-10-24 11:22:06 +02:00
Per Liedman
670662e718
Fix canvas redraw when style updates fill and/or weight ( #5034 )
...
Close #5031 .
2016-10-21 16:09:26 +02:00
Per Liedman
fa7accacef
Prevent canvas from firing multiple mouseover for same layer. ( #5033 )
...
Also, fire mouseover for at most one layer for every mousemove,
preventing overlapping features from firing multiple
mouseover/mouseout (#4495 ).
Close #5028 . Close #4495 .
2016-10-21 16:57:59 +03:00
ghybs
34dca3cfd9
Fix #5011 (canvas remove+add) ( #5024 )
...
Bug when using map option `preferCanvas: true` (canvas renderer for paths) and removing then adding back a vector within the same animation frame (typically in the same sequence, as done by Leaflet.markercluster at `"zoomend"` event, to remove layers and clusters outside visible bounds).
This commit clears the `_removed` flag from paths when they are added to the canvas.
Also added corresponding test suites.
2016-10-20 15:50:15 +03:00
Jouke Witteveen
814fe5dab4
Fix language ( #5023 )
...
These struck me when reading the controls section.
2016-10-20 15:49:29 +03:00
John Muccigrosso
d135fc4527
Fix language ( #5022 )
...
1. Improve some of the language to be more readable
2. Correct reference to night style base map, which isn't actually used
3. Add detail that it's possible to style the text in the control
2016-10-20 15:48:48 +03:00
Per Liedman
a97b87d033
Remove extra word from doc string
2016-10-20 08:22:50 +02:00
Yohan Boniface
bc82976430
Remove duplicated test in Draggable ( #5021 )
...
We already are testing for this._enabled some lines before.
2016-10-18 08:00:44 +02:00
Vladimir Agafonkin
d8c3ead1b4
Merge pull request #5019 from mikhailshilkov/master
...
Add leaflet-corridor to the list of plugins in docs
2016-10-17 17:42:55 +03:00
Mikhail Shilkov
92ec6a0d4b
Add leaflet-corridor to the list of plugins in docs
2016-10-15 23:36:21 +02:00
Per Liedman
08a140fc30
Add plugin Leaflet Touch Helper
2016-10-14 14:04:01 +02:00
Per Liedman
17f1815005
Add plugin Leaflet Measure Path
2016-10-14 13:54:30 +02:00
erick
d2add3dd5c
docstrings: add clarification for projection; closes #4817 ( #5010 )
...
* Fix doc: add clarification for projection; closes #4817
Adds clarification in the documentation that specifies that the
`project` and `unproject` methods cannot take in arrays, but only
actual instances of `L.LatLng` and `L.Point`, respectively.
* Fix doc: add clarification for transform methods
Changes the word "real" for the word "actual" so that people don't
confuse actual instances of `L.Point` with coordinates using real
numbers.
2016-10-12 09:22:05 +02:00
Serdar Kaçka
eff82bfbbe
docs: Fix path of Code Coverage report page on CONTRIBUTING.md file ( #5005 )
2016-10-11 16:39:51 +02:00
Per Liedman
b144d2f13e
Fix docs typo: extend MyClass, not L.Class; close #5009
2016-10-10 12:49:19 +02:00
Iván Sánchez Ortega
d40d82a226
Docs: Add the plugin tutorials from #4356 ( #4854 )
...
* Docs: Add the plugin tutorials from #4356
* Include ImageOverlay in class diagram
2016-10-07 16:45:02 +02:00
Adam Roberts
fd438cb277
Plugins: addition of Leaflet.CondensedAttribution ( #5006 )
2016-10-06 18:10:46 +02:00
Iván Sánchez Ortega
16e04741a2
Docstrings: Marker.toGeoJSON
2016-10-06 09:15:05 +02:00
Iván Sánchez Ortega
d048e77a59
Link to "The Art of README" in the plugin guide ( #5001 )
2016-10-03 16:41:20 +03:00
Per Liedman
350919b2ff
Use all four corners when projecting ImageOverlay during animation ( #4993 )
...
Close #4886 .
2016-10-02 22:07:05 +03:00
John Muccigrosso
7f350e4442
docstrings: Better description for easelinearity ( #4994 )
2016-10-02 16:23:11 +02:00
Sumit Kumar
c2330c7ce6
Updated leaflet.pm description ( #4990 )
2016-10-01 22:02:57 +03:00
Vladimir Agafonkin
863cf74461
move zoom animation code into Map.js
2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
ff73971294
move pan animation code into Map.js
2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
5110298c45
get rid of separate Layer.Popup.js and Layer.Tooltip.js
2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
88b593b7ab
move flyTo to Map.js
2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
d0879e14af
move geolocation methods to Map.js
2016-09-30 19:51:01 +03:00
Vladimir Agafonkin
e3545bc9b9
move marker extensions to Marker.js
2016-09-30 19:51:01 +03:00
Michal Haták
7ec434e505
docs:plugins.md: add Leaflet-gplaces-autocomplete ( #4949 )
2016-09-30 16:44:03 +02:00
Dan Brown
4c8aff03fd
add link to "leaflet-betterscale" ( #4987 )
...
This is a more GIS-like scale bar with alternating black/white bars.
2016-09-30 17:40:40 +03:00
Iván Sánchez Ortega
c7a129ba9c
Docs: Fix leatest/latest leaflet version
2016-09-30 14:37:01 +02:00
Iván Sánchez Ortega
0ff89b7b33
Changelog for 1.0.1
2016-09-30 14:19:56 +02:00
Iván Sánchez Ortega
9a1d786075
Version bump to 1.0.1
2016-09-30 14:19:56 +02:00
Iván Sánchez Ortega
60b35c0920
Docs: Make the latest leaflet version into a Jekyll variable, for templates. ( #4986 )
2016-09-30 15:10:33 +03:00
Iván Sánchez Ortega
6ee1a6eb65
Clean up docs/examples - one directory per tutorial, more templating. ( #4965 )
...
* Clean up docs/examples - one directory per tutorial, more templating.
* Fix some URLs
* tutorials: update rendered CDN links to 1.0.0 and L.circle signature (#4975 )
* Update shown CDN links to 1.0.0
As initially done in PR #4967 , but just for the rendered links (what the users sees), as actual link / script tags are already updated.
* DOCS update L.circle to new syntax
in quick-start tutorial, following PR #4974 .
* DOCS update L.circle to new syntak (example src)
updated L.circle to new signature (radius as an option instead of 2nd parameter).
* tutorials: use L.geoJSON new syntax (#4983 )
* tutorials: use new syntax L.geoJSON
for consistency with recommended factory new syntax (`L.geoJSON` instead of legacy `L.geoJson`).
As done in PR #4933 for docstrings.
* tutorials: L.geoJSON new syntax in script
* Renamed several files to directory/index.md
2016-09-30 13:56:05 +02:00
ghybs
d0ffe8a1ab
docstrings: L.GeoJSON functions to methods
...
Corrected docstrings of L.GeoJSON for methods (addData, resetStyle, setStyle) to be really counted as "methods" instead of static "functions" (geometryToLayer, coordsToLatLng, coordsToLatLngs, latLngToCoords, latLngsToCoords, asFeature)
2016-09-30 13:59:58 +03:00
ghybs
bc01b2b30b
docstrings: explicit effect of L.GeoJSON filter
...
Following https://stackoverflow.com/questions/39776919/how-to-reference-the-data-of-an-existing-geojson-leaflet-object/39787583#39787583 , sounds like the current definition "decide whether to show a feature or not" implies that the data is retained in memory, but just not shown.
Replaced "show" by "include" to try to make it clearer that the filtered out data is _lost_ (not retained at all within the group).
Also took the opportunity to add a note about changing the `filter` option dynamically (no re-evaluation of child layers, whether they meet the new filter conditions or not).
2016-09-30 13:59:58 +03:00
Jeff Barnes
837d190933
Fix webpack using valid image file for default icon path ( #4849 ) ( #4979 )
2016-09-30 13:11:52 +03:00
Babajide Fowotade
6b0808d6f0
Don't load class leaflet-tile-loaded in case of error ( #4980 )
2016-09-30 09:28:42 +02:00
Steve Kashishian
c624a3ed50
remove explicit image path on two debug pages
2016-09-29 15:12:08 -05:00
ghybs
628fc04333
docstrings: update L.circle example to match new syntax ( #4974 )
...
docstrings: update L.circle example to match new syntax
2016-09-29 13:21:11 +02:00
Iván Sánchez Ortega
9cd41c0985
Update README.md: Leaflet 1.0.0 weights 37KiB, not 33KiB
2016-09-29 12:46:46 +02:00
Matthew Brener
9bb516970e
docstrings: its to it's where appropriate in GridLayer.js ( #4963 )
...
Very nitpicky I know.
2016-09-28 10:53:33 +02:00
Vladimir Agafonkin
7e772661e5
update changelog
2016-09-28 01:14:21 +03:00
Per Liedman
d10077e13e
Fire update event from VML renderer ( #4956 )
...
Close #4950 .
2016-09-27 19:59:40 +02:00
Vladimir Agafonkin
52a3eefbc2
add a 1.0 notice on frontpage ( #4955 )
2016-09-27 19:31:58 +03:00
Vladimir Agafonkin
fd8c2599ef
fix icon url warnings in tests
2016-09-27 17:58:08 +03:00
Vladimir Agafonkin
44176d9cea
remove rc tag from the build script
2016-09-27 16:22:54 +03:00
Iván Sánchez Ortega
d1c3b45773
Point download and CDN to 1.0.0 (final), point docs to 1.0.0, rm 0.6 doc stuff ( #4948 )
2016-09-27 16:08:37 +03:00
Vladimir Agafonkin
8391bcece0
Leaflet 1.0 announcement blog post ( #4945 )
...
* Leaflet 1.0 announcement blog post
* added some cool gifs
* some blog fixes
* 1.0 blog post: add top image and minor fixes
* add an alt text
2016-09-27 14:53:28 +02:00
Vladimir Agafonkin
fdf6b92be3
upgrade some deps
2016-09-27 13:46:25 +03:00
Vladimir Agafonkin
11533003c0
update version to 1.0.0
2016-09-27 13:32:00 +03:00
Yohan Boniface
79778ebbac
Adding an ISSUE_TEMPLATE.md ( #4906 )
...
* Adding an ISSUE_TEMPLATE.md
* imply -> rely on
* Fix typo in ISSUE_TEMPLATE
2016-09-27 12:54:50 +03:00
Edgard Lorraine Messias
6bb703ca7c
docstrings: Removed incorrect semicolon ( #4943 )
2016-09-27 10:05:17 +02:00
Edgard Lorraine Messias
db7482a561
docstrings: Removed incorrect semicolon ( #4942 )
2016-09-26 19:06:54 +02:00
Iván Sánchez Ortega
927e679041
Minor changelog update
2016-09-26 16:45:10 +02:00
Yohan Boniface
e28f7ae984
Do not fail when closing an interactive tooltip not yet added to the map ( #4937 )
2016-09-26 16:40:51 +03:00
Iván Sánchez Ortega
79d8837b1f
Version bump to 1.0.0; update 1.0.0 docs based on leafdoc ( #4940 )
2016-09-26 16:21:40 +03:00
Iván Sánchez Ortega
62712fe0d0
Updated changelog for 1.0.0 ( #4939 )
...
* Updated changelog for 1.0.0
* Add some missing parenthesis
2016-09-26 16:21:05 +03:00
Iván Sánchez Ortega
04539383f0
Tweak TravisCI config
2016-09-26 14:23:56 +02:00
Iván Sánchez Ortega
434c4e9db3
Clamp eslint to <3.6.0 because of eslint/eslint#7248
2016-09-26 13:48:55 +02:00
ghybs
695b81f2fa
docstrings: L.geoJson → L.geoJSON ( #4933 )
...
Replaced factory example `L.geoJson` (from Leaflet 0.7) by `L.geoJSON` for consistency with the new factory signature rendered just below in the generated docs.
2016-09-23 10:14:56 +02:00
Iván Sánchez Ortega
c931d330fe
Delay firing the 'update' event on renderers (should fix #4928 ) ( #4929 )
2016-09-21 19:20:59 +03:00
Iván Sánchez Ortega
6e08ae427d
Improve docs for keypress events, local refs from leafdoc templates ( #4907 )
2016-09-21 17:38:23 +03:00
Johannes Rudolph
3a2106b2cc
docs:plungins.md: add Leaflet.nauticscale ( #4910 )
2016-09-16 14:01:20 +03:00
Johannes Rudolph
68252cb54a
docs/plungins.md: add leaflet-ais-tracksymbol-search ( #4911 )
2016-09-16 14:00:57 +03:00
Alejandro Sánchez
cdbf4d5057
docstrings: return type of GridLayer.getContainer in ( #4904 )
2016-09-16 09:27:35 +02:00
Alejandro Sánchez
45775be981
docstrings: CRS.getProjectedBounds and CRS.distance ( #4918 )
2016-09-15 21:29:48 +02:00
Iván Sánchez Ortega
30087eaa1d
Plugins: add GridLayer.GoogleMutant
2016-09-15 12:43:01 +02:00
Andris Nolendorfs
62fdf6f642
Fix handling of NaN in getScaleZoom ( #4914 )
...
* Fixed an issue when crs.zoom returns NaN in getScaleZoom
* Small documentation fixes
2016-09-15 09:46:53 +02:00
Iván Sánchez Ortega
63fd4edc76
wrap tileBounds if noWrap is false by @fyeah ( #4908 )
2016-09-12 16:59:21 +02:00
Yohan Boniface
8b3252797a
Merge pull request #4902 from JonasDralle/master
...
fixed dead link
2016-09-11 11:11:02 +02:00
Alejandro Sánchez
55ef437723
Add opacity param to setOpacity jsdoc ( #4903 )
2016-09-10 23:05:08 +02:00
Jonas Dralle
cc716ca87c
fixed dead link
...
issue #4899
sorry that it took so long.
I already tried to fix this error twice (See #4900 and ##4901)
2016-09-10 11:00:38 +02:00
adoroszlai
554b3cb0a7
Adding leaflet-distance-markers to plugins list ( #4891 )
...
* Adding leaflet-distance-markers to plugin list
* Add link to demo for leaflet-distance-markers
2016-09-09 10:48:44 +02:00
Iván Sánchez Ortega
3da57ca377
Add plugin Leaflet.Marker.SlideTo ( #4871 )
2016-09-05 19:22:23 +03:00
Dag Jomar Mersland
b0b3527cce
Add new marker plugin ( #4879 )
...
Leaflet.ParallaxMarker by @dagjomar
2016-09-05 19:22:06 +03:00
Iván Sánchez Ortega
183d9327fd
Plugins: Add gridlayer.fadeout ( #4881 )
2016-09-05 19:19:43 +03:00
Jack Dougherty
da2bfe1137
npmcdn.com is being renamed to unpkg.com ( #4875 )
...
https://npmcdn.com is being renamed to https://unpkg.com to avoid potential naming conflicts with npm
2016-09-05 13:52:56 +02:00
ghybs
a10d26d199
PLUGINS fix Leaflet.Marker.Stack demo link ( #4880 )
...
Link to demo page was broken, replaced by the "color ramps" demo.
2016-09-05 09:20:34 +02:00
Iván Sánchez Ortega
4f69672246
Merge pull request #4877 from npmcdn-to-unpkg-bot/npmcdn-to-unpkg
...
Replace npmcdn.com with unpkg.com
2016-09-04 15:13:20 +02:00
npmcdn-to-unpkg-bot
45ff45e0cb
Replace npmcdn.com with unpkg.com
2016-09-03 06:56:05 +01:00
Per Liedman
ed1a612e6f
Make paths insensitive to the order of its map's moveend handlers ( #4855 )
...
* Make Paths always update after renderer updates
Close #4851
* Add test
* Add docs for update event
* Remove listener when layer is removed
2016-08-31 17:58:46 +03:00
Iván Sánchez Ortega
2ced69db12
docstrings: Expanded FeatureGroup docs. ( #4862 )
2016-08-31 17:57:03 +03:00
Brendan Ward
46de93e643
Add Leaflet.Basemaps ( #4864 )
2016-08-31 17:56:34 +03:00
Ed
5acae0957d
Add license to bower.json ( #4865 )
2016-08-30 09:04:56 +02:00
Iván Sánchez Ortega
126bc5df49
Merge pull request #4860 from PowerPan/PowerPan-leaflet-ais-tracksymbol
...
docs/plugins: Add leaflet-ais-tracksymbol
2016-08-29 09:11:58 +02:00
Johannes Rudolph
c2d2c10956
docs/plugins: Add leaflet-ais-tracksymbol
2016-08-29 08:49:25 +02:00
ghybs
9ab538143b
PLUGINS added leaflet-labeled-circle ( #4846 )
...
(re-apply PR 4834)
2016-08-26 12:37:53 +02:00
Nikolai
96248fe5f1
Edge also has problems with bringToFront
( #4848 )
2016-08-26 12:37:34 +02:00
Baku
61513c9209
Update year ( #4850 )
2016-08-26 12:37:04 +02:00
Per Liedman
017d29c4eb
Just store array of listeners, count is no longer needed. ( #4842 )
...
* Just store array of listeners, count is no longer needed.
* Remove unused code
2016-08-25 17:23:58 +02:00
Iván Sánchez Ortega
b00f6e0a97
Remove references to gh-pages
from CONTRIBUTING.md ( #4843 )
2016-08-25 16:27:07 +02:00
Iván Sánchez Ortega
e747f838ca
Merge pull request #4826 from Leaflet/master-docs
...
Move gh-pages branch to docs/ directory
2016-08-25 15:55:38 +02:00
Yohan Boniface
7927708b40
Allow to create and open a tooltip without source ( fix #4827 ) ( #4836 )
2016-08-25 15:29:20 +02:00
Vladimir Agafonkin
db823b6967
Merge pull request #4841 from Leaflet/popup-remove-zoomanimation
...
Remove zoomAnimation from popup and divoverlay
2016-08-25 15:28:52 +02:00
Vladimir Agafonkin
fb069ba7e8
Merge pull request #4838 from Leaflet/fix-recursive-event-fire
...
Make event firing reentrant
2016-08-25 15:28:39 +02:00
Per Liedman
cee8edeaf2
Fix listener removal even if an event is firing
...
Close #4840 .
2016-08-25 15:20:51 +02:00
Iván Sánchez Ortega
32084ddbd8
Remove zoomanimation option from divOverlay, related to #4699
2016-08-25 15:20:12 +02:00
Iván Sánchez Ortega
eb82d4ee42
Removed Popup's _zoomanimated option from @fnicollet's changes from #4699
2016-08-25 15:10:04 +02:00
Per Liedman
59c6bb201c
Use spies as listeners
2016-08-24 09:52:29 +02:00
Per Liedman
0c6dc2ce1e
Make event firing reentrant
...
Close #4833
2016-08-24 09:26:53 +02:00
Iván Sánchez Ortega
e9957cfa02
Detect L.Icon.Default.imagePath using CSS. #4604 , #3696 , #4579 ( #4605 )
...
* CSS-based paths for L.Icon.Default. #4604 , #3696 , #4579
* Unit tests for default icons
* Make CSS icon path detection IE8-friendly
* Backwards compatibility for L.Icon.Default.imagePath override.
* Don't overwrite options
2016-08-22 16:40:03 +02:00
Iván Sánchez Ortega
ffb9a636ca
Merge branch 'gh-pages' into master-docs
2016-08-18 11:27:28 +02:00
mtmail
c2161dd1c0
plugins.md - Leaflet.OpenCage.Search moved repositories ( #4825 )
2016-08-17 16:39:36 +02:00
Steve
92baa9c73f
Throw error on call to L.Polygon getCenter before map add ( #4820 )
...
* Throw error on call to L.Polygon getCenter before map add
References #4740
* add polyline handling, tests, and docstring
2016-08-15 17:01:41 +02:00
Steve
1a0b08226b
Fix broken vector-simple debug/testbed page
...
`Uncaught TypeError: Cannot read property 'intersects' of undefined`, so rearrange order for an earlier `map.setView()`
2016-08-14 10:20:46 -05:00
Iván Sánchez Ortega
09937e39b0
Add a _leaflet_id to the map container to fix #4806 ( #4810 )
2016-08-11 09:10:46 +02:00
Iván Sánchez Ortega
e1e121c746
Docstrings: minor typo
2016-08-10 15:48:01 +02:00
Vladimir Agafonkin
35c30a1bcf
upgrade deps
2016-08-09 17:51:17 +03:00
Yohan Boniface
bfbe6bc043
Revert "Point rc3 download link to github as a stopgap measure"
...
This reverts commit f727bac2a6
.
Link has been fixed.
2016-08-08 13:15:14 +02:00
Yohan Boniface
bf06b885bf
Revert "Prevent Travis from running twice on a PR"
...
This reverts commit 0cb7b59d87163589f375ff6e439844f22ef8fe85.
This prevents the deploy build too...
2016-08-08 12:37:48 +02:00
Yohan Boniface
ad623f2a36
Merge pull request #4803 from Leaflet/gh-pages-rc3-download
...
Point rc3 download link to github as a stopgap measure
2016-08-08 10:23:57 +02:00
Iván Sánchez Ortega
f727bac2a6
Point rc3 download link to github as a stopgap measure
2016-08-08 10:00:25 +02:00
Vladimir Agafonkin
ee1dc6d217
Merge pull request #4787 from Leaflet/gh-pages-rc3
...
Switch gh-pages to rc3
2016-08-05 12:39:17 +03:00
Yohan Boniface
833340752c
Bump version; changelog ( #4786 )
2016-08-05 12:25:56 +03:00
Yohan Boniface
51f9f56869
Merge pull request #4792 from Leaflet/docstrings-nowrap
...
Docstrings: clarifications about noWrap and wrapLng
2016-08-05 11:04:36 +02:00
Yohan Boniface
6c219810eb
Update 1.0.0 reference
2016-08-05 10:38:23 +02:00
Yohan Boniface
2868790108
rc3 blog post
2016-08-05 10:38:20 +02:00
Yohan Boniface
8a8382b86d
Switch gh-pages to rc3
2016-08-05 10:37:34 +02:00
Iván Sánchez Ortega
5dda4f4e0e
Docstrings: clarifications about noWrap and wrapLng
2016-08-04 16:27:10 +02:00
Yohan Boniface
0b614b10cf
Prevent Travis from running twice on a PR ( #4766 )
...
Currently, when we open a PR, Travis run twice: once because it's a
PR and once for the last commit of the PR.
This change will make Travis run for *commits* only when
made directly on master (which should not happen that much, but still
happen).
Of course, Travis will still be run for a PR, but only once.
2016-08-04 14:17:31 +02:00
Ville Skyttä
2ed1f2a2db
Run *.png through zopflipng -m ( #4755 )
2016-08-04 14:11:44 +02:00
Lou Huang
03a72717fc
Fix option misnamed snapZoom instead of zoomSnap ( #4764 )
2016-08-04 14:10:28 +02:00
Yohan Boniface
a1d64678f2
Do not call zoomIn/zoomOut on zoomControl click if already at zoom limit ( #4791 )
...
fix #4790
2016-08-04 10:56:08 +02:00
Yohan Boniface
c07f43825b
Only stop "preclick" on popup open for markers ( #4788 )
...
We actually do not toggle the popup on click for L.Path.
2016-08-03 21:37:29 +03:00
Steve
3d2b92af82
Provide oldLatLng during marker dragging ( #4752 )
...
* Provide oldLatLng during dragging
References #4736
* Store temporary _oldLatLng on MarkerDrag not _marker
2016-08-02 18:40:28 +03:00
Vladimir Agafonkin
d411c09fde
Merge pull request #4767 from Leaflet/close-tooltip-on-touch
...
Close tooltip on touch
2016-08-02 18:39:13 +03:00
Yohan Boniface
a0ee68558f
Close non permanent tooltip on map click on touch ( fix #4741 )
2016-08-02 16:55:17 +02:00
Yohan Boniface
71d3bc02e5
Move closePopupOnClick from DivOverlay to Popup
...
This option is only used by popup.
2016-08-02 16:55:17 +02:00
Yohan Boniface
8047b0b7a9
Make sure we call event listeners in the order they are registered ( fix #4743 ) ( #4769 )
2016-08-02 17:53:06 +03:00
Yohan Boniface
450ef3ec77
Take the popup container margin-bottom into account to compute autopan ( #4768 )
...
Fix #4759
2016-08-02 17:52:09 +03:00
Yohan Boniface
e746211be7
Better tooltip offset handling ( fix #4772 ) ( #4773 )
...
- default offset is now [0, 0]
- both offset.x and offset.y are always honoured
- positive x always move the tooltip on the right
- positive y always move the tooltip on the bottom
2016-08-02 17:51:22 +03:00
Yohan Boniface
fc1dc96638
Allow to call bindTooltip on a layer not yet added to a map ( fix #4778 ) ( #4779 )
2016-08-02 17:50:53 +03:00
Yohan Boniface
6dec6660b2
Fix tooltip zoomanimation ( fix #4744 ) ( #4765 )
...
Actually something I forgot to port from umap-project/Leaflet.Label
2016-08-02 17:38:08 +03:00
Yohan Boniface
9720d769a4
Merge pull request #4770 from haoliangyu/chore/pluginGuide
...
fix a broken link at PLUGIN-GUIDE.md
2016-07-30 22:09:47 +02:00
haoliangyu
be816acdc4
fix broken link
2016-07-30 15:52:47 -04:00
Steve
c01adbfaa9
Merge pull request #4751 from snkashis/remove_mapquest
...
Remove usage of mapquest tiles from debug pages
2016-07-25 12:57:47 -05:00
Steve Kashishian
7738565a33
Remove usage of mapquest tiles from debug pages
2016-07-25 12:39:55 -05:00
Matthew Mueller
e0f6846d8b
correcting month of rc2 release on website. ( #4746 )
2016-07-21 20:02:24 +02:00
Vladimir Agafonkin
5f2f41bf0f
Merge pull request #4734 from Leaflet/gh-pages-rc2
...
Switch gh-pages to rc2
2016-07-18 15:30:44 +03:00
Iván Sánchez Ortega
7310adbea6
Minor typo
2016-07-18 12:43:32 +02:00
Iván Sánchez Ortega
756444ae02
Update reference to 1.0.0-rc2 generated by leafdoc
2016-07-18 12:36:39 +02:00
Iván Sánchez Ortega
c22a57be69
rc2 post: link to 1.0.0-final milestone
2016-07-18 12:31:52 +02:00
Iván Sánchez Ortega
5b755144e3
rc2 post: things pushed out of rc2; link to tooltip docs
2016-07-18 12:01:48 +02:00
Yohan Boniface
03460f7406
Set rc2 release date in changelog
2016-07-18 11:44:41 +02:00
Yohan Boniface
f77324eb34
Fix typo in blog post
2016-07-18 11:01:27 +02:00
Yohan Boniface
fd2dfeca93
First shot of rc2 blog post
2016-07-17 10:26:01 +02:00
Vladimir Agafonkin
7e4a477a26
Merge pull request #4733 from Leaflet/rc2-release
...
Rc2 release
2016-07-15 14:57:27 +03:00
Yohan Boniface
02e4da4232
Switch gh-pages to rc2
2016-07-15 12:49:40 +02:00
Yohan Boniface
e483bf4ea1
Add L.Tooltip in CHANGELOG
2016-07-15 12:18:09 +02:00
Yohan Boniface
406e1f660a
Bump version
2016-07-15 12:15:46 +02:00
Vladimir Agafonkin
94303a681b
Merge pull request #3952 from Leaflet/label
...
Implement L.Label
2016-07-15 13:06:36 +03:00
Vladimir Agafonkin
601cb5b594
Merge pull request #4715 from Leaflet/changelog-rc2
...
Prepare rc2 changelog
2016-07-14 17:01:18 +03:00
LANWEI SU
ae2492def9
Add leaflet.latlng-graticule to plugins.md ( #4728 )
...
* Add a plugin that create a canvas as ImageOverlay to draw the Lat/Lon Graticule, and show the grid tick label at the edges of the map.
2016-07-14 12:11:14 +02:00
ghybs
908eef5523
Plugins added Leaflet Polyline Offset ( #4727 )
...
from Benjamin Becquet (also author of several other listed plugins).
2016-07-14 09:40:47 +02:00
Vladimir Agafonkin
d021564aaf
Merge pull request #4697 from Leaflet/fab1an-perf-events-refactor
...
refactoring of events, it should be about 4 times faster now
2016-07-11 13:00:15 +03:00
Dave Leaver
a33a692e22
Fix up /danzel/ links ( #4717 )
2016-07-11 10:56:42 +02:00
Per Liedman
0bcfbdb537
Cleanup, tests and minor bug fixes for event system
2016-07-08 15:01:38 +02:00
Fabian Zeindl
0210071dad
refactoring of events, it should be about 4 times faster now
2016-07-08 14:47:02 +02:00
Yohan Boniface
41da75c41c
Refining tooltip css
2016-07-08 14:30:04 +02:00
Yohan Boniface
64ba1f7f95
Rename Label in Tooltip, PopupBase in DivOverlay
2016-07-08 13:51:18 +02:00
Per Liedman
d70602eb60
Fix documentation of default for wheelPxPerZoomLevel
2016-07-08 13:15:45 +02:00
Iván Sánchez Ortega
dd133398ba
rc2 changelog typos and formatting
2016-07-08 12:40:07 +02:00
Yohan Boniface
cfb9ead57a
Prepare rc2 changelog
2016-07-08 12:17:20 +02:00
Yohan Boniface
a1e43ed3bb
spaces to tabs in label.html debug page
2016-07-08 11:44:10 +02:00
Yohan Boniface
a6529d0ddf
Typo in labelPane docstring
2016-07-08 11:37:01 +02:00
Yohan Boniface
fe3649f032
Default L.Label border and tip to white
2016-07-08 11:33:53 +02:00
Yohan Boniface
bd2616f901
Do not rely on options.draggable to compute draggableMoved ( #4638 )
...
One can enable dragging of a marker after it has been initialized
with draggable=false.
2016-07-08 11:22:54 +02:00
Yohan Boniface
f8221e09f7
We now load CSS in Phantom, so no need to skip those tests
2016-07-08 11:08:25 +02:00
Yohan Boniface
0dd58bd01f
Merge branch 'master' into label
2016-07-08 11:07:22 +02:00
Yohan Boniface
5dfc3364d1
Allow to make screenshots in Phantomjs ( #4705 )
...
* Load CSS in PhantomJS
* Allow to take screenshot in PhantomJS while running tests
For that, one need to run this call:
window.top.callPhantom({'render': 'screenshot.png'});
* Make PhantomJS serve images
* Bonus: those tests now passe in Phantom too
* Add helper to make screenshot in tests
takeScreenshot();
or
takeScreenshot('path/to/screenshot.png');
2016-07-08 11:05:12 +02:00
MarcChasse
7451b1fdc3
Add Leaflet.ScaleFactor to plugins.md ( #4714 )
2016-07-07 09:41:19 +02:00
Yohan Boniface
c263f2d8b1
Make L.Handler.enable/disable return this ( #4708 )
...
Those are methods used very often, this can save us a lot of
useless lines.
2016-07-05 12:12:51 +02:00
Yohan Boniface
0726f12bbf
Make sure label has been opened before trying to interact with its container
2016-07-05 09:07:36 +02:00
Yohan Boniface
c56d48b3e1
CloseLabel when unbinding
2016-07-05 09:04:56 +02:00
Yohan Boniface
6c7e6d9f9e
_originalLabelOffset is never used
2016-07-05 09:03:02 +02:00
Yohan Boniface
b8794346c5
L.Label: use direction=auto as default
2016-07-05 09:00:04 +02:00
LANWEI SU
57fd660861
Update plugins.md ( #4703 )
...
Add Polygon extension to set an image to fill the path in SVG
2016-07-04 18:43:07 +03:00
Konrad Klimczak
74dce2266a
add Leaflet.Pin plugin to Edit geometries section ( #4707 )
2016-07-04 18:42:15 +03:00
Jack Dougherty
920058f2da
update to hosted https version on NPMCDN ( #4679 )
...
https://github.com/Leaflet/Leaflet/issues/4666
2016-07-03 23:51:52 +02:00
Yohan Boniface
04c3b515ec
Do not call GridLayer.resetView on moveEnd ( fix #4702 ) ( #4704 )
2016-07-03 12:09:27 +03:00
Yohan Boniface
d18d661837
More label tests
...
431579ce4a
needed to make them pass on Phantom
2016-07-02 23:02:48 +02:00
Yohan Boniface
9c8590aebc
Refactor Label CSS
2016-07-02 10:56:11 +02:00
Yohan Boniface
2f4b97de19
Add support for "center" Label position
2016-07-02 10:52:04 +02:00
Yohan Boniface
25fd9dfbd9
Move options from PopupBase to Popup
2016-07-02 10:42:12 +02:00
Yohan Boniface
14bfedf7ff
Merge branch 'master' into label
2016-07-02 10:36:42 +02:00
Vladimir Agafonkin
1e1926b480
fix logo
2016-07-01 23:21:16 +03:00
Vladimir Agafonkin
f533bd908a
Updated Readme Logo ( #4701 )
...
* clean up svg logo source
* try raw link
* try rawgit link
* add logo width
2016-07-01 19:51:15 +03:00
Iván Sánchez Ortega
cd30e283cf
Fix #4592 by falling back to a legacy ScrollEvent property on Edge. ( #4694 )
...
* Fix #4592 by falling back to a legacy ScrollEvent property on Edge.
* Improve consistency of scroll zoom by rounding everything to 60px
2016-07-01 17:09:46 +03:00
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
Iván Sánchez Ortega
d0538aa29d
Fix typo in URL
2016-06-28 10:17:12 +02:00
Iván Sánchez Ortega
810da921f2
Added L.TileLayer.HERE
2016-06-28 10:10:54 +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
b_b
faf063fdca
avoid double borders on abbr ( #4663 )
2016-06-27 04:02:25 -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
iatkin
5e326e4e5c
SVG icon class ( #4651 )
...
* Update plugins.md
* Update plugins.md
2016-06-16 20:55:58 +02: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
Vladimir Agafonkin
8f0b00178e
Merge pull request #4621 from marslan390/gh-pages
...
Beautify Marker Plugin Added
2016-06-10 18:17:54 +03:00
Yohan Boniface
d1de37aa88
Fix broken sizeOption when L.point instance ( #4636 )
2016-06-10 15:36:07 +02:00
Steve
4b9d87af84
Fix github download 404 in rc1 post
2016-06-09 15:43:29 -05: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 Milevski
2e434281f0
Added Leaflet.Path.Transform to plugins ( #4619 )
2016-06-03 13:33:17 +02: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
marslan390
685d9b857c
Beautify Marker Plugin Added
...
Lightweight plugin that adds colorful iconic markers without image and
gives full control of style to end user (i.e. Unlimited colors and CSS
styling).
2016-05-27 18:17:30 +05: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
Greg Allensworth
e12fd0aba6
Add plugin entries: L.TileLayer.PixelFilter, L.Control.BootstrapModal and L.Control.jQueryDialog
...
* Added plugin entry: L.TileLayer.PixelFilter
* Added L.Control.BootstrapModal and L.Control.jQueryDialog
* addition of L.Control.BootstrapModal and L.Control.jQueryDialog moved into 'frameworks and build systems' section
2016-05-18 08:41:20 +02:00
Yohan Boniface
accad9c35f
Add CSS fallback to label tip position, as calc is not supported by IE8
2016-05-17 17:12:19 +02:00
Alex Ebadirad
6d55324b4b
Added plugin entry: L.Control.AutoLayers ( #4574 )
...
A new plugin to dynamically pull from multiple mapservers who publish a
service dictionary and automagically add/organize/search and z-index
order them.
2016-05-17 10:46:10 +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
Tom Chadwin
dcff15a678
Replace qgis2leaf with qgis2web ( #4537 )
...
qgis2leaf is no longer developed. It was merged into qgis2web.
2016-05-06 15:06:13 +02:00
Yohan Boniface
4a9140e6b1
Add L.Label related documentation
2016-05-06 15:00:01 +02:00
Yohan Boniface
737137634e
Rename Label clickable option to interactive
2016-05-06 13:39:09 +02:00
Yohan Boniface
b4b97277c4
Support top and bottom direction
2016-05-06 13:30:58 +02:00
Guillaume Lathoud
aefb6e600b
fixed singleclick URLs: alpstein => outdooractive ( #4539 )
...
The GitHub account was renamed.
2016-05-06 12:21:00 +02:00
Martin Atukunda
f1f8bf755c
Add L.Control.Mapcodes to plugins.md ( #4542 )
2016-05-06 09:08:40 +02:00
Nathan Cahill
fdc0063b01
correct gridlayer tile async example docs - fixes #4541 ( #4543 )
2016-05-06 09:06:35 +02:00
Yuzo Matsuzawa
4d490139bd
Fix typo in L.Bounds docs ( #4536 )
2016-05-04 13:43:23 +02:00
Guillaume Lathoud
5633b83280
Added Leaflet.FeatureGroup.LoadEvents (for v0.7.*) ( #4535 )
2016-05-04 10:25:28 +02:00
Nathan Cahill
63f3c851ba
correct docs for GeoJSON.onEachFeature ( #4512 )
2016-05-01 08:57:54 +02:00
Iván Sánchez Ortega
9bbfc6aefb
Docstrings: Add a note about using locate() over plain HTTP ( #4520 )
2016-05-01 08:56:06 +02:00
Yohan Boniface
8a2255afc3
Merge branch 'master' into label
2016-04-30 14:36:48 +02:00
Iván Sánchez Ortega
203a5881d5
Add demo to Leaflet.ImageOverlay.Rotated
2016-04-29 13:33:24 +02:00
Iván Sánchez Ortega
8a8af0deec
Add Leaflet.ImageOverlay.Rotated plugin
2016-04-29 11:57:51 +02:00
Nathan Cahill
425fa13cb4
Various debug fixes ( #4515 )
...
* various debug fixes
* fix mixed spaces and tabs
2016-04-29 12:35:50 +03:00
Iván Sánchez Ortega
19f048110f
Docstrings: linkify map.locate()
2016-04-27 16:06:21 +02:00
Iván Sánchez Ortega
400f7fa70d
Fix HTML links in leaflet.heat plugin
2016-04-27 15:33:53 +02:00
Iván Sánchez Ortega
4460bd74ad
Minor typo in docstrings
2016-04-27 11:09:57 +02:00
Jan Pieter Waagmeester
4febc5d629
Replace for..in with standard for in L.Control.Layers, fixes #4508 ( #4509 )
2016-04-26 15:24:34 +02:00
Nathan Cahill
3edf6036e5
use public api for getting the layer id
2016-04-25 17:30:04 -06:00
Per Liedman
17ec366263
Fix retina logic when zoomReverse is enabled. ( #4503 )
...
Close #4399 .
2016-04-25 21:30:59 +03:00
Nathan Cahill
8bfb37bbf4
consistent return if layer exists ( #4504 )
2016-04-25 20:03:08 +02:00
Nathan Cahill
a5cf6b9390
remove old CircleMarker options ( #4497 )
2016-04-25 15:54:02 +03:00
Nathan Cahill
1462f7e538
correct TileLayer constructors in debug ( #4498 )
2016-04-25 08:43:01 +02:00
Matthew Brener
b4045f05fd
Remove spec.hintrc.js ( #4499 )
2016-04-25 08:42:25 +02:00
Nathan Cahill
4ad74d879d
correct DragEndEvent event type ( #4491 )
...
DragEndEvent has a distance property
2016-04-22 20:51:55 +02:00
Nathan Cahill
c5ae732b7d
correct ResizeEvent event type ( #4490 )
2016-04-22 20:48:07 +02:00
Nathan Cahill
3fc3a4d1c5
fix inconsistency in GeoJSON event class name ( #4489 )
2016-04-22 21:21:31 +03:00
Mikael Korpela
b544d5e503
Remove images from Bower's main field ( #4481 )
...
https://github.com/bower/spec/blob/master/json.md#main
2016-04-22 18:28:25 +03:00
Jan Pieter Waagmeester
02078c2b39
Make sure L.Control.removeLayer() doesn't raise an error if a layer not in the control is removed from it ( #4487 )
2016-04-22 16:11:22 +02:00
Alex Paterson
74e72ce684
Specify EdgeBuffer plugin is for Leaflet 1.0 ( #4485 )
2016-04-21 23:36:32 +02:00
Nathan Cahill
269eabc490
fix typo in PosAnimation docs ( #4482 )
2016-04-21 20:20:06 +02:00
Iván Sánchez Ortega
c536377e6d
Add Leaflet.VectorGrid plugin, note about deprecated vector tile plugins.
2016-04-21 09:54:29 +02:00
Nathan Cahill
2b52369fac
Add CRS.distance docstring ( #4466 )
...
* add CRS.distance docstring
* add CRS.distance return values
2016-04-20 20:57:06 +02:00
Yuzo Matsuzawa
442d710b51
Fix typo in L.Draggable docstring ( #4471 )
2016-04-20 17:56:29 +02:00
Nathan Cahill
1eafc015c1
create points from objects with x and y properties ( #4465 )
2016-04-20 17:05:31 +02:00
Iván Sánchez Ortega
ddf8f0575e
Leafdoc: fix internal links & inconsistent return types ( #4469 )
...
* Leafdoc: fix internal links & inconsistent return types
* an -> a
2016-04-20 16:29:08 +02:00
Iván Sánchez Ortega
71a1e8513b
Update notes about contributing to the API docs ( #4470 )
...
* Update notes about contributing to the API docs
* Reworded leafdoc + gh-pages stuff.
2016-04-20 13:31:13 +02:00
Iván Sánchez Ortega
c3426d6bb6
docstring fixes regarding Polyline/Circle options
2016-04-20 09:48:53 +02:00
Nathan Cahill
86e49f92ff
fix Util.template docstring ( #4468 )
2016-04-19 23:55:51 +02:00
Iván Sánchez Ortega
91fa757571
Add 'updateWhenZooming' option to L.GridLayer ( #4462 )
2016-04-19 16:36:10 +03:00
Nathan Cahill
3e8fcbda97
add option type for 'center' value ( #4456 )
2016-04-19 14:19:45 +02:00
Nathan Cahill
7347446c57
add LineUtil.clipSegment docstring ( #4437 )
2016-04-19 14:19:19 +02:00
Per Liedman
f3586fdbfc
Merge pull request #4455 from Leaflet/build-version
...
Build scripts: stop using magic-string and use git rev as semver metadata
2016-04-19 12:48:07 +02:00
Iván Sánchez Ortega
ca01120227
Use git rev as semver metadata
2016-04-19 12:32:08 +02:00
Iván Sánchez Ortega
23890c5fa4
Skip a touch unit test on non-touch browsers
2016-04-19 12:21:01 +02:00
Iván Sánchez Ortega
acbc6d23a9
Sourcemaps: replace magic-string with source-map.SourceNode
2016-04-19 10:22:52 +02:00
Iván Sánchez Ortega
96bf8d9ca4
Typo in changelog URL for rc1
2016-04-18 10:49:14 +02:00
Iván Sánchez Ortega
649470e96f
Update 1.0.0 docs to Leafdocs for 1.0.0-rc1 (from -beta2), tnx @nathancahill
2016-04-18 10:44:20 +02:00
Iván Sánchez Ortega
9007b91bee
Update download links
2016-04-18 10:38:04 +02:00
Iván Sánchez Ortega
e24e335d64
Blog post for 1.0.0-rc1 ( #4443 )
...
* Blog post for 1.0.0-rc1
* typos, english, link todo note added
* Updated dates for rc1 blog post
* Update CDN URLs for -rc1
2016-04-18 10:36:02 +02:00
Vladimir Agafonkin
a626826974
update deps and bump travis node version
2016-04-18 11:15:46 +03:00
Per Liedman
c22ee29d79
Bump version to 1.0.0-rc.1 ( #4454 )
2016-04-18 09:26:02 +02:00
Yohan Boniface
8e3e53319e
1.0.0-rc1 changelog (cf #4379 ) ( #4383 )
...
* First version of rc1 changelog (cf #4379 )
* fixed changelog
typos, closed PR removed, contributor added
* Prettify and fix minor typos in rc1 changelog
* Mention #4396 in the CHANGELOG
* Add mention of #4371
* Add docs updates by nathancahill
* Add info on #4387
* Update date for 1.0-rc1
* Remove double PR reference for #4418
2016-04-18 09:14:37 +02:00
Iván Sánchez Ortega
032bce68f0
Merge pull request #4451 from nathancahill/patch-2
...
Remove duplicate Map.options.renderer
2016-04-16 20:47:16 +02:00
Nathan Cahill
c59bf6ad30
remove duplicate Map.options.renderer
2016-04-16 12:42:59 -06:00
Nathan Cahill
25d5a8119e
remove duplicate maxBoundsViscosity option ( #4449 )
2016-04-15 23:53:41 +02:00
Nathan Cahill
46083ad881
add missing types to Map.createPane docstring ( #4450 )
...
Last one, hopefully.
2016-04-15 23:52:03 +02:00
Nathan Cahill
ede3246f4d
fix typo in Map.getMaxZoom docstring ( #4447 )
2016-04-15 20:48:01 +02:00
Nathan Cahill
f060a832e8
add missing type to Map.getPixelWorldBounds ( #4448 )
2016-04-15 20:47:41 +02:00
Nathan Cahill
119c80fe94
fix typo in flyTo docstring options type ( #4446 )
2016-04-15 20:46:53 +02:00
Nathan Cahill
c09f83a1fb
fix autoPanPadding typo in docstring ( #4445 )
2016-04-15 19:14:13 +02:00
Iván Sánchez Ortega
6dad7f3302
Add plugin Leaflet.Marker.Stack
2016-04-15 18:07:12 +02:00
Nathan Cahill
c10f405a11
switch options type from path to polyline for polygon and rectangle - fixes #4427 ( #4444 )
2016-04-15 17:22:51 +02:00
Per Liedman
ce9b9f58bd
Don't prevent pointerdown if target is a form control ( #4371 )
...
* Don't prevent pointerdown if target is a form control.
* Add clarifying comment.
As per https://github.com/Leaflet/Leaflet/pull/4371#issuecomment-204815017
2016-04-15 16:10:51 +02:00
Yohan Boniface
a069c41dd7
Merge pull request #4441 from Leaflet/sheppard-zoom-topleft
...
Fix regression for default control position
2016-04-15 15:56:41 +02:00
Per Liedman
24d8be60ad
Fix regression of control positions
2016-04-15 15:53:38 +02:00
Iván Sánchez Ortega
fcffa30737
Merge pull request #4387 from Leaflet/fix-disable-enable-drag
...
Make drag handler insensitive to order of handlers events
2016-04-15 15:33:55 +02:00
Iván Sánchez Ortega
5389d23e79
Add unit test for drag handler enable/disable bug ( #4387 )
2016-04-15 15:30:39 +02:00
Per Liedman
f3c80fdbdc
Add comments
2016-04-15 15:29:24 +02:00
Per Liedman
e5dcb007c6
Add comments
2016-04-15 15:29:24 +02:00
Per Liedman
f05af08a2c
Ignore simulated mouse events in Draggable.
...
Draggable handles touch events, and does not rely on
simualted mouse events; under some circumstances, it
even breaks on simualted events (see #4315 ).
This ignores any simulated events in the event handlers,
to just deal with the real events.
Close #4315 .
2016-04-15 15:29:24 +02:00
Nathan Cahill
37532b33eb
add missing type to setZIndex docstring in L.LayerGroup ( #4428 )
2016-04-15 13:31:52 +02:00
Nathan Cahill
755c7ed0c0
add missing docstring options for L.GeoJSON.latLngsToCoords() ( #4429 )
2016-04-15 13:31:15 +02:00
David Uvenman
864326610a
Added click tolerance also for non-touch devices ( #4396 )
...
* Added option for click tolerance. This option is used as a threshold to determine if the user event should be considered a click or a drag.
* Updated docs for clickTolerance to state the correct default value.
* Added tests for click threshold
2016-04-15 10:18:50 +02:00
Nathan Cahill
978fdb5add
fix typo in Browser.mobile docstring ( #4434 )
2016-04-15 09:42:37 +02:00
Nathan Cahill
1964f35ea4
correct return type in docstring of LatLngBounds.extend ( #4430 )
2016-04-15 09:30:21 +02:00
Nathan Cahill
70a208b088
correct return type in docstring of L.Point ( #4431 )
2016-04-15 09:27:05 +02:00
Nathan Cahill
f8a453dc3a
add missing round parameter to Bounds.getCenter docstring ( #4432 )
2016-04-15 08:44:30 +02:00
Nathan Cahill
51e155483d
change parameter type in docstring from |null to optional ( #4433 )
2016-04-15 08:42:34 +02:00
Nathan Cahill
4ff5b10a27
add docstrings for L.Control methods ( #4435 )
2016-04-15 08:29:30 +02:00
Nathan Cahill
5d2607a947
Add missing return type in docstring for Util.indexOf ( #4436 )
2016-04-15 08:27:10 +02:00
Nathan Cahill
5b67a2d093
fix DomUtil.getClass docstring ( #4438 )
2016-04-15 08:05:33 +02:00
Nathan Cahill
1db460ab2b
correct docstring default value for L.ImageOverlay interactive ( #4425 )
...
Was true, should be false.
2016-04-14 19:39:42 +02:00
Iván Sánchez Ortega
d1ab25fc3d
Merge pull request #4423 from nathancahill/patch-3
...
Correct docstring for L.TileLayer.WMS transparent option
2016-04-14 18:28:26 +02:00
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
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
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
Yohan Boniface
58c44fe5c8
Merge pull request #4303 from wwwouaiebe/gh-pages
...
Added plugin leaflet.marker.pin
2016-03-12 20:13:57 +01:00
Vladimir Agafonkin
7ca5347db8
Merge pull request #4317 from Kayoku/gh-pages
...
Update quick-start.md (small correction)
2016-03-11 14:56:14 +02:00
Bouchoucha Jordan
1fc7d37ec1
Update quick-start.md (small correction)
...
When you need to make sure that the map container has a defined height with :
#mapclass { height: 180px; }
that's not working. Because we did this before :
<div id="mapid"></div>
Rename "mapclass" to "mapid". It's more clear for beginner who can just copy/paste code.
2016-03-11 13:50:53 +01:00
Iván Sánchez Ortega
363e1e94e8
Merge pull request #4309 from chriswhong/gh-pages
...
Add demo link for leaflet-globe-minimap plugin
2016-03-09 09:12:43 +01:00
Chris Whong
2147c4c879
Add demo link for leaflet-globe-minimap plugin
2016-03-08 16:21:54 -05: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
Iván Sánchez Ortega
6c7faa8cac
Merge pull request #4304 from skorasaurus/gh-pages
...
give distinct names for map object, class, and map id in Quick Start Guide & Example
2016-03-06 15:32:28 +01:00
Will Skora
f5d083013f
give distinct names for map object, map class, and map id
2016-03-05 18:34:55 -05:00
wwwouaiebe
797ef733d7
Added plugin leaflet.marker.pin
2016-03-05 16:20:04 +01:00
Iván Sánchez Ortega
2b622c9225
Merge pull request #4300 from Leaflet/add-leaflet-underneath
...
Add plugin Leaflet Underneath
2016-03-04 15:15:42 +01:00
Per Liedman
9fb902ef96
Add plugin Leaflet Underneath
2016-03-04 15:13:09 +01:00
Iván Sánchez Ortega
19b46f4707
Merge pull request #4297 from maydemirx/gh-pages
...
Added tagFilterButton to plugin list
2016-03-03 10:29:37 +01:00
Mehmet Aydemir
e1e223ed54
Added tagFilterButton to plugin list
2016-03-03 11:21:17 +02: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
Iván Sánchez Ortega
9442f9a20f
Merge pull request #4275 from ahalota/patch-1
...
Added Leaflet.CountrySelect plugin
2016-03-01 10:18:09 +01:00
ghybs
a959d707c0
DOCS Stable added tileerror
event
...
Following #2756
2016-03-01 10:16:42 +04: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
ahalota
fa6a927456
Added Leaflet.CountrySelect plugin
2016-02-25 18:20:09 -05:00
Peter Wilczynski
0c99f08c8b
Update clipsegment documentation
...
Per the tests here (https://github.com/Leaflet/Leaflet/blob/master/spec/suites/geometry/LineUtilSpec.js ), and the implementation, clipSegement no longer modifies the points in place.
2016-02-24 09:26:48 -08:00
Iván Sánchez Ortega
2bc8a8b762
Merge pull request #4268 from pvhee/gh-pages
...
Adding Leaflet for Drupal to 3rd party integration list
2016-02-22 12:20:05 +01:00
Peter Vanhee
dda17594d6
Adding Leaflet for Drupal to 3rd party integration list
2016-02-22 11:17:35 +00:00
Vladimir Agafonkin
11f852d6a7
Merge pull request #4267 from codeofsumit/gh-pages
...
Added Leaflet.PM to plugin list
2016-02-22 00:44:41 +02:00
Sumit Kumar
66560f298b
Merge pull request #1 from codeofsumit/add-leaflet.pm-plugin
...
Added Leaflet.PM
2016-02-21 18:34:22 +01:00
Sumit Kumar
fdea7b3ebe
Added Leaflet.PM
2016-02-21 18:34:01 +01:00
Vladimir Agafonkin
964d2d5f21
Merge pull request #4265 from NathanMarq/gh-pages
...
adding Leaflet.Dialog to plugins list
2016-02-20 15:45:24 +02:00
NathanMarq
933dae3896
adding Leaflet.Dialog to plugins list
2016-02-19 18:15:29 -05: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
122317e0fe
Merge pull request #4251 from hyperknot/fix-crs-tutorial
...
CRS tutorial typos, no EU
2016-02-16 13:10:28 +01:00
Zsolt Ero
4b08f72ae1
Indian Ocean title case
2016-02-16 13:04:13 +01:00
Zsolt Ero
3e898e8898
no EU in space
2016-02-16 13:01:17 +01:00
Iván Sánchez Ortega
d75020b42c
Minor fixes to CRS.Simple example
2016-02-16 11:26:43 +01:00
Yohan Boniface
e6771f3d91
Merge pull request #4248 from Leaflet/gh-pages-crs-simple
...
CRS.Simple tutorial
2016-02-16 11:06:46 +01:00
Iván Sánchez Ortega
c967ed33b8
CRS.Simple tutorial
2016-02-16 11:05:39 +01:00
Iván Sánchez Ortega
ccd95e38e6
L.Class.include & mergeOptions now return 'this'
2016-02-15 16:38:35 +01:00
Iván Sánchez Ortega
54f0f734ba
Merge pull request #4206 from hyperknot/tile-debug
...
Tile debug
2016-02-15 15:17:01 +01:00
Zsolt Ero
d891310b72
check _map in _pruneTiles
2016-02-15 14:49:24 +01:00
Iván Sánchez Ortega
143ee84659
Merge pull request #4243 from hyperknot/map-panes-example-popup
...
add popup interaction to md script
2016-02-15 14:19:58 +01:00
Zsolt Ero
06ab697453
add popup interaction to md script
2016-02-15 14:18:09 +01:00
Iván Sánchez Ortega
8057ba4077
Merge pull request #4242 from hyperknot/map-panes-example-popup
...
add popup interaction to map panes example
2016-02-15 14:09:10 +01:00
Zsolt Ero
99f94a4cc7
Add geojson popup interaction to md as well
2016-02-15 14:08:42 +01:00
Zsolt Ero
047560d533
add popup interaction to map panes example
2016-02-15 13:54:19 +01:00
Yohan Boniface
2d202aa7df
Merge pull request #4241 from k-nut/radius-nan-test
...
Add test for throwing error if circle radius is NaN
2016-02-15 12:00:51 +01:00
Knut Hühne
df19ec7c30
Add test for throwing error if circle radius is NaN
2016-02-15 11:51:27 +01:00
Yohan Boniface
0480e3c5f3
Merge pull request #4236 from Leaflet/radius-nan
...
Throw error on NaN circle radius
2016-02-15 11:19:42 +01:00
Yohan Boniface
50539d6fe5
Merge pull request #4131 from Leaflet/chrome-win10-dblclick
...
Possible fix for #4127 , assume dblclick DOM event exists in touch-capable browsers
2016-02-15 11:18:42 +01:00
Yohan Boniface
62fac933fb
Merge pull request #4234 from Leaflet/gh-pages-panes-example
...
Added an example on map panes
2016-02-15 11:15:12 +01:00
Iván Sánchez Ortega
cf23143b00
Added an example on map panes, based on https://stackoverflow.com/questions/35377829/leaflet-js-tilelayer-visible-above-geojson-layer-geojson-interactivity-issue/35378935#35378935https://stackoverflow.com/questions/35377829/leaflet-js-tilelayer-visible-above-geojson-layer-geojson-interactivity-issue/35378935#35378935
2016-02-15 10:58:38 +01:00
Iván Sánchez Ortega
2730a3e3cf
Throw error on NaN circle radius, #4235
2016-02-15 10:20:36 +01:00
Yohan Boniface
45dd920b70
Merge pull request #4233 from pra85/patch-1
...
Fix a typo
2016-02-14 09:49:08 +01:00
Prayag Verma
609cee1821
Fix a typo
...
`presense` → `presence`
2016-02-14 13:52:33 +05:30
Iván Sánchez Ortega
5ea4f9a71e
Merge pull request #4224 from hyperknot/fix-scroll-zoom-calculation
...
fix fractional zoom calculation
2016-02-12 13:21:15 +01:00
Iván Sánchez Ortega
5994d8cc28
"capture root" magic because Jekyll 3.
2016-02-12 09:38:36 +01:00
Iván Sánchez Ortega
6404447ce9
Use {{layout.root}} instead of {{root}} because Jekyll 3.
2016-02-12 09:28:01 +01:00
Zsolt Ero
7dd71b83f4
workaround flyTo bug
2016-02-12 03:14:12 +01:00
Zsolt Ero
3c87804f42
added gridLoadData
2016-02-12 02:12:05 +01:00
Zsolt Ero
3517a62729
fix fractional scroll zoom calculation
2016-02-12 00:48:49 +01:00
Iván Sánchez Ortega
5d23c22226
Merge pull request #4219 from lethexa/gh-pages
...
Added leaflet-tracksymbol to plugin page.
2016-02-10 21:07:41 +01:00
Tim Leerhoff
a21d34b5ee
Added leaflet-tracksymbol to plugin page.
2016-02-10 20:38:26 +01:00
Iván Sánchez Ortega
f8303c39d1
Added Leaflet for R (as a dataviz plugin)
2016-02-10 10:31:50 +01:00
Per Liedman
0a93dc6d84
Merge pull request #4214 from Leaflet/control-layers-cleanup
...
Better cleanup of L.Control.Layers, fixes #4213 (plus unit tests)
2016-02-09 22:12:16 +01:00
Iván Sánchez Ortega
ae91ffd248
Merge pull request #4212 from Leaflet/non3d-updatetransform
...
Branch L.Renderer.updateTransform when not L.Browser.any3d, fixes #4211
2016-02-09 20:13:55 +01:00
Iván Sánchez Ortega
63970e9b6c
Better cleanup of L.Control.Layers, fixes #4213 (plus unit tests)
2016-02-09 15:43:03 +01:00
Vladimir Agafonkin
6ee6b98003
Merge pull request #4209 from Leaflet/getzoom-nan
...
Fix for #4208 with extra unit tests
2016-02-09 12:23:52 +02:00
Iván Sánchez Ortega
c40aba27bc
Branch L.Renderer.updateTransform when not L.Browser.any3d, fixes #4211
2016-02-09 11:05:18 +01:00
Iván Sánchez Ortega
8dee2d3591
Fix for #4208 with extra unit tests
2016-02-09 10:07:36 +01:00
Zsolt Ero
68d52deada
styling fixes
2016-02-09 00:00:04 +01:00
Zsolt Ero
a5506e9f8e
added resetCounter, indenting for tile-debug
2016-02-08 23:22:59 +01:00
Zsolt Ero
71423f9069
tile-debug html added
2016-02-08 22:58:23 +01:00
Iván Sánchez Ortega
70c692f214
Merge pull request #4204 from hyperknot/zoomsnap-for-htmls
...
added zoomSnap for htmls
2016-02-08 19:26:48 +01:00
Iván Sánchez Ortega
73716873e0
Add plugin jquery-storymap by @atlefren
2016-02-08 19:16:48 +01:00
Zsolt Ero
3fc511d219
added zoomSnap for examples
2016-02-08 17:04:30 +01:00
Vladimir Agafonkin
01455c0167
Merge pull request #4193 from Leaflet/grid-extra-loads
...
Fix extra tile usage
2016-02-08 16:53:50 +02:00
Iván Sánchez Ortega
58260af842
Merge pull request #4031 from andrewharvey/patch-1
...
fix maxNativeZoom wording
2016-02-08 15:46:12 +01:00
Iván Sánchez Ortega
65ff32b31d
Merge pull request #4084 from louh/patch-2
...
Add L.Browser.ielt9 to documentation
2016-02-08 15:39:05 +01:00
Vladimir Agafonkin
09c3221211
Merge pull request #3523 from Leaflet/fractional-zoom-controls
...
Fractional zoom controls
2016-02-08 16:39:04 +02:00
Iván Sánchez Ortega
51149b79e7
Fix counters on tile-events debug page
2016-02-08 12:46:34 +01:00
Iván Sánchez Ortega
39d7388a2f
Revert back to "prune tiles every tileready" behaviour
2016-02-05 17:07:03 +01:00
Iván Sánchez Ortega
e7fd00254e
Updated tile-events debugging page
2016-02-05 16:45:08 +01:00
Iván Sánchez Ortega
c6e2a2021a
Unit tests for flyTo and TileLayers.
2016-02-05 16:30:29 +01:00
Vladimir Agafonkin
97490a13cc
Merge pull request #4085 from Leaflet/gh-pages-master
...
Dual 1.0 & 0.7 docs to gh-pages
2016-02-05 13:39:46 +02:00
Iván Sánchez Ortega
3feeb99680
Renamed files so 0.7.x docs live at 'reference.html'
2016-02-05 10:23:18 +01:00
Iván Sánchez Ortega
07039e05a9
Fix Stamen's Toner gridlayer in examples
2016-02-04 15:45:10 +01:00
Iván Sánchez Ortega
efdc626262
Fix tile pruning on fade-in, pass all unit tests now :-D
2016-02-04 15:19:35 +01:00
Iván Sánchez Ortega
cbafca7478
Typo in comments
2016-02-04 13:00:28 +01:00
Iván Sánchez Ortega
a1ff60bf9b
Make wheel-zoom speed depend on a new wheelPxPerZoomLevel option
2016-02-04 12:50:42 +01:00
Iván Sánchez Ortega
0a1f867a8b
Merge pull request #4191 from Leaflet/issue-4153-pxbounds
...
Sanity check: test pxBounds validity before using it (fix #4153 )
2016-02-04 09:57:48 +01:00
Yohan Boniface
de4526cc1d
Sanity check: test pxBounds validity before using it ( fix #4153 )
...
Otherwise, we may have bug when polyline latlngs are cleared while
not updating the polyline bounds (so ending with empty latlngs
but this._bounds still valid).
2016-02-04 09:48:35 +01:00
Iván Sánchez Ortega
f777f42c6b
More GridLayer unit tests; Grid zoom calculation changed during zoom anims
2016-02-03 17:35:52 +01:00
Vladimir Agafonkin
e031540d7e
Merge pull request #4183 from unbam/patch-2
...
Add plugin Leaflet.SlideMenu
2016-02-02 18:13:45 +02:00
Iván Sánchez Ortega
bf37a9106c
Change the way GridLayer is reset on a map viewreset
2016-02-02 16:56:18 +01:00
Iván Sánchez Ortega
ed05d4ac1e
Unit tests for GridLayer loading logic
2016-02-02 14:56:02 +01:00
Masashi Takeshita
108a53bfd1
Add plugin Leaflet.SlideMenu
...
Add plugin Leaflet.SlideMenu
2016-01-31 11:32:15 +09:00
Iván Sánchez Ortega
f192ae1be9
Merge pull request #4177 from utahemre/gh-pages
...
Add new plugin: Leaflet.CoordinatedImagePreview
2016-01-28 10:59:48 +01:00
Yunus Emre Özkaya
be777f64b3
Add new plugin: Leaflet.CoordinatedImagePreview
2016-01-28 11:47:31 +02:00
Vladimir Agafonkin
1a6b30abb6
Merge pull request #4174 from lyzidiamond/gh-pages
...
update mapbox token
2016-01-27 09:25:31 +02:00
Lyzi Diamond
86e1dd6671
update mapbox token
2016-01-26 22:13:32 -08:00
Iván Sánchez Ortega
bd0ffc4910
Add note about .gitignore/.npmignore to plugin guide
2016-01-22 12:35:47 +01:00
Vladimir Agafonkin
ccdeb4e38d
Merge pull request #4167 from Leaflet/update-plugins-guide
...
Update plugin guide to prevent some new common pitfalls
2016-01-22 13:10:07 +02:00
Iván Sánchez Ortega
29ddd07178
Update plugin guide to prevent some new common pitfalls
2016-01-22 11:47:05 +01:00
Vladimir Agafonkin
bdff4fa31c
Merge pull request #4147 from panur/patch-1
...
Removed reference to non-existing layer
2016-01-22 12:36:58 +02:00
Iván Sánchez Ortega
86a7613c84
Merge pull request #4165 from xguaita/gh-pages
...
Add Leaflet.MapCenterCoord plugin
2016-01-21 19:06:51 +01:00
Xisco Guaita
ca902c672d
Add Leaflet.MapCenterCoord plugin
...
A Leaflet control to display the coordinates of the map center, especially useful on touch/mobile devices
http://xguaita.github.io/Leaflet.MapCenterCoord/
2016-01-21 18:45:45 +01:00
Iván Sánchez Ortega
d165e267a5
Moved Leaflet.AntPath plugin from renderers to animations section
2016-01-20 15:23:03 +01:00
Iván Sánchez Ortega
10fc24939a
Merge pull request #4164 from rubenspgcavalcante/gh-pages
...
Add Leaflet.AntPath plugin
2016-01-20 15:20:23 +01:00
Rubens Pinheiro
95c1834be1
Add Leaflet.AntPath plugin
2016-01-20 11:17:11 -03:00
Vladimir Agafonkin
1107a7845a
Merge pull request #4161 from tyrasd/patch-2
...
Fix link to "map.createPane" method in 1.0 docs
2016-01-19 16:47:10 +02:00
Martin Raifer
f890b4984d
Fix link to "map.createPane" method
2016-01-19 15:41:52 +01:00
Iván Sánchez Ortega
f43950e3fa
Renaming parameters (just for legibility)
2016-01-18 18:08:57 +01:00
Vladimir Agafonkin
172668895a
Merge pull request #4156 from Leaflet/tile-bounds
...
Partial revert of e2fbe196
, fixes #4145
2016-01-18 15:05:09 +02:00
Iván Sánchez Ortega
db016b7a30
Partial revert of e2fbe196
, fixes #4145
2016-01-18 11:04:48 +01:00
Iván Sánchez Ortega
12f8eb8b84
Fix conflict with wheel events from #3653
2016-01-18 10:27:29 +01:00
Iván Sánchez Ortega
afd7959959
Make linter happy.
2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
5c0ad75b44
Zoom control shall use the map's zoomDelta option.
2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
3fde3c0390
Got rid of the loop in Map.getBoundsZoom
2016-01-18 10:10:32 +01:00
Iván Sánchez Ortega
65ccc2b36c
Fractional zoom controls.
2016-01-18 10:10:32 +01:00
Vladimir Agafonkin
b85e902970
Merge pull request #4151 from pra85/2016
...
Update License year range to 2016
2016-01-18 00:14:58 +02:00
Prayag Verma
d7c71aaaf5
Update year range to 2016
2016-01-16 07:42:01 +05:30
Panu Ranta
ce6e278e99
Removed reference to non-existing layer
...
motorways layer was removed in f18d503776
2016-01-14 21:08:01 +02:00
Iván Sánchez Ortega
11ebda22d5
Work around MS Edge duplicated dblclick on DomEvent.DoubleTap
2016-01-13 14:44:33 +01:00
Iván Sánchez Ortega
ce0b289504
Test webpage for dblclick/dbltap performance
2016-01-13 14:40:30 +01:00
Iván Sánchez Ortega
25648b8f35
Possible fix for #4127 , assume dblclick DOM event exists in touch-capable browsers
2016-01-13 14:40:30 +01:00
Vladimir Agafonkin
161172bbb9
Merge pull request #4143 from Leaflet/msedge
...
Implement L.Browser.edge
2016-01-13 15:34:58 +02:00
Iván Sánchez Ortega
dde24042d2
Implement L.Browser.edge
2016-01-13 14:29:46 +01:00
Vladimir Agafonkin
87b30c2cd8
Merge pull request #4142 from Leaflet/code-of-conduct
...
Code of Conduct
2016-01-13 13:00:39 +02:00
Vladimir Agafonkin
3fefd7c917
add contributor covenant code of conduct
2016-01-13 12:53:28 +02:00
Vladimir Agafonkin
41d966fbfe
Merge pull request #4136 from grantHarris/gh-pages
...
Add L.AngularControl to plugin list
2016-01-12 01:49:59 +02:00
Grant Harris
9e923ba00d
Add L.AngularControl to plugin list
2016-01-11 14:00:45 -08:00
Iván Sánchez Ortega
387a34e0a4
Fix missing </tr> in plugins.md
2016-01-10 15:18:21 +01:00
Iván Sánchez Ortega
7d7614346e
Merge pull request #4134 from bevanhunt/gh-pages-update
...
add meteor-leaflet to frameworks
2016-01-10 15:04:05 +01:00
Bevan Hunt
136abe30cc
add meteor-leaflet to frameworks
2016-01-09 18:19:50 -08:00
Vladimir Agafonkin
bfb37dc9d0
Merge pull request #4083 from Leaflet/plugin-cheaplayerat
...
Add plugin Leaflet.CheapLayerAt
2016-01-10 01:13:03 +02:00
Vladimir Agafonkin
4c2193d074
Merge pull request #4133 from Leaflet/tiny-circles
...
Work around precision issues in circle radius, fixes #2425
2016-01-08 18:34:59 +02:00
Iván Sánchez Ortega
228d357239
Work around precision issues in circle radius, fixes #2425
2016-01-08 14:45:34 +01:00
Iván Sánchez Ortega
88fa86a692
Merge pull request #4010 from Leaflet/dragend-click
...
Fix event target fallbacking to map after marker drag (fix #3971 )
2016-01-08 13:43:11 +01:00
Iván Sánchez Ortega
6a283294fa
Extra test case for #4093
2016-01-08 13:27:48 +01:00
Iván Sánchez Ortega
653f5d01ff
Merge pull request #4099 from tcoats/tileunload-cases
...
Fire tileunload for all unloading of tiles
2016-01-08 13:27:24 +01:00
Iván Sánchez Ortega
7de33f0f7b
Merge pull request #4108 from Leaflet/geojson-case
...
Consistent GeoJSON casing
2016-01-08 11:32:36 +01:00
Iván Sánchez Ortega
6b23688121
Merge pull request #4110 from hyperknot/retina-fix
...
retina url fix
2016-01-08 11:31:20 +01:00
Iván Sánchez Ortega
adbcf75c92
Merge pull request #4114 from Leaflet/projected-bounds-from-all-polyline-coords
...
Use all projected coords when calculating Polyline's pixel bounds.
2016-01-08 11:25:27 +01:00
Iván Sánchez Ortega
077ba0cbdf
Point to 0.7.x docs by default
2016-01-08 10:49:40 +01:00
Iván Sánchez Ortega
43123a6085
Merge pull request #4129 from ghybs/patch-1
...
Plugins.md corrected link to Search & popups
2016-01-07 10:26:11 +01:00
ghybs
7f67924a4a
Plugins.md corrected link to Search & popups
2016-01-07 09:35:13 +04:00
Vladimir Agafonkin
7765399454
Merge pull request #4126 from unbam/patch-1
...
Update plugins.md
2016-01-05 19:14:46 +02:00
Masashi Takeshita
d362c5cf7f
Update plugins.md
...
Add plugin Leaflet.ZoomLabel
2016-01-05 22:10:51 +09:00
Vladimir Agafonkin
06ba284213
Merge pull request #4124 from vtduncan/png-optimize
...
Optimize PNG images with ZopfliPNG and pngquant
2016-01-03 23:34:14 +02:00
Duncan
75589f367b
Optimize PNG images with ZopfliPNG and pngquant
2016-01-03 15:09:37 +01:00
Per Liedman
832b43ac58
Use all projected coords when calculating Polyline's pixel bounds.
...
Close #3968 . Close #4020 .
2015-12-28 20:59:57 +01:00
Yohan Boniface
748ae5338f
Merge pull request #4089 from Leaflet/always-reset-enforcing-bounds
...
Make sure to always reset _enforcingBounds.
2015-12-28 16:43:00 +01:00
Per Liedman
2b64978c9e
Don't use try-finally
2015-12-28 15:00:20 +01:00
Zsolt Ero
b5d3dcf2ab
retina url fix
2015-12-28 05:45:31 +01:00
Yohan Boniface
5e6ef5ce12
Consistent GeoJSON casing
...
I've made the choice to:
- switch API and method to upper case version (GeoJSON, geoJSON, toGeoJSON)
- keep internal variable all lower case (geojson), because we usually do not
uppercase variables
Fix #2444
2015-12-25 14:00:21 +01:00
Yohan Boniface
64484d5c74
Fix event target fallbacking to map after marker drag ( fix #3971 )
2015-12-25 11:54:31 +01:00
Yohan Boniface
3fd2d5cb75
Merge pull request #4094 from jblarsen/fix-3986
...
Use _tileCoordsToKey everywhere
2015-12-25 11:38:16 +01:00
Thomas Coats
8a0719f16c
Fire tileunload for all unloading of tiles
2015-12-17 21:34:35 +13:00
Vladimir Agafonkin
92e449a0ce
Merge pull request #4098 from meetar/master
...
de-intercap "Mapbox"
2015-12-16 23:04:32 -08:00
Peter Richardson
5522af0a62
de-intercap "Mapbox"
2015-12-16 19:41:40 -05:00
Jesper Baasch-Larsen
9d1c59b5cd
use _tileCoordsToKey everywhere
2015-12-15 14:13:52 +01:00
Iván Sánchez Ortega
c954367d09
Merge pull request #4090 from Leaflet/fix-4067
...
Cast bgPos to L.Point
2015-12-14 14:22:56 +01:00
perliedman
2919d8b7bf
src/layer/marker/DivIcon.js
...
Cast bgPos to L.Point. Fixes #4067
2015-12-14 14:19:17 +01:00
perliedman
b6c87c3fa8
Make sure to always reset _enforcingBounds.
...
Even in case of early exit or exception.
Fixes #3938 .
2015-12-14 13:45:47 +01:00
Iván Sánchez Ortega
1d6291be8c
Merge pull request #4087 from mortonfox/patch-1
...
Fix features link
2015-12-13 10:37:06 +01:00
Morton Fox
c213d78346
Fix features link
2015-12-13 01:06:14 -05:00
Iván Sánchez Ortega
c474964c83
Merge branch 'gh-pages' into gh-pages-master. plugins.md was messing up the merge.
2015-12-12 19:31:42 +01:00
Iván Sánchez Ortega
8744644c25
Add 0.7.x docs and move reference to other doc versions around.
2015-12-12 19:11:53 +01:00
Lou Huang
0575ff179e
Add L.Browser.ielt9 to documentation
...
I think this one is important to know about because it triggers the .leaflet-oldie class
2015-12-11 11:39:52 -05:00
Iván Sánchez Ortega
b71a2afed3
Add plugin Leaflet.CheapLayerAt
2015-12-11 15:14:13 +01:00
Iván Sánchez Ortega
3ad418921a
Merge pull request #4082 from wandergis/gh-pages
...
add leaflet-echarts plugin
2015-12-11 11:41:45 +01:00
wandergis
e8eda5b41d
add leaflet-echarts plugin
2015-12-11 18:24:57 +08:00
Vladimir Agafonkin
b51dd19e19
Merge pull request #4025 from miguelcobain/patch-1
...
Add ember-leaflet to plugins.md
2015-12-09 11:34:43 -08:00
Vladimir Agafonkin
afbf08c46d
Merge pull request #4078 from OleLaursen/master
...
Fix bug with max bounds and custom projections
2015-12-09 11:23:07 -08:00
Ole Laursen
f90678a593
Fix bug with max bounds and custom projections.
...
_getBoundsOffset was assuming that SE/NW were the min/max corners, but
this isn't necessarily true after projection.
2015-12-09 14:34:32 +01:00
Vladimir Agafonkin
0cf95c5f5d
Merge pull request #4077 from Leaflet/fix-2427
...
When limiting center to bounds, ignore offsets less than a pixel.
2015-12-08 21:23:46 -08:00
Per Liedman
7c3d7cb139
When limiting center to bounds, ignore offsets less than a pixel.
2015-12-08 23:10:57 +01:00
Iván Sánchez Ortega
5aa1579611
Merge pull request #4075 from louh/patch-1
...
Update link to Mapzen Search geocoder plugin
2015-12-07 22:59:44 +01:00
Lou Huang
15592b323a
Update link to Mapzen Search geocoder plugin
2015-12-07 16:33:48 -05:00
Iván Sánchez Ortega
92c575f2ca
Merge pull request #4072 from fimietta/overlayed-circle-canvas-bug
...
fix bug for hover event between circle overlapping polygon on canvas
2015-12-07 12:37:06 +01:00
Daniela Remogna
609a792792
fix bug for hover event between circle overlapping polygon on canvas
2015-12-05 12:51:11 +00:00
Iván Sánchez Ortega
a6f7bea5cd
Moved sideBySide plugin to "tile display" section
2015-12-03 09:37:08 +01:00
Iván Sánchez Ortega
ca3d99233b
Merge pull request #4066 from gmaclennan/patch-2
...
Add Leaflet.Control.SideBySide plugin
2015-12-03 09:01:48 +01:00
Gregor MacLennan
11fb636e6a
Add Leaflet.Control.SideBySide plugin
2015-12-02 16:34:31 -08:00
Iván Sánchez Ortega
7e8e1fee1a
Merge pull request #4064 from gmaclennan/patch-1
...
Add Bing Maps tile layer plugin
2015-12-02 10:42:26 +01:00
Gregor MacLennan
296235a130
Add L.TileLayer.Bing to plugins.md
2015-12-02 01:38:15 -08:00
Iván Sánchez Ortega
5dac21b14b
Merge pull request #4063 from Brobin/4062_control_layers
...
call getSize() instead of _size to avoid render error
2015-12-02 08:55:42 +01:00
Brobin
70ed0e75c9
call getSize() instead of _size to avoid render error
2015-12-01 17:50:21 -06:00
Iván Sánchez Ortega
edacdf3bd5
Merge pull request #3653 from Leaflet/wheel
...
Switch to wheel event where available
2015-12-01 09:40:32 +01:00
Iván Sánchez Ortega
fa3da6503f
Skip horizontal scroll on wheel events. Thanks to Julius Buset and his laptop's trackpad.
2015-11-30 17:09:30 +01:00
Per Liedman
effd8b8826
Merge pull request #4058 from Leaflet/remove-continuous-world
...
Remove continuousWorld from docs, since it's not in the API
2015-11-27 19:18:41 +01:00
perliedman
5be98d630a
Remove continuousWorld from docs, since it's not in the API
2015-11-27 19:12:54 +01:00
Vladimir Agafonkin
db550f0848
Merge pull request #4057 from ghybs/contributingLinkSO
...
Contributing guide replaced Google Group by Stack Overflow and GIS SE links
2015-11-27 16:44:27 +02:00
ghybs
5dc1c8ff40
Replaced Google Group by Stack Overflow and GIS SE links
...
in CONTRIBUTING.md following Leaflet/Leaflet#4055 .
2015-11-27 18:22:05 +04:00
Vladimir Agafonkin
e9f7ab2a2c
Merge pull request #4055 from ghybs/gh-pages-stackOverflow
...
Replace links to google groups with ones to Stack Overflow
2015-11-27 13:45:06 +02:00
ghybs
2f89fc2058
Replace links to google groups with ones to Stack Overflow
...
Following discussion in PR #3886 , proposition to switch to SO instead of Google Groups. GIS is still mentioned though (besides Stack Overflow) on bottom of Overview page, as the community is also active there (but less material than is SO as of today).
2015-11-27 14:31:33 +04:00
Vladimir Agafonkin
a4b38a19cf
Merge pull request #4049 from MatthewBarker/gh-pages
...
Added link to leaflet-wikipedia
2015-11-25 19:12:31 +02:00
Matt Barker
e93953a9cf
Added link to leaflet-wikipedia
...
https://github.com/MatthewBarker/leaflet-wikipedia
2015-11-25 16:08:17 +00:00
Vladimir Agafonkin
5b0384ea12
Merge pull request #4046 from RLRR/pan-anim-round-newpos
...
Round new map position before animating pan
2015-11-24 12:54:55 +02:00
Vladimir Agafonkin
f23074d790
Merge pull request #4040 from Leaflet/gridlayer-pixelbounds
...
Fix GridLayer pixelBounds computation
2015-11-23 23:48:31 +02:00
Vladimir Agafonkin
14b27df620
Merge pull request #4045 from ghybs/patch-1
...
Added TileLayer.Fallback plugin
2015-11-23 19:28:07 +02:00
ghybs
5bc6780481
Added TileLayer.Fallback plugin
...
Added Leaflet.TileLayer.Fallback plugin into "Tile & image layers > Tile Load" section. Following issue / feature request #3127 .
2015-11-23 21:12:01 +04:00
Vladimir Agafonkin
25637b5654
Merge pull request #4044 from Leaflet/icon-glyph
...
Add plugin Leaflet.Icon.Glyph
2015-11-23 16:43:28 +02:00
Iván Sánchez Ortega
5d3f5739f1
Add plugin Leaflet.Icon.Glyph
2015-11-23 14:53:03 +01:00
Alex Fedosov
3a2331d6c1
round new map position before animating pan
2015-11-23 19:05:39 +06:00
Yohan Boniface
e2fbe19683
Fix GridLayer pixelBounds computation
...
Map size does not change from one zoom to another, so we dont need
to scale it.
Without this change, we are creating more or less 4x tiles when
zooming in.
There are still cases where we are requesting a bit more tiles than
what I would expect, but I see it also happens on 0.7.3
2015-11-22 23:19:57 +01:00
Vladimir Agafonkin
a8a64757a1
Merge pull request #4032 from ghybs/patch-1
...
Plugins added Leaflet.Photo and FeatureGroup.SubGroup
2015-11-19 14:07:25 +02:00
ghybs
1fc70efd40
Corrected spelling of Bjørn Sandvik
...
Replaced "Bjorn" by "Bjørn"
2015-11-19 16:02:15 +04:00
ghybs
c9597c3b6a
Added Leaflet.Photo and FeatureGroup.SubGroup
...
Added "Leaflet.Photo" to "Overlay display > Markers & renderers" and "Leaflet.FeatureGroup.SubGroup" to "Overlay Display > Clustering/Decluttering".
2015-11-19 15:56:31 +04:00
Andrew Harvey
7973da4650
fix maxNativeZoom wording
...
e.g. If my tile source only goes up to z15 but I want users to zoom into z17, then I set maxNativeZoom=15, maxZoom=17, and for all zoom levels higher than maxNativeZoom, tiles from maxNativeZoom will be loaded and auto-scaled.
2015-11-19 17:34:34 +11:00
Vladimir Agafonkin
63f239a20f
Merge pull request #4028 from Leaflet/geojson-setstyle
...
Do not set layer.options a reference to layer.defaultOptions (fix #3990 )
2015-11-18 17:02:46 +02:00
Yohan Boniface
7a1496ea4d
Do not set layer.options a reference to layer.defaultOptions ( fix #3990 )
...
git bisect point at ad9d0f8c7f
2015-11-18 13:29:02 +01:00
Miguel Andrade
4fee80ba9b
Add ember-leaflet to plugins.md
...
I believe that [ember-leaflet](http://www.ember-leaflet.com/ ) is worth adding to the list.
2015-11-17 20:15:56 +00:00
Iván Sánchez Ortega
03a4925466
Merge pull request #4019 from utahemre/patch-1
...
Add new plugin: Leaflet.GeoJSONAutocomplete
2015-11-16 14:41:51 +01:00
Yunus Emre ÖZKAYA
b6d95e5d7c
Update plugins.md
2015-11-16 15:16:05 +02:00
Yunus Emre ÖZKAYA
4d61eafc68
Add new plugin: Leaflet.GeoJSONAutocomplete
2015-11-16 14:45:34 +02:00
Yohan Boniface
5fce8dda51
Fix bad Label description in deps.js
2015-11-15 19:22:57 +01:00
Yohan Boniface
850ba7fe62
Move _setPosition from L.Popup to L.PopupBase so it can be inherited
...
Idea is to make it easier for plugins to create custom popups or
labels or whatever HTML element that would be bound to a map layer.
2015-11-15 19:18:29 +01:00
Yohan Boniface
d8b7f6fcbe
L.Label: honour opacity option
2015-11-15 19:15:14 +01:00
Yohan Boniface
9d0b13b991
Add some basic unittests for L.Label
2015-11-15 18:56:27 +01:00
Yohan Boniface
92217bc969
Distinguish labelopen/close and popupopen/close events
2015-11-15 17:47:25 +01:00
Vladimir Agafonkin
c55f89972b
Merge pull request #4016 from Leaflet/toggle-popup
...
Fix popup toggle on marker click (fix #3992 )
2015-11-15 10:44:39 +02:00
Yohan Boniface
fd5411d74b
Fix popup toggle on marker click ( fix #3992 )
...
Issue was:
- popup toggling is made on 'click' event
- map listen to 'preclick' to close any open popup
- at second user click, 'preclick' has been fired, then popup
closed, so the popup toggling was reopening it
- this was not an issue before 0d3448d494
because 'preclick' on the marker was not bubbled to the map
- also the unittest covering this use case was too much coupled with
the use case with calling marker.fire instead of simulating user
click on the marker icon
2015-11-14 20:41:53 +01:00
Vladimir Agafonkin
1f624487ab
Merge pull request #4012 from timwis/patch-1
...
Add leaflet-choropleth
2015-11-14 00:03:31 +02:00
Tim Wisniewski
a29fda6ed4
Add leaflet-choropleth
...
https://github.com/timwis/leaflet-choropleth
2015-11-12 09:15:24 -05:00
Vladimir Agafonkin
3836c7a6c9
Merge pull request #4009 from torfsen/gh-pages-torfsen-url-fix
...
Fix URLs for Leaflet.zoomhome plugin.
2015-11-11 19:47:19 +02:00
Torf
8cb0bd501c
Fix URL for Leaflet.zoomhome author.
2015-11-11 18:24:39 +01:00
Torf
ab64f04ac8
Fixed URLs for Leaflet.zoomhome plugin.
2015-11-11 18:13:21 +01:00
Iván Sánchez Ortega
99a48a5255
Merge pull request #4000 from simsibimsiwimsi/master
...
issue #3995 fixed check for maxZoom option to honor maxZoom 0
2015-11-10 09:04:02 +01:00
Vladimir Agafonkin
7d7ece0e55
Merge pull request #3999 from Leaflet/ie8-minzoom-tiles
...
Skip _updateLevels when out of min/max zoom (prevents IE8 exceptions)
2015-11-09 15:48:23 +02:00
Iván Sánchez Ortega
7d35531236
Skip _updateLevels when out of min/max zoom (prevents IE8 exceptions)
2015-11-09 14:35:54 +01:00
Vladimir Agafonkin
db3604ff2c
Merge pull request #3998 from Leaflet/null-getposition
...
L.DomUtil.getPosition should return a fallback value (for VML in IE8)
2015-11-09 13:53:28 +02:00
Iván Sánchez Ortega
da57507494
L.DomUtil.getPosition should return a fallback value (for VML in IE8)
2015-11-09 12:40:21 +01:00
simsibimsiwimsi
3cfb1eff04
fixed check for maxZoom option to honor maxZoom 0
...
Checking if maxZoom is a number will work fine for {maxZoom: 0} where
options.maxZoom evaluates to false.
2015-11-08 22:44:47 +01:00
Iván Sánchez Ortega
aebf591693
Merge pull request #3978 from celadevra/issue3976
...
init interaction regardless of new icon or not
2015-11-02 10:03:33 +01:00
Haoyang Xu
772220070f
init interaction regardless of new icon or not
...
[issue #3976 ]
previously interaction only get inited when not reusing icon, i.e. when addIcon
flag is set to true. by taking the statement out of the if condition,
interaction is inited whenever setIcon is called.
2015-10-30 20:50:28 +08:00
Vladimir Agafonkin
92d169ff3f
Merge pull request #3910 from Leaflet/gh-pages-master-unbalanced-tags
...
Fix a bunch of unbalanced tags
2015-10-29 13:52:40 +02:00
Iván Sánchez Ortega
1d9f270320
Integration plugins: JSF2Leaf
2015-10-29 12:42:53 +01:00
Vladimir Agafonkin
ca43794128
simplify bower setup, remove component
...
Component is not an active project anymore, and bower no longer
requires a version field in the config.
2015-10-26 19:25:39 +02:00
Vladimir Agafonkin
341d3697fb
fix download link, close #3963
2015-10-26 13:39:10 +02:00
Vladimir Agafonkin
c91d47e9e7
remove all non-website files
2015-10-26 12:19:41 +02:00
Vladimir Agafonkin
a6ab9277cc
update for 0.7.7
2015-10-26 12:16:58 +02:00
Vladimir Agafonkin
07daf7cb5c
use CDN Leaflet links everywhere
2015-10-26 12:16:47 +02:00
Vladimir Agafonkin
3c3a571585
add 0.7.7 entry in the changelog
2015-10-26 12:09:53 +02:00
Steve
b397293dfd
Remove unused/obsolete CloudMade globals
2015-10-25 10:06:34 -05:00
Iván Sánchez Ortega
82ab24c7f8
Add plugin Leaflet.Polyline.SnakeAnim
2015-10-23 13:48:10 +02:00
Iván Sánchez Ortega
be17849644
Merge pull request #3957 from MartinDelille/patch-1
...
fix typing error
2015-10-21 19:14:46 +02:00
Martin Delille
c117fab709
fix typing error
2015-10-21 19:12:55 +02:00
Iván Sánchez Ortega
a969d20476
DomEvent.getWheelDelta() now aware of WheelEvent.deltaMode
2015-10-20 10:31:16 +02:00
Iván Sánchez Ortega
f6e9f90c41
Merge pull request #3950 from klaftertief/fix-canvas-zoom_split-events
...
Alternative fix for #3947
2015-10-20 09:40:53 +02:00
Vladimir Agafonkin
2a5857d172
Merge pull request #3956 from Leaflet/canvas-click-interactive-false
...
Fix interactive=false not taken into account for canvas (fix #3946 )
2015-10-20 00:03:28 +03:00
Yohan Boniface
d901a5fc07
Fix interactive=false not taken into account for canvas ( fix #3946 )
2015-10-19 21:39:04 +02:00
Vladimir Agafonkin
57616c7c5d
Merge pull request #3954 from bambrikii/gh-pages
...
leaflet-layer-tree-plugin: Leaflet plugin allows to switch layers on …
2015-10-18 19:48:42 +03:00
Ալեքսանդր Առաքելյան
015534b182
leaflet-layer-tree-plugin: Leaflet plugin allows to switch layers on and off, display then in a tree-like way
2015-10-18 19:29:49 +03:00
Yohan Boniface
b685d22eee
Add popup in label debug page
2015-10-18 10:37:12 +02:00
Yohan Boniface
d7b721877c
First naive L.Label version
2015-10-17 22:42:17 +02:00
Jonas Coch
3e0067fab7
Split renderer events and use zoomstart
only in SVG renderer
2015-10-16 20:32:44 +02:00
Jonas Coch
e6e165869f
Disable _onZoomStart
in canvas renderer
...
This fixes disappearing paths when starting an animated zoom.
2015-10-16 13:27:53 +02:00
Yohan Boniface
c2a3dc9f18
Merge pull request #3942 from klaftertief/fix-canvas-move
...
Only check for moving draggable in canvas renderer when map is draggable
2015-10-15 21:09:46 +02:00
Jonas Coch
0df4d57f91
Use moving() method to simplify check in canvas renderer
2015-10-15 20:45:23 +02:00
Jonas Coch
b0d5c12b50
Add moving() method to MapDrag handler
2015-10-15 20:44:17 +02:00
Jonas Coch
ace08c17ca
Only check for moving draggable in canvas renderer when map is draggable
2015-10-15 17:21:22 +02:00
Vladimir Agafonkin
0e3403baf2
add a note about npm command to install beta
2015-10-14 21:58:44 +03:00
Vladimir Agafonkin
e080f69343
Merge pull request #3933 from Leaflet/gh-pages-beta2-release
...
Beta2 release blog post
2015-10-14 21:28:52 +03:00
Vladimir Agafonkin
1897108ebd
add a note to plugin developers
2015-10-14 21:24:56 +03:00
Vladimir Agafonkin
6d3eed306c
Merge pull request #3934 from willemarcel/patch-1
...
Add Leaflet.GlobeMiniMap to plugins page
2015-10-14 21:11:36 +03:00
Wille Marcel
3f782fa73d
Add Leaflet.GlobeMiniMap to plugins page
2015-10-14 14:33:24 -03:00
Iván Sánchez Ortega
acc0ad8d05
Beta2 release blog post draft.
2015-10-14 19:28:48 +02:00
Yohan Boniface
ad15930582
Change beta links in download page
2015-10-14 18:35:21 +02:00
Vladimir Agafonkin
55fe462508
v1.0.0-beta.2
2015-10-14 19:17:05 +03:00
Vladimir Agafonkin
857848fbee
come back to the old publishing approach with improvements
2015-10-14 19:16:05 +03:00
Vladimir Agafonkin
d9917fa240
tag npm publish with beta
2015-10-14 18:28:31 +03:00
Vladimir Agafonkin
213c602f4e
new Travis configuration with automatic releases
2015-10-14 18:09:47 +03:00
Vladimir Agafonkin
80960fe9e7
add the now missing phantomjs dep
2015-10-14 16:44:21 +03:00
Vladimir Agafonkin
9ebd2f03a0
update changelog
2015-10-14 16:32:27 +03:00
Dave Leaver
2de112b8f8
Update plugins.md
2015-10-14 10:25:25 +13:00
Dave Leaver
fcd35e7921
Update plugins.md
2015-10-14 10:25:08 +13:00
Iván Sánchez Ortega
4cdb07f9f1
Merge pull request #3928 from dagjomar/patch-2
...
Add new plugin: VisualClick
2015-10-13 21:14:56 +02:00
Dag Jomar Mersland
f793bea1ab
Add new plugin: VisualClick
2015-10-13 21:13:05 +02:00
Vladimir Agafonkin
a147dae838
Merge pull request #3923 from Leaflet/renderer-pinch-zoom
...
Better handling of Renderer positioning during pinch-zoom, fixes #3919
2015-10-13 15:58:52 +03:00
Yohan Boniface
f75d80a626
Canvas: layer is removed later by this._draw ( fix #3926 )
2015-10-12 17:11:50 +02:00
Yohan Boniface
514e27aa6f
CHANGELOG
2015-10-12 15:22:26 +02:00
Iván Sánchez Ortega
a7f72fd6bd
Merge pull request #3925 from Leaflet/layers-control-touch
...
Fix control layers scrolling on touch (fix #2882 )
2015-10-12 14:48:52 +02:00
Iván Sánchez Ortega
c6bef03929
Merge pull request #3924 from Leaflet/setview-duration
...
Fix duration not passed through from setView to panBy (fix #3300 )
2015-10-12 14:39:08 +02:00
Yohan Boniface
9d10699bcd
Fix control layers scrolling on touch ( fix #2882 )
2015-10-12 14:33:32 +02:00
Iván Sánchez Ortega
2191cfa8b0
Better handling of Renderer positioning during pinch-zoom, fixes #3919
2015-10-12 14:10:48 +02:00
Yohan Boniface
d3198d8d39
Fix duration not passed through from setView to panBy ( fix #3300 )
2015-10-12 14:02:30 +02:00
Yohan Boniface
69e81472be
Add last PRs in CHANGELOG
2015-10-12 12:55:09 +02:00
Vladimir Agafonkin
a0ff396b94
Merge pull request #3921 from Leaflet/pan-shiftkey
...
multiply offset by 3 on keyboard pan when shift key is pressed
2015-10-10 21:28:38 +03:00
Vladimir Agafonkin
8a5184193e
Merge pull request #3917 from Leaflet/canvas-stop-event
...
Canvas events fixes (fix #3915 )
2015-10-10 21:24:37 +03:00
Yohan Boniface
108fee799c
Add a bunch of missing PR references to beta2 changelog
2015-10-10 19:46:33 +02:00
Yohan Boniface
a41a70da49
Group changes by category in beta2 changelog
2015-10-10 19:31:40 +02:00
Yohan Boniface
6af0cfde53
multiply offset by 3 on keyboard pan when shift key is pressed
2015-10-10 18:03:05 +02:00
Iván Sánchez Ortega
2ab15da792
Merge pull request #3920 from louh/patch-1
...
Add Pelias/Mapzen Search Geocoder to plugins
2015-10-10 00:45:56 +02:00
Lou Huang
2f124f7e92
Add Pelias/Mapzen Search Geocoder to plugins
2015-10-09 18:04:00 -04:00
Iván Sánchez Ortega
5d02b03077
Merge pull request #3918 from Leaflet/default-radius
...
Fix L.Circle init without options.radius
2015-10-09 20:43:34 +02:00
Yohan Boniface
6c3b9e10b8
Fix L.Circle init without options.radius
2015-10-09 20:24:42 +02:00
Yohan Boniface
0b0989f9f1
Canvas events fixes ( fix #3915 )
...
- fix fireEvent called for each layer containing event point
- fix layer not removed from this._layer at remove
- fix L.DomEvent.stop(e) not honoured for canvas because events
are both listenned on canvas container and map container
2015-10-09 18:28:35 +02:00
Vladimir Agafonkin
c82aaa4158
Merge pull request #3907 from Leaflet/beta2-changelog
...
1.0.0-beta2 changelog
2015-10-09 00:23:14 +03:00
Vladimir Agafonkin
ec714a76f3
Merge pull request #3908 from danzel/popup-movement
...
bringToFront / bringToBack for popups.
2015-10-09 00:22:51 +03:00
danzel
4fa857a07c
Put changelog in the right place
2015-10-09 10:14:06 +13:00
danzel
5c529f5175
Fix a bunch of unbalanced tags
2015-10-09 10:11:56 +13:00
danzel
72f4a43457
Document change in CHANGELOG.md
2015-10-09 09:59:45 +13:00
danzel
8f6d188088
bringToFront / bringToBack for popups.
...
Fixes #3813
2015-10-09 09:49:49 +13:00
Yohan Boniface
792e91fd16
Typo
2015-10-08 15:41:40 +02:00
Iván Sánchez Ortega
08d14a3ed0
Draft for the 1.0.0-beta2 changelog
2015-10-08 15:28:33 +02:00
Vladimir Agafonkin
441a02b85a
Merge pull request #3803 from Leaflet/mouseout-child
...
Make sure mouse has an external relatedTarget on mouseout/over
2015-10-08 14:59:31 +03:00
Yohan Boniface
7c2ac9f39d
Make sure mouse has an external relatedTarget on mouseout/over ( fix #3797 #3708 )
2015-10-08 14:57:33 +03:00
Vladimir Agafonkin
3bf767c5a9
Merge pull request #3897 from Leaflet/transitionend-timeout
...
Zoom anim fires 'transitionend' event handler on a timer
2015-10-08 14:08:03 +03:00
Vladimir Agafonkin
a34567e7fc
Merge pull request #3906 from Leaflet/scale-border-box
...
Use border-box sizing for scale control (fix #3668 )
2015-10-08 14:06:49 +03:00
Yohan Boniface
c77ca40ccb
Use border-box sizing for scale control ( fix #3668 )
...
Since 8a33e94c0e
we are not more removing the padding programatically.
2015-10-08 12:14:25 +02:00
Vladimir Agafonkin
e5964e81a7
Merge pull request #3905 from Leaflet/zoomanim-regression
...
Do not reset a gridlayer during a zoom animation, fixes #3902
2015-10-08 12:50:15 +03:00
Iván Sánchez Ortega
8685e6a106
Do not reset a gridlayer during a zoom animation, fixes #3902
2015-10-08 11:46:19 +02:00
Vladimir Agafonkin
0964aa882d
Revert "Removing unneeded L.Map._latLngToNewLayerPoint, see #3895 "
...
This reverts commit 08c779367f
.
2015-10-08 01:06:41 +03:00
Iván Sánchez Ortega
e15097dc1a
Hack iOS tile loading race hack-fix from 3e200bed
2015-10-07 17:04:24 +02:00
Vladimir Agafonkin
4d934dfecb
Merge pull request #3872 from Leaflet/tap-mousemove
...
Simulate mousemove on touchmove (fix #3825 )
2015-10-07 16:50:17 +03:00
Yohan Boniface
23e1eafe5b
Add z-index to anchors ( fix #3746 )
2015-10-07 14:54:56 +02:00
Vladimir Agafonkin
ca15b9be8d
Merge pull request #3882 from Leaflet/openpopup-while-animating
...
Prevent Popup._adjustPan while already panning (fix #3744 )
2015-10-07 13:52:32 +03:00
Yohan Boniface
03d3bee8b1
Prevent Popup._adjustPan while already panning ( fix #3744 )
2015-10-07 12:34:42 +02:00
Iván Sánchez Ortega
08c779367f
Removing unneeded L.Map._latLngToNewLayerPoint, see #3895
2015-10-07 12:30:20 +02:00
Vladimir Agafonkin
be43485e02
Merge pull request #3895 from Leaflet/renderer-animatezoom
...
L.Renderer shall use center and not topleft as reference
2015-10-07 13:28:12 +03:00
Vladimir Agafonkin
5b600c5cbd
Merge pull request #3898 from Leaflet/tilelayer-nowrap
...
GridLayers implement the 'noWrap' option (previously in 0.7.x TileLayers)
2015-10-06 20:52:48 +03:00
Iván Sánchez Ortega
c101b836c7
GridLayers implement the 'noWrap' option (previously in 0.7.x TileLayers)
2015-10-06 16:38:30 +02:00
Iván Sánchez Ortega
4eb39d5312
Zoom anim fires 'transitionend' event handler on a timer, see #3689 , #2693
...
Nothing but a port of a hack in stable, see 91477588fa
2015-10-06 16:09:33 +02:00
Iván Sánchez Ortega
a2595bbfe8
L.Renderer shall use center and not topleft as reference, fixes #3769
2015-10-06 15:35:10 +02:00
Vladimir Agafonkin
1306dd8709
Merge pull request #3893 from Leaflet/edge-keyboard-focus
...
Workaround for keyboard tabindex in MS Edge
2015-10-06 16:32:44 +03:00
Iván Sánchez Ortega
c9532a8d92
Workaround for keyboard tabindex in MS Edge, fixes #3772
2015-10-06 10:12:11 +02:00
Iván Sánchez Ortega
2f54813172
Merge pull request #3890 from mattesCZ/gh-pages
...
Added new plugin - Tiny Leaflet Directive
2015-10-05 14:46:46 +02:00
mattesCZ
d374915f42
Moved next to Angular Leaflet directive.
2015-10-05 14:44:25 +02:00
mattesCZ
bee95a0d3a
Added new plugin - Tiny Leaflet Directive
2015-10-05 14:24:09 +02:00
Iván Sánchez Ortega
b7bb0fea13
Merge pull request #3884 from GhostGroup/gh-pages-right-click-plugin
...
Add Leaflet.DoubleRightClickZoom to plugins.md
2015-10-05 10:06:09 +02:00
Vladimir Agafonkin
81d8710f15
Merge pull request #3885 from MAD-GooZe/gh-pages
...
add Leaflet.Arc information
2015-10-02 10:59:17 +03:00
Alexey Gusev
a15e62c816
add Leaflet.Arc information
2015-10-02 02:07:38 +03:00
Mike O'Toole
fe82b17605
Add Leaflet.DoubleRightClickZoom to plugins.md
2015-10-01 12:58:59 -07:00
Vladimir Agafonkin
8f47372af6
Merge pull request #3878 from Leaflet/fix-moveend-recurse
...
Add flag not to run panInsideBounds when already panning (fix #3848 )
2015-09-30 13:16:45 +03:00
Yohan Boniface
8f189bce23
Add flag not to run panInsideBounds when already panning ( fix #3848 )
2015-09-30 12:11:26 +02:00
Iván Sánchez Ortega
f02b26f51c
Add plugin Leaflet.singleclick (the 1.0.0-compatible version)
2015-09-29 10:56:00 +02:00
Iván Sánchez Ortega
4f2f22e8ff
Merge pull request #3874 from kumy/patch-1
...
fix a typo
2015-09-28 21:10:09 +02:00
kumy
3b7a6951ed
fix a typo
2015-09-28 21:07:57 +02:00
Yohan Boniface
a1d488a9ac
Simulate mousemove on touchmove ( fix #3825 )
2015-09-28 16:28:07 +02:00
Vladimir Agafonkin
8c8d0ac7ee
fix whitespace in comments
2015-09-25 15:37:07 +03:00
Vladimir Agafonkin
cfdbd10431
enforce indentation in specs
2015-09-25 13:55:37 +03:00
Vladimir Agafonkin
301473ad4d
more strict eslinting
2015-09-25 13:40:21 +03:00
Coen Mulders
bcde047f09
Added zoom for the custom scale in L.CRS.Simple
...
Fixes #3867
2015-09-25 13:16:52 +03:00
Vladimir Agafonkin
03873ac2ef
Merge pull request #3865 from jieter/patch-2
...
Fix dead urls because of username change.
2015-09-23 11:38:49 +03:00
Jan Pieter Waagmeester
c1f05fc80f
Fix dead urls because of username change.
2015-09-23 10:23:11 +02:00
Vladimir Agafonkin
f335bf68e7
Merge pull request #3860 from elfalem/patch-1
...
Add new plugin - Leaflet.curve
2015-09-22 13:15:29 +03:00
Yohan Boniface
3ff1b65b64
Merge pull request #3861 from Intermaps/changelog-typo-fix
...
Fix typo in changelog.md
2015-09-22 10:15:53 +02:00
Egon Steiner
6f8b278f86
fix typo in pull url
2015-09-22 10:12:09 +02:00
elfalem
3a174528dd
Add new plugin - Leaflet.curve
2015-09-21 20:53:02 -04:00
Vladimir Agafonkin
7a9f2aefb3
Merge pull request #3859 from olee/patch-1
...
Fix bug with maxNativeZoom == 0
2015-09-22 00:57:53 +03:00
Vladimir Agafonkin
47a4d0573e
Merge pull request #3840 from Leaflet/canvas-redrawbounds
...
Comprehensive bounds on canvas layer update (fix #3583 )
2015-09-22 00:22:56 +03:00
Björn Zeutzheim
458d5c9ac8
Fix bug with maxNativeZoom == 0
...
Setting `maxNativeZoom` to `0` does not work as expected (only use zoom level 0) but instead disables the function.
This PR fixes this problem.
Same fix applies for (afaik current stable) 0.7.5
2015-09-22 01:49:05 +09:00
Yohan Boniface
8ea42c1ccc
Add padding on canvas redraw bounds
2015-09-20 12:32:40 +02:00
Yohan Boniface
f643d25637
Use clip to limit canvas redraw area ( fix #3583 )
2015-09-20 12:32:40 +02:00
Yohan Boniface
e576ce528e
Linting
2015-09-20 12:32:15 +02:00
Vladimir Agafonkin
6e9236de93
Merge pull request #3837 from Leaflet/rendered-update
...
Always call renderer.getEvents before Path.getEvents (fix #3836 )
2015-09-20 00:06:36 +09:00
Iván Sánchez Ortega
e0aa981818
Merge pull request #3841 from javimolla/fix2990
...
Extract logic from getScaleZoom to CRS
2015-09-19 11:03:00 +09:00
Iván Sánchez Ortega
3924d49bcd
Consistency between L.circle and L.circleMarker ( #3785 )
2015-09-17 23:22:55 +09:00
Vladimir Agafonkin
d1ea887b1b
Merge pull request #3694 from Leaflet/disabled-layer-control
...
L.Control.Layers shows disabled inputs for non-visible tilelayers
2015-09-17 18:04:29 +09:00
Vladimir Agafonkin
e1c714edab
Merge pull request #3722 from Leaflet/gridlayer-zindex-fix
...
Always force GridLayer to have a zIndex
2015-09-17 17:57:13 +09:00
Matthew Mueller
b8aea43414
Fixing negative acceptableHeights and supporting browser resize
...
The previous formula calculated acceptableHeight as (map height - (4 * element offset). If the element had other controls above it, it might be pushed lower on the screen, which depending on screen size means that the acceptableHeight could quickly become a negative value which causes a bug. For example: my map has a height of 815px, and my layer control is offset from the top 277px so it is almost halfway down my screen. Using the old formula, the acceptable height would be 815 - (277 * 4) = -293. Since the acceptable height was less than the client height the scrollbar would show up, but it would be greyed out, and because the height limit was negative, the window would not have a height limit and expand off the map. Using the new formula it takes the vertical offset, and adds 50px(element is 36px,+ bottom credits height + a few pixels for a bottom margin) to determine max height. This means the element will be able to expand until it is a few pixels above the credits at the bottom of the map before it stops expanding.
Additionally, by resetting the form.style.height to null before checking the clientHeight, we are removing the limit on the height of the control, so that if someone resizes their browser window to make it larger when viewing the layer list, the list will reset the max height instead of keeping the smaller max height that was already set, and in addition, if the scrollbar is no longer needed, it will be removed.
2015-09-17 17:42:56 +09:00
Vladimir Agafonkin
a54c239238
Merge pull request #3815 from Leaflet/tilelayer-update-zoom
...
Fix TileLayer._update so it doesn't break drag-then-pinch interactions.
2015-09-17 17:36:13 +09:00
Yohan Boniface
bd55613cb5
Always call renderer.getEvents before Path.getEvents ( fix #3836 )
2015-09-16 11:35:26 +02:00
Vladimir Agafonkin
9ee0fbed98
Merge pull request #3831 from Leaflet/transform3D-threshold
...
Cleaner code for L.Map._onMoveEnd
2015-09-16 16:10:13 +09:00
javimolla
76868ad3f4
Extract logic from getScaleZoom to CRS
...
Added tests for custom crs with zooms not power of two related
2015-09-15 17:58:19 +02:00
Vladimir Agafonkin
1ef9e220e4
Merge pull request #3839 from danzel/3804
...
Redo some (ms)pointer work to be consistent and fix IE10
2015-09-15 21:13:12 +09:00
danzel
c60fd1d17b
Only preventDefault for non-mouse events, this makes mouse events still cause mousedown/up events, which is usually what you want. Fixes #3804
2015-09-14 13:19:16 +12:00
danzel
c6d8587753
Don't use maxTouchPoints detection in IE11+ (or edge) either, matching our msPointer detection.
2015-09-14 13:18:43 +12:00
Vladimir Agafonkin
24e2b324c8
Merge pull request #3826 from filipzava/gh-pages
...
add leaflet-mapkey-icon plugin
2015-09-13 12:38:39 +03:00
Iván Sánchez Ortega
17c180e1ef
Update max precision of CSS transforms to those of 32-bit floats, as used by Firefox
2015-09-11 16:18:24 +02:00
Yohan Boniface
5f1b230bda
Cleaner code for L.Map._onMoveEnd
2015-09-11 12:20:51 +02:00
Iván Sánchez Ortega
83d45c2327
Merge pull request #3830 from Leaflet/transform3D-threshold
...
Prevent to use extreme values in transform3d
2015-09-11 11:04:02 +02:00
Yohan Boniface
c5172f3088
Prevent to use extreme values in transform3d
...
- FF bugs in positioning the element
- Chrom(e|ium) have a one pixel offset
2015-09-11 11:02:22 +02:00
Filip Zavadil
0a6239d042
added leaflet-mapkey-icon
2015-09-10 10:33:26 +02:00
Filip Zavadil
72ec9334c0
Merge pull request #1 from Leaflet/gh-pages
...
add plugins
2015-09-10 10:19:17 +02:00
Iván Sánchez Ortega
e5182affc6
Make GridLayer._update always depend on the map's zoom level.
2015-09-10 09:41:39 +02:00
Yohan Boniface
5d25c5727a
Merge pull request #3823 from filipzava/patch-3
...
add leaflet-control-window
2015-09-10 08:35:04 +02:00
Dave Leaver
fb71e2c11e
Remove + characters
2015-09-10 09:15:59 +12:00
Filip Zavadil
0c8d714884
typo leaflet-control-window
2015-09-09 17:45:32 +02:00
Filip Zavadil
ae98502af2
add leaflet-control-window
2015-09-09 17:36:06 +02:00
Iván Sánchez Ortega
5514cfccc0
Merge pull request #3822 from filipzava/patch-2
...
add leaflet-icon-pulse
2015-09-09 17:31:15 +02:00
Filip Zavadil
fa79c182ca
add leaflet-icon-pulse
2015-09-09 17:27:54 +02:00
Iván Sánchez Ortega
bc36fb645d
Make linter happy.
2015-09-09 16:46:09 +02:00
Iván Sánchez Ortega
641cdd07f7
Clarifications for GridLayer._update
2015-09-09 16:25:20 +02:00
Iván Sánchez Ortega
e5a208c670
Fix #3355 by not aborting tile loading for tiles in the "active" zoom level.
2015-09-09 16:06:57 +02:00
Iván Sánchez Ortega
3c3f23f339
Fix small minZoom/maxZoom infinite-loop-on-map-load regression
2015-09-09 15:41:56 +02:00
Iván Sánchez Ortega
7098b04cd7
Modify GridLayer update logic to run smoother on zoom pinch & flyTo anims.
2015-09-09 14:03:12 +02:00
Iván Sánchez Ortega
944f2de3a8
Fix TileLayer._update so it doesn't break drag-then-pinch interactions.
2015-09-08 15:24:51 +02:00
Vladimir Agafonkin
e802bb964b
Merge pull request #3816 from lightoze/patch-1
...
Fix typo in popup event names
2015-09-08 15:49:25 +03:00
Vladimir Kulev
471bec5f9a
Fix typo in popup event names
2015-09-07 21:26:06 +03:00
Vladimir Agafonkin
504c7d79d7
don't break feature blocks on main page
2015-09-04 18:18:14 +02:00
Vladimir Agafonkin
08d655fe66
upgrade deps and stricter eslint
2015-09-04 17:46:55 +02:00
Iván Sánchez Ortega
9cbb761c15
Merge pull request #3806 from Leaflet/getevents
...
Call layer.getEvents before calling layer.onAdd (fix #3745 )
2015-09-04 10:09:45 +02:00
Yohan Boniface
61c07bd3e3
Call layer.getEvents before calling layer.onAdd ( fix #3745 )
2015-09-04 10:02:11 +02:00
Vladimir Agafonkin
ed0cf6e772
update changelog about 0.7.5
2015-09-02 10:25:29 +02:00
Vladimir Agafonkin
b1bc6305a2
bump to 0.7.5
2015-09-02 10:24:15 +02:00
Iván Sánchez Ortega
a85c6071ca
Tweak the 0.7.4 blog post now that we've done 0.7.5.
2015-09-02 10:21:37 +02:00
Iván Sánchez Ortega
a9f9c04386
Merge pull request #3795 from mejackreed/update-example
...
quick start guide should reference the Leaflet maintained CDN
2015-09-01 16:37:35 +02:00
Jack Reed
7fbb6b08b6
quick start guide should reference the Leaflet maintained CDN
2015-09-01 07:33:19 -07:00
Vladimir Agafonkin
794036aee2
Merge pull request #3794 from Leaflet/gh-pages-blog-0.7.4
...
Add short blog post about 0.7.4
2015-09-01 15:34:21 +02:00
Iván Sánchez Ortega
2abeace05d
Add short blog post about 0.7.4
2015-09-01 15:00:34 +02:00
Vladimir Agafonkin
fe5e8728ac
add a 0.7.4 changelog
2015-09-01 13:01:25 +02:00
Vladimir Agafonkin
0f4e84f04c
update to 0.7.4
2015-09-01 12:50:05 +02:00
Iván Sánchez Ortega
809186dcc9
Make linter happy about whitespace
2015-08-31 16:41:54 +02:00
Iván Sánchez Ortega
e698f641af
Rectangle.setBounds() must return a value
2015-08-28 12:39:28 +02:00
Iván Sánchez Ortega
da8149c164
Move L.Layer.isPopupOpen to appropiate file
2015-08-27 23:56:02 +02:00
Vladimir Agafonkin
28c8417c49
Merge pull request #3776 from knabar/fix-missing-radius
...
Use radius if radiusY is not set
2015-08-26 11:31:12 +02:00
Iván Sánchez Ortega
c565cd4687
Merge pull request #3770 from ilfa/fix-init-bug
...
Fix init bug when we have script tags without src
2015-08-25 10:53:04 +02:00
i.taratuhin
5a61a5ec48
fix init bug when script in document don't have src
2015-08-25 14:47:18 +06:00
Iván Sánchez Ortega
fc6bcd6a70
Merge pull request #3758 from openfirmware/patch-1
...
Add PolarMap.js plugin to basemap providers
2015-08-19 01:17:38 +02:00
James Badger
b0259a1f8d
Add PolarMap.js plugin to basemap providers
...
PolarMap.js is a wrapper library around Leaflet that makes integration with the ArcticWebMap tile server easy.
http://webmap.arcticconnect.org/polarmap.html
The API has a simple layer that makes it easy to get started, and a lower-level layer that can be used to integrate with other Leaflet plugins or applications.
ArcticWebMap is a tile server our research lab runs and it provides OpenStreetMap data in five Arctic-focused projections: EPSG:3571 – EPSG:3576. In these projections, Arctic areas do not suffer from the distortion present in Web Mercator at the expense that everything below 45˚N is highly distorted. See the [ArcticWebMap](http://webmap.arcticconnect.org/index.html ) page for an example. We are using [a fork of the openstreetmap-carto style](https://github.com/GeoSensorWebLab/awm-styles ) that has been modified to include bathymetry data, more lake data, CanVec contour data (Canadian Territories only), and other enhancements for northern communities.
Both ArcticWebMap and PolarMap.js are a part of the [ArcticConnect research project](http://arcticconnect.org ). If you have any questions, feel free to ask!
2015-08-18 15:51:55 -06:00
Iván Sánchez Ortega
7ee009ca75
Merge pull request #3757 from dpeukert/patch-1
...
Fixed various typos in the documentation
2015-08-18 22:31:38 +02:00
Daniel Peukert
21ae5c6859
Fixed various typos in the documentation
2015-08-18 22:28:17 +02:00
Vladimir Agafonkin
96d33b3a15
Merge pull request #3730 from Leaflet/createtile-docs
...
Document createTile async mode
2015-08-11 12:20:37 +03:00
Iván Sánchez Ortega
485c1987f0
Document createTile async mode
2015-08-11 10:04:21 +02:00
Vladimir Agafonkin
dd00156a8c
Merge pull request #3723 from Leaflet/sourcemaps
...
Build sourcemaps via magic-string
2015-08-10 18:54:10 +03:00
Iván Sánchez Ortega
62f1cd2f58
Build sourcemaps via magic-string
2015-08-10 15:29:00 +02:00
Patrick Arlt
431547c28e
Trailing whitespace
2015-08-09 15:45:18 -07:00
Patrick Arlt
66e6e856de
Always force GridLayer to have a zIndex
...
Fixes https://github.com/Leaflet/Leaflet/issues/3721
2015-08-09 15:42:24 -07:00
Vladimir Agafonkin
d17e53bbf6
Merge pull request #3663 from fminuti/flyTo-center
...
FlyTo with targetCenter == currentCenter not animated
2015-08-07 16:08:29 +03:00
Andreas Knab
0848635b9a
Use radius if radiusY is not set
2015-08-06 15:31:27 +02:00
Vladimir Agafonkin
81e71fe7e0
check for geolocation clearWatch, #3707
2015-08-04 13:39:51 +03:00
Vladimir Agafonkin
a6663baf25
Merge pull request #3706 from Leaflet/truncate-sphericalmercator-high-latitudes
...
Truncate high/low latitudes for Spherical Mercator like previous versions
2015-08-03 22:58:49 +03:00
Per Liedman
fecd412209
Truncate high/low latitudes for Spherical Mercator like previous versions.
...
Close #3700 .
2015-08-03 21:26:56 +02:00
Vladimir Agafonkin
c016634bb1
Merge pull request #3703 from fminuti/requestAnimFrame-extraParams
...
Remove extra params from L.Util.requestAnimFrame calls
2015-08-03 16:06:36 +03:00
Fabrizio Minuti
936b8d119d
Remove extra params from L.Util.requestAnimFrame calls
...
I removed the parameters from the calls to L.Util.requestAnimFrame:
they don’t seem to be used.
2015-08-03 14:49:19 +02:00
Iván Sánchez Ortega
723c22312d
L.Control.Layers shows disabled inputs for non-visible tilelayers
2015-07-30 13:59:09 +02:00
Vladimir Agafonkin
5a29499834
Merge pull request #3692 from Leaflet/dragging-while-zooming
...
Do not set draggable flags during a zoom animation
2015-07-30 12:15:15 +03:00
Iván Sánchez Ortega
895a75de48
Do not set draggable flags during a zoom animation
2015-07-30 10:33:57 +02:00
Vladimir Agafonkin
62f26f288d
Merge pull request #3688 from fminuti/setTransform-ie11-fix
...
Fix Internet Explorer 11 map overflow outside container
2015-07-29 15:44:06 +03:00
Vladimir Agafonkin
4a60b1a666
Merge pull request #3686 from Leaflet/msie-disable-dragging
...
Allow disabling dragging during mid-drag.
2015-07-29 15:16:14 +03:00
Fabrizio Minuti
4a8e1b6a87
Fix Internet Explorer map overflow outside container
2015-07-29 14:10:20 +02:00
Iván Sánchez Ortega
1d74d27c9c
Add plugins from #3201 , #3252 , #3253
2015-07-29 11:36:32 +02:00
Iván Sánchez Ortega
39f03304a6
Fix Marker dragging with changing Icon, see #3687
2015-07-29 11:21:19 +02:00
Iván Sánchez Ortega
6bb447bafe
Allow disabling dragging during mid-drag.
2015-07-29 10:19:01 +02:00
Vladimir Agafonkin
b248731812
Merge pull request #3684 from Leaflet/edge-mspointer
...
Change L.Browser.msPointer detection code to MS recommendation
2015-07-28 20:45:00 +03:00
Iván Sánchez Ortega
afa0d1d87b
Change L.Browser.msPointer detection code to MS recommendation
2015-07-28 19:41:09 +02:00
Vladimir Agafonkin
2ca1b779a6
add master build back
2015-07-28 19:49:39 +03:00
Vladimir Agafonkin
f40dfa2eb6
fix the archive build artifact
2015-07-28 19:45:58 +03:00
Vladimir Agafonkin
dd57983093
switch to new artifacts config
2015-07-28 19:00:01 +03:00
Vladimir Agafonkin
8b39622ab9
Merge pull request #3682 from Leaflet/drag-mousedown
...
Do not stop mousedown event propagation on L.Draggable
2015-07-28 18:08:23 +03:00
Yohan Boniface
2b03540c23
Do not stop mousedown event on L.Draggable
...
Rationale is to let Leaflet plugins use the mousedown event.
2015-07-28 17:06:01 +02:00
Vladimir Agafonkin
5d255df9c5
temporarily remove master download link, update 0.7.3 link
2015-07-28 17:47:53 +03:00
Vladimir Agafonkin
bfd8497a42
Merge pull request #3681 from fminuti/imageoverlay-setBounds
...
fix imageoverlay setBound when not added to map
2015-07-28 14:36:36 +03:00
Fabrizio Minuti
93c2b52604
fix imageoverlay setBound when not added to map
...
If imageoverlay#setBounds is called when the layer is not added to a
map, the _reset method gets errors on execution
2015-07-28 12:10:40 +02:00
Vladimir Agafonkin
dcdace1b63
Merge pull request #3680 from fminuti/imageoverlay-setBounds
...
Add ImageOverlay setBounds
2015-07-28 12:24:05 +03:00
Fabrizio Minuti
28bbd81204
Add ImageOverlay setBounds
...
Add ImageOverlay setBounds method.
2015-07-28 11:23:46 +02:00
Vladimir Agafonkin
b78da9dc0c
Merge pull request #3678 from Leaflet/baselayerchange-event
...
Fix baselayerchange event argument (fix #3677 )
2015-07-27 16:49:21 +03:00
Yohan Boniface
08674721bc
Fix baselayerchange event argument ( fix #3677 )
2015-07-27 15:41:07 +02:00
Vladimir Agafonkin
ff003729a6
Merge pull request #3673 from stefanocudini/gh-pages
...
added new plugin leaflet location picker
2015-07-27 09:27:15 +03:00
stefanocudini
9017ea262f
added new plugin leaflet location picker
2015-07-26 01:28:22 +02:00
Vladimir Agafonkin
0b88983096
Merge pull request #3671 from w8r/gridlayer-opacity-fix
...
Gridlayer opacity flicker fix
2015-07-24 17:51:43 +03:00
w8r
5e32cd190c
fixes #3652 by container opacity approach
2015-07-24 15:57:43 +02:00
fminuti
fc23c162b4
FlyTo with targetCenter == currentCenter not animated
...
Please see http://jsfiddle.net/v1so6m56/4/
If targetCenter is the same of currenteCenter the parameter u1 (the distance between "to" and "from" is 0.
The proposed patch resolve this by forcing the distance to 1.
2015-07-23 12:16:30 +02:00
Vladimir Agafonkin
ccfd306eb5
Merge pull request #3662 from fminuti/vml-fixes
...
Fix vector layers in IE8, close #2809
2015-07-23 12:37:11 +03:00
fminuti
62f8261b10
Fix for #2809
...
Fix for "Vector layers loose styling in IE8 when removing and adding back to the map" #2809
2015-07-23 11:33:58 +02:00
Vladimir Agafonkin
bf8f0b45b1
Revert canvas removeLayer regression, close #3661
...
This reverts commit 80b8d5f4c9
.
2015-07-23 12:29:55 +03:00
Vladimir Agafonkin
c2de88c688
fire moveend on panBy without movement, close #3655
2015-07-22 19:42:57 +03:00
Vladimir Agafonkin
64333d2dc3
reduce the throttle for canvas layers
...
It felt laggy with 66. 32 is just about right — 30fps.
2015-07-22 19:41:01 +03:00
Vladimir Agafonkin
f5ed2cb2ac
ditch Android 2 hack for overzooming image overlay, close #2282
2015-07-22 19:39:43 +03:00
Vladimir Agafonkin
80b8d5f4c9
improve canvas removeLayer perf, close #3076
2015-07-22 19:37:24 +03:00
Vladimir Agafonkin
45ebba4159
Fix panTo with no anim resetting the view, close #3355
2015-07-22 19:34:00 +03:00
Vladimir Agafonkin
b19581a588
adjust wheel zooming values
2015-07-20 19:25:18 +03:00
Vladimir Agafonkin
cf70095140
get rid of MozMousePixelScroll
2015-07-20 19:24:57 +03:00
Vladimir Agafonkin
91ad43c0cf
Merge pull request #3651 from davidlukerice/fix-undefined-on-layer-removal
...
Fix undefined error when removing control layer
2015-07-20 18:20:32 +03:00
davidlukerice
a9060741a2
loop backwards on input click in case elements get removed
2015-07-20 10:13:08 -05:00
Vladimir Agafonkin
30df3817cd
Merge pull request #3650 from Leaflet/mouseout-not-listened
...
Fix mouseout bubbling while initial target was not listening (fix #3648 )
2015-07-20 17:03:40 +03:00
Yohan Boniface
c1f21eb38f
Fix mouseout bubbling while initial target was not listening ( fix #3648 )
2015-07-20 15:56:11 +02:00
Vladimir Agafonkin
3242f63d6b
Merge pull request #3647 from davidjb/patch-1
...
Ensure marker images are shown if a page has max-width configured for img elements
2015-07-20 11:49:20 +03:00
David Beitey
c75af44ca2
Ensure marker images show if max-width configured
...
Previous versions of Leaflet had ``.leaflet-container img { max-width: none !important }`` prior to the change in b3ff3a0e52
, when the selector became more specific.
This change ensures markers continue to be shown in the case of the page loading Leaflet has a CSS rule like ``img { max-width: 100%; }`` applied.
2015-07-20 09:36:23 +10:00
Vladimir Agafonkin
a01af4e8cd
Merge pull request #3644 from Leaflet/control-zindex
...
Move controls on top of layers
2015-07-19 19:36:51 +03:00
Patrick Arlt
64f7ef58cb
Move controls on top of layers
...
In my PR to expand the zindex of panes I forgot to also adjust the zindex of `.leaflet-control`. This will make controls appear on top of layers again.
2015-07-19 09:35:20 -07:00
Vladimir Agafonkin
a61841555a
Merge pull request #3639 from Leaflet/contextmenu-preventdefault
...
Dont call preventDefault on contextmenu if no target listen to it
2015-07-18 00:17:13 +03:00
Yohan Boniface
78b486ac48
Dont call preventDefault on contextmenu if no target listen to it ( fix #3638 )
2015-07-17 17:15:19 +02:00
Vladimir Agafonkin
7d52912a0c
use wheel event where possible
2015-07-17 17:31:12 +03:00
Vladimir Agafonkin
c97d9c359b
Merge pull request #3637 from Leaflet/boxzoom-moved
...
Fix boxZoom._moved remaining in bad state after use (cf #3026 )
2015-07-17 13:57:57 +03:00
Yohan Boniface
8870c2abf8
Fix boxZoom._moved remaining in bad state after use (cf #3026 )
2015-07-17 12:54:59 +02:00
Vladimir Agafonkin
21934dc2b3
Merge pull request #3634 from Leaflet/preclick-dragend
...
Do not fire preclick when dragging (fix #3632 )
2015-07-16 18:10:15 +03:00
Yohan Boniface
8d980ce49b
Add a unittest to cover dragging map not closing open popup (cf #3632 )
2015-07-16 17:01:44 +02:00
Vladimir Agafonkin
ab1995e1ce
fix box-zoom regression, close #3633
2015-07-16 16:48:08 +03:00
Yohan Boniface
bd65b443e4
Do not fire preclick when dragging ( fix #3632 )
2015-07-16 15:40:45 +02:00
Vladimir Agafonkin
2290aa317c
Merge pull request #3631 from mstahv/gh-pages-master
...
Fixed couple of remaining ilayer anchors
2015-07-16 14:42:55 +03:00
Matti Tahvonen
187b7cb263
Fixed couple of remaining ilayer anchors
2015-07-16 14:36:21 +03:00
Vladimir Agafonkin
a06d7ae84d
Merge pull request #3630 from mstahv/gh-pages-master
...
Manual tuning: replaced all ILayer words with just Layer
2015-07-16 14:33:04 +03:00
Matti Tahvonen
44bc29ba1c
Manual tuning: replaced all ILayer words with just Layer
2015-07-16 14:27:26 +03:00
Steve
dde5862581
Fix typo in b1 changelog for FeatureGroup popups
2015-07-15 10:51:47 -05:00
Iván Sánchez Ortega
8ef55006ec
Minor typo in blog post
2015-07-15 15:49:06 +02:00
Vladimir Agafonkin
71e2114e2b
Merge pull request #3626 from stefanocudini/gh-pages
...
added new plugin Leaflet GeoJSON Encoded
2015-07-15 16:33:49 +03:00
stefanocudini
7d26169d58
added new plugin Leaflet GeoJSON Encoded
2015-07-15 15:26:23 +02:00
Vladimir Agafonkin
4457d1414a
Merge pull request #3533 from Leaflet/doubletap-propagation
...
Synthetic doubletap events respect stopPropagation, fixes #3532
2015-07-15 16:05:28 +03:00
Vladimir Agafonkin
0f105c8e9c
Merge pull request #3547 from philippelatulippe/canvas-optimization
...
Simple canvas optimizations
2015-07-15 16:01:11 +03:00
Vladimir Agafonkin
2774ac8221
add a note about 1.0 docs
2015-07-15 15:33:24 +03:00
Vladimir Agafonkin
d083eaaa7d
update docs version notice
2015-07-15 15:30:32 +03:00
Vladimir Agafonkin
b71636eed7
Merge branch 'gh-pages' into gh-pages-master
...
* gh-pages:
add a flyover gif
1.0 beta 1 blog post
update download page
move plugin geojson selector in other category
minor docs js fixes, remove cruft
fix docs row click jumping, close #3609
Update Mapbox examples to v4 API and replace examples map IDs
no formatting in blog descriptions
fix blog post description
GeoJSON object array documentation
Update providers list for Leaflet Control Geocoder
Update information for Leaflet Routing Machine
instructions for using downloaded leaflet
Update plugin description
2015-07-15 15:29:06 +03:00
Vladimir Agafonkin
1f9d0771aa
add a flyover gif
2015-07-15 14:10:01 +03:00
Vladimir Agafonkin
0389d24062
1.0 beta 1 blog post
2015-07-15 14:00:58 +03:00
Vladimir Agafonkin
218114532e
update download page
2015-07-15 14:00:13 +03:00
Vladimir Agafonkin
3e636d26b9
bump versions
2015-07-15 12:12:53 +03:00
Vladimir Agafonkin
f717fd60e5
fix preventOutline exception, close #3625
2015-07-15 11:59:27 +03:00
Will Franklin
fd8759d5e1
Use ID lookup instead to avoid re-adding layer on style change
2015-07-14 17:45:57 +02:00
Vladimir Agafonkin
46d2d6afb2
final 1.0-beta1 changelog update
2015-07-14 17:20:58 +03:00
Vladimir Agafonkin
4d26d9103a
changelog updates about animations
2015-07-14 16:54:19 +03:00
Vladimir Agafonkin
3e5c29abd9
changelog improvements
2015-07-14 15:58:23 +03:00
Vladimir Agafonkin
54fbe72ba3
Merge pull request #3623 from Leaflet/prefer-canvas
...
Switch from L_PREFER_CANVAS to map.options.preferCanvas
2015-07-14 11:35:14 +03:00
Yohan Boniface
76cb60705f
Switch from L_PREFER_CANVAS to map.options.preferCanvas
2015-07-14 10:27:50 +02:00
Philippe Latulippe
fd64c7e5c3
Simple canvas optimizations:
...
- throttle mouseover
- don't check for hover when the map is being panned (since the mouse isn't moving in relation to the map)
- only check visible layers when checking for hover (by storing unculled layers in an array)
2015-07-13 22:22:31 +02:00
Iván Sánchez Ortega
4409b691a6
Merge pull request #3621 from Leaflet/prefer-canvas
...
Resuscitate L_PREFER_CANVAS
2015-07-13 19:45:30 +02:00
Yohan Boniface
1eab6079e8
Resuscitate L_PREFER_CANVAS
2015-07-13 19:05:06 +02:00
Vladimir Agafonkin
c0285ce505
more changelog updates
2015-07-13 19:32:14 +03:00
Vladimir Agafonkin
14206e8a40
update deps
2015-07-13 18:35:34 +03:00
Vladimir Agafonkin
7ff5de00ed
bump version
2015-07-13 18:35:34 +03:00
Vladimir Agafonkin
1ee24802a7
Merge pull request #3618 from wpf500/wpf-canvas-mouse-out
...
Check canvas mouseout
2015-07-13 15:33:34 +03:00
Will Franklin
76cd73c97a
Check canvas mouseout
2015-07-13 12:42:39 +01:00
Vladimir Agafonkin
f666890f1a
Merge pull request #3614 from cmulders/patch-1
...
Hardcoded dependency L.CRS.Earth in L.Control.Scale
2015-07-12 22:11:19 +03:00
Vladimir Agafonkin
8a8ce1d988
Merge pull request #3615 from stefanocudini/gh-pages
...
move plugin geojson selector in other category
2015-07-12 22:10:42 +03:00
stefanocudini
aaad5dc108
move plugin geojson selector in other category
2015-07-12 19:59:06 +02:00
cmulders
daac1ca559
Hardcoded dependency L.CRS.Earth in L.Control.Scale
...
Currently, L.Control.Scale uses hard-coded the L.CRS.Earth.distance function, while this CRS could have been changed by the user in the map creation. Changing this to map.distance will remove this hard-coded dependency adding flexibility, while maintaining the same functionality.
2015-07-12 14:22:20 +02:00
Iván Sánchez Ortega
265f201433
Fix touchZoom regression from 06f90b1a
2015-07-10 19:13:16 +03:00
Vladimir Agafonkin
bf234810f0
fix preventOutline for nested elements, close #3606
2015-07-10 18:30:44 +03:00
Vladimir Agafonkin
bfc07c3a6c
minor docs js fixes, remove cruft
2015-07-10 18:05:28 +03:00
Vladimir Agafonkin
4bd6bf5a95
Merge pull request #3603 from lyzidiamond/tutorials-mapbox
...
Update Mapbox API URLs and IDs in tutorials
2015-07-10 18:03:32 +03:00
Vladimir Agafonkin
217a4beaf9
fix docs row click jumping, close #3609
2015-07-10 17:56:14 +03:00
Vladimir Agafonkin
cdb9ce0beb
Merge pull request #3612 from Leaflet/marker-mouseover
...
Only consider a target if it listens for event type (fix #3607 )
2015-07-10 00:09:14 +03:00
Yohan Boniface
07b7219bc9
Only consider a target if it listens for event type ( fix #3607 )
2015-07-09 23:00:52 +02:00
Lyzi Diamond
0821c7345d
Update Mapbox examples to v4 API and replace examples map IDs
2015-07-09 10:39:37 -07:00
Vladimir Agafonkin
32c9156cb1
Merge pull request #3605 from Leaflet/stop-click-on-openpopup
...
Stop click on _openPopup
2015-07-09 15:18:25 +03:00
Yohan Boniface
74018f284e
Add nonBubblingEvents option ( fix #3604 )
2015-07-09 14:12:12 +02:00
Vladimir Agafonkin
39bf8e209c
no formatting in blog descriptions
2015-07-08 17:27:50 +03:00
Vladimir Agafonkin
e7f981257f
fix blog post description
2015-07-08 17:27:02 +03:00
Vladimir Agafonkin
d2513b2d53
fix maxNativeZoom regression, thanks @ktoto
2015-07-07 16:32:51 +03:00
Vladimir Agafonkin
74bc9cc1ef
Merge pull request #3601 from Leaflet/non-square-overscale
...
Make L.TileLayer.getTileSize aware of non-square tiles
2015-07-07 16:15:48 +03:00
Justin Poehnelt
12c1daec24
GeoJSON object array documentation
2015-07-07 13:44:03 +03:00
Iván Sánchez Ortega
e71bd4b71f
Make L.TileLayer.getTileSize aware of non-square tiles, #3600
2015-07-06 16:58:54 +02:00
Vladimir Agafonkin
62c71f5c1f
Merge pull request #3307 from Leaflet/map-domevent
...
Always fire DOM event on the map too
2015-07-06 14:57:56 +03:00
Yohan Boniface
fd1b94550c
Fix popup broken since 9b7f24f5f6efb94be2a96d7d7f4c604783135d10
...
Popup where binded by the LayerGroup, which was not finring the click
event, because not propagated from the layers
2015-07-06 13:55:59 +02:00
Vladimir Agafonkin
d86c6002d7
minor cleanup
2015-07-06 13:55:59 +02:00
Yohan Boniface
50d7121f72
Make _fireDOMEvent accept optional targets
...
In the case of canvas path, we can't add the canvas element itself
as an interactiveTarget, given that it's big like the path bbox, and
thus would make all this bbox target of events (so also clicking
outside of the path itself, the layer would fire click event, for
example)
2015-07-06 13:55:59 +02:00
Yohan Boniface
f4cc307e70
Add preclick related unitest
2015-07-06 13:55:59 +02:00
Yohan Boniface
68195aa2bd
More natural event bubbling
2015-07-06 13:55:59 +02:00
Yohan Boniface
54c8925818
Add map as layer event parent
2015-07-06 13:55:59 +02:00
Iván Sánchez Ortega
d67cbb24c1
More complete test webpage for #3307
2015-07-06 13:55:59 +02:00
Iván Sánchez Ortega
d1864cd138
Move 'preclick' event handling around so it propagates before 'click'.
2015-07-06 13:55:59 +02:00
Yohan Boniface
0d3448d494
Always fire DOM event on the map too
2015-07-06 13:55:59 +02:00
Vladimir Agafonkin
7ee404a394
Merge pull request #3591 from Leaflet/z-index-spread
...
Allow for wide use of pane z-index for ordering.
2015-07-03 18:20:41 +03:00
Iván Sánchez Ortega
c1bda12cf6
Merge pull request #3596 from TolonUK/gh-pages-master
...
Added Leaflet.EdgeBuffer to plugins.md
2015-07-03 13:06:37 +02:00
Alex Paterson
416a22747c
Added Leaflet.EdgeBuffer to plugins.md
2015-07-03 12:01:43 +01:00
Iván Sánchez Ortega
f2673ff0d9
Document changes introduced by non-square tiles in #3570/#3573.
2015-07-03 11:55:55 +03:00
Per Liedman
4bc3a7708c
Document Map and CRS distance
2015-07-03 11:55:55 +03:00
Per Liedman
e28c59f41d
Document L.CRS.Earth
2015-07-03 11:55:55 +03:00
Per Liedman
6e1e54c9c8
Document CRS and Map wrapLatLng
2015-07-03 11:55:55 +03:00
Per Liedman
d6336dc7eb
Document CRS unproject
2015-07-03 11:55:55 +03:00
Per Liedman
7e3a82d4a3
Document Map getPixelWorldBounds
2015-07-03 11:55:54 +03:00
Per Liedman
41315ecf80
Document CRS wrapLat, wrapLng, infinite and getProjectedBounds
2015-07-03 11:55:54 +03:00
Per Liedman
30233fba26
Document Projection bounds property
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
2f287ba1dd
More consistency between L.Evented and L.DomEvent docs. (see #3098 )
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
7192bde5f9
Misc docs: Evented aliases, deprecated LatLng stuff, Util.throttle. See #3098 .
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
fdddb648e8
Cleanup L.DomUtil docs (see #3098 ).
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
b64655535a
Bits of documentation for L.DomUtil's methods used internally
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
3c177564f6
Bits of documentation for L.DomEvent and L.DomUtil (see #3098 )
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
745cad469f
Miscellaneous bits of documentation (see #3098 )
2015-07-03 11:55:54 +03:00
Iván Sánchez Ortega
2396b97143
Document Bounds.overlap and LatLngBounds.overlap (see #3508 )
2015-07-03 11:55:53 +03:00
Iván Sánchez Ortega
f15fd92bd3
Documentation for maxBoundsViscosity (see #3510 )
2015-07-03 11:55:53 +03:00
Yohan Boniface
08afc5a104
Add Polyline.isEmpty to the doc
2015-07-03 11:55:53 +03:00
Yohan Boniface
86c0649d44
More L.Polyline doc on LatLng related methods
2015-07-03 11:55:53 +03:00
Yohan Boniface
f947853f3b
Update L.Polyline.addLatLng doc
2015-07-03 11:55:53 +03:00
Iván Sánchez Ortega
7b7b56622f
Add flyTo() and flyToBounds() to the API reference
2015-07-03 11:55:53 +03:00
Patrick Arlt
acd56a0096
remove shared methods from method lists
2015-07-03 11:55:53 +03:00
Vladimir Agafonkin
e708fbc94b
clean up docs merges
2015-07-03 11:55:53 +03:00
Patrick Arlt
62860ca414
more layer docs
2015-07-03 11:55:39 +03:00
Vladimir Agafonkin
62de364d2e
polygon/polyline docs fixes and cleanup
2015-07-03 11:54:02 +03:00
Patrick Arlt
d7c6788211
renderer docs and methods
2015-07-03 11:54:01 +03:00
Patrick Arlt
98d83e5b92
flip Circle/CircleMarker inheritance
2015-07-03 11:54:01 +03:00
Patrick Arlt
ceed74ba50
getCenter() docs
2015-07-03 11:54:01 +03:00
Patrick Arlt
4b0e4d7c5a
update default path options
2015-07-03 11:54:01 +03:00
Patrick Arlt
8ec0d3fdfc
remove multi shapes from ref, examples for polygon+polyline
2015-07-03 11:54:01 +03:00
Vladimir Agafonkin
68308085fd
impliment -> implement typo fixes
2015-07-03 11:53:47 +03:00
Patrick Arlt
f25f97a381
remove interface references
2015-07-03 11:53:47 +03:00
Patrick Arlt
5445a488e1
refactory into utilities and base classes
2015-07-03 11:53:47 +03:00
Patrick Arlt
6cd55b4c72
layer and evented docs
2015-07-03 11:51:10 +03:00
Patrick Arlt
66f6c80a37
L.Evented docs
2015-07-03 11:51:10 +03:00
Patrick Arlt
645915e755
add nav links and headers
2015-07-03 11:51:10 +03:00
bennlich
2bab64fde4
Removed documented url property of TileEvent
2015-07-03 11:51:10 +03:00
Kevin DeLoach
a72321a30d
Add documentation for WMS TileLayer uppercase option.
2015-07-03 11:51:10 +03:00
AndreyGeonya
bc63eb6052
this commit fixes #2499 documentation
2015-07-03 11:51:10 +03:00
AndreyGeonya
f5b85f05f1
#2501 , wheelDebounceTime option documented
2015-07-03 11:51:10 +03:00
bennlich
02f28b9160
Updated reference for crossOrigin option
2015-07-03 11:51:09 +03:00
mtmail
f4250f12e8
Update reference related to touchZoom:center
...
( using the correct gh-pages-master branch now)
Documenting the accepted pull request https://github.com/Leaflet/Leaflet/pull/2527
2015-07-03 11:51:09 +03:00
Andrey Geonya
ae4e53fc99
Update reference.html
2015-07-03 11:51:09 +03:00
danzel
f14f4070ec
oldLatLng
2015-07-03 11:51:09 +03:00
danzel
016d56568d
Documentation for oldLatlng in marker move event. refs #2412
2015-07-03 11:51:09 +03:00
Steve
3bb3c3973f
remove DomUtil.getViewportOffset
...
as changelog indicates it has been removed.
2015-07-03 11:51:09 +03:00
Vladimir Agafonkin
05e7d53486
Revert "update docs keyword highlighting"
...
This reverts commit 9fc80c0c34
.
2015-07-03 11:50:40 +03:00
Per Liedman
b75c8f4bc8
Update providers list for Leaflet Control Geocoder
2015-07-03 10:06:28 +02:00
Per Liedman
0d09d9c526
Update information for Leaflet Routing Machine
2015-07-03 10:06:27 +02:00
Vladimir Agafonkin
c95b8637d2
Merge pull request #3595 from jseppi/gh-pages-download-usage
...
instructions for using downloaded leaflet
2015-07-03 00:18:57 +03:00
James Seppi
40c1ce9659
instructions for using downloaded leaflet
...
ref #3338
reorder usage sections
2015-07-02 16:12:09 -05:00
Vladimir Agafonkin
c7ecc97d57
Merge pull request #3594 from Leaflet/cors-image-overlay
...
Allow for access to imageData on L.ImageOverlay
2015-07-03 00:05:33 +03:00
Patrick Arlt
caf692d2a8
Allow for access to imageData on L.ImageOverlay
...
This implements the changes in https://github.com/Leaflet/Leaflet/pull/2621 for cross origin tiles for `L.ImageOverlay` so that the image data can be accessed in canvas and saved.
2015-07-02 14:00:08 -07:00
Iván Sánchez Ortega
ec30ebd5cb
Merge pull request #3592 from ismyrnow/patch-1
...
Update Leaflet.FunctionalTileLayer plugin description
2015-07-02 21:56:52 +02:00
Ishmael Smyrnow
a410d4d1ad
Update plugin description
...
Updated description of Leaflet.FunctionalTileLayer plugin to better represent use case.
2015-07-02 15:54:57 -04:00
Patrick Arlt
b3678d2ca8
Allow for wide use of pane z-index for ordering.
2015-07-02 12:02:47 -07:00
Vladimir Agafonkin
1f21415240
Merge pull request #3590 from wpf500/wpf-canvas-mouse-over
...
Only mouse over one feature at a time
2015-07-02 19:32:53 +03:00
Will Franklin
320c46c6d5
Only mouse over one feature at a time
2015-07-02 16:15:43 +01:00
Vladimir Agafonkin
515518da5f
remove leftovers
2015-07-02 13:37:02 +03:00
Vladimir Agafonkin
5dd723d241
Merge pull request #3588 from rowanhogan/heading-styling
...
Updates API docs heading styles
2015-07-02 09:23:11 +03:00
Rowan Hogan
c11b8d2a1c
Updates API docs heading styles
2015-07-02 12:31:02 +10:00
Rowan Hogan
40001c149c
Cap max width of youtube videos (iframes) on mobile)
2015-07-02 09:13:02 +10:00
Vladimir Agafonkin
6345a10561
Merge pull request #3587 from Leaflet/popup_offsets
...
Fix popup offsets
2015-07-02 00:45:08 +03:00
Patrick Arlt
6bf0f98796
fix popup offseting
2015-07-02 00:44:31 +03:00
Steve Kashishian
3687ed81e6
Fix setting of offset for popups.
...
Fixes #3525
2015-07-02 00:44:30 +03:00
Vladimir Agafonkin
a3425850ca
Merge pull request #3585 from pglotov/master
...
accept geojson with null geometry
2015-07-01 23:37:12 +03:00
petr
18933e1764
accept geojson with null geometry
2015-07-01 13:28:10 -07:00
Vladimir Agafonkin
d48191f426
Revert "Fix setting of offset for popups."
...
This reverts commit 30d2959c23
.
2015-07-01 22:16:36 +03:00
Vladimir Agafonkin
047830f131
Merge pull request #3526 from snkashis/popup_offsets
...
Fix setting of offset for popups.
2015-07-01 22:10:17 +03:00
Steve Kashishian
30d2959c23
Fix setting of offset for popups.
2015-07-01 14:01:29 -05:00
Iván Sánchez Ortega
501cecd026
Merge pull request #3584 from StephanGeorg/patch-1
...
Update plugins.md RouteBoxer
2015-07-01 19:28:33 +02:00
Stephan Georg
37683f9c70
Update plugins.md
2015-07-01 19:24:45 +02:00
Vladimir Agafonkin
6e84157b58
fix styling of post meta
2015-07-01 18:35:23 +03:00
Vladimir Agafonkin
ffa979e0b7
lots of lets -> let's fixes
2015-07-01 18:34:29 +03:00
Vladimir Agafonkin
3d5b8ec393
Merge pull request #3578 from Leaflet/redesign
...
Website Redesign
2015-07-01 18:25:18 +03:00
Vladimir Agafonkin
e238451684
Leaflet is Alive and Kicking blog post
2015-07-01 18:24:44 +03:00
Vladimir Agafonkin
e5e156a634
adjust margins on post pages
2015-07-01 18:24:30 +03:00
Vladimir Agafonkin
a2864dc5c1
mobile fixes
2015-07-01 17:28:54 +03:00
Vladimir Agafonkin
0bd44d0416
reorder logos, spacing fixes
2015-07-01 17:24:15 +03:00
Rowan Hogan
36281b6640
Adds new/updated logos to homepage.
2015-07-02 00:10:05 +10:00
Vladimir Agafonkin
c9ebd31ffc
minor spacing fixes
2015-07-01 16:44:12 +03:00
Rowan Hogan
1003f6a0f2
Adds dynamic TOC menu for plugins page
2015-07-01 23:01:25 +10:00
Vladimir Agafonkin
ae90893e1e
Merge pull request #3582 from wpf500/wpf-mouse-event-order
...
Fix ordering of mouse events in Canvas renderer
2015-07-01 14:32:37 +03:00
Will Franklin
2bc78b26ca
Fix ordering of mouse events in Canvas renderer
2015-07-01 12:31:00 +01:00
Vladimir Agafonkin
cca6e6165f
Merge pull request #3580 from wpf500/wpf-bounds-check
...
Check bounds before clipping
2015-07-01 13:39:38 +03:00
Iván Sánchez Ortega
597a492cdf
Remove spurious scrollbars from code snippets
2015-07-01 12:28:10 +02:00
Will Franklin
4952b37256
Check bounds before clipping
2015-07-01 11:24:05 +01:00
Vladimir Agafonkin
1fd2d97710
fix layout: nil warnings
2015-07-01 13:19:46 +03:00
Vladimir Agafonkin
4076d8db7b
fix code block on download page
2015-07-01 13:11:12 +03:00
Vladimir Agafonkin
017b33bd7d
adjust h2 heading margins
2015-07-01 13:11:05 +03:00
Vladimir Agafonkin
259d816a97
better headings styling
2015-07-01 12:51:57 +03:00
Vladimir Agafonkin
e2ba50769c
frontpage mobile adjustments
2015-07-01 12:29:15 +03:00
Vladimir Agafonkin
9fc80c0c34
update docs keyword highlighting
2015-07-01 10:44:13 +03:00
Vladimir Agafonkin
907176e9a0
simplify features section copy
2015-07-01 10:33:12 +03:00
Vladimir Agafonkin
59c78a1c03
mobile table adjustments
2015-07-01 10:14:40 +03:00
Vladimir Agafonkin
dad0490975
add logo links, remove Hipmunk
2015-07-01 10:04:54 +03:00
Vladimir Agafonkin
29eac1d267
bring back the back link
2015-07-01 00:30:43 +03:00
Vladimir Agafonkin
f41d06eaf2
update highlight.js and color theme
2015-07-01 00:26:34 +03:00
Vladimir Agafonkin
58a7d4378d
bigger thumbs in tutorials
2015-06-30 20:03:55 +03:00
Vladimir Agafonkin
6bd7b1a88d
fix features columns in FF
2015-06-30 20:01:03 +03:00
Vladimir Agafonkin
2862fe8a09
adjust "used by" block
2015-06-30 19:46:29 +03:00
Vladimir Agafonkin
ff5ad196f4
docs page adjustments
2015-06-30 19:16:31 +03:00
Vladimir Agafonkin
3261a47826
consistent whitepace in CSS
2015-06-30 18:45:59 +03:00
Vladimir Agafonkin
4b7f599644
fix docs floating menu
2015-06-30 18:40:27 +03:00
Rowan Hogan
9ed06a52fd
Adds code block styles. Other small design fixes.
2015-06-30 17:17:51 +03:00
Rowan Hogan
8f1a37ca2d
Updates homepage logos
2015-06-30 23:14:24 +10:00
Iván Sánchez Ortega
56be19a42d
Fix nomenclature of point scale/unscale methods, see #3570
2015-06-30 15:13:08 +02:00
Rowan Hogan
14a2066312
Update tutorial thumbnails and add missing tileLayer/attribution variables for examples.
2015-06-30 23:04:01 +10:00
Rowan Hogan
8de3fb569a
Tablet & Mobile responsive design. Responsive docs tables.
2015-06-30 22:55:31 +10:00
Rowan Hogan
282ff1c41c
Fix table row page anchor links on API docs page.
2015-06-30 22:42:01 +10:00
Rowan Hogan
5f5694f5ce
Adds API page TOC menu.
2015-06-30 22:35:58 +10:00
Vladimir Agafonkin
c38159d986
Merge pull request #3571 from rowanwins/layerControlScroll
...
Scrollbar for layers control with too many layers
2015-06-30 15:25:06 +03:00
Rowan Hogan
b30501af4b
Initial site-wide typography improvments and UI/UX adjustments/fixes.
2015-06-30 22:01:13 +10:00
Rowan Winsemius
9bfb6d854e
Updated approach for resolving scrollbar issue in legend
2015-06-30 21:59:20 +10:00
Vladimir Agafonkin
57fb36fd88
Merge pull request #3573 from Leaflet/non-square-tiles
...
Implement non-square tiles for L.GridLayer
2015-06-30 14:58:58 +03:00
Iván Sánchez Ortega
cf5111306f
Implement non-square tiles for L.GridLayer, see #3570
2015-06-30 13:54:56 +02:00
Rowan Hogan
be65647ed7
Updates favicon to ico with multiple sizes (supports retina displays).
2015-06-30 21:40:19 +10:00
Vladimir Agafonkin
25544f8482
plugins page fixes
2015-06-30 14:14:39 +03:00
Vladimir Agafonkin
a4b740a443
add back docs anchors
2015-06-30 14:10:39 +03:00
Vladimir Agafonkin
9420e353af
reorganize and tidy up CSS
2015-06-30 14:10:39 +03:00
Vladimir Agafonkin
02c6788194
proper docs and other tweaks
2015-06-30 14:10:39 +03:00
Vladimir Agafonkin
69b80af03e
more design tweaks
2015-06-30 14:10:39 +03:00
Vladimir Agafonkin
6fc61b89b3
minor tweaks
2015-06-30 14:10:39 +03:00
Vladimir Agafonkin
f4100636c5
simplify design even more
2015-06-30 14:10:39 +03:00
Vladimir Agafonkin
b4c475f0c1
Fix weird gaps in popups due to ems
2015-06-30 14:10:37 +03:00
Vladimir Agafonkin
dfab7a9152
bring green headings back
2015-06-30 14:10:10 +03:00
Vladimir Agafonkin
14e8941336
initial docs update
2015-06-30 14:10:10 +03:00
Vladimir Agafonkin
924ad018b1
update plugins page and tables
2015-06-30 14:10:08 +03:00
Vladimir Agafonkin
44c67dfa8c
update blog and tutorials
2015-06-30 14:03:41 +03:00
Vladimir Agafonkin
5d668886a8
more cleanup
2015-06-30 14:03:41 +03:00
Vladimir Agafonkin
e53def4bf7
update images
2015-06-30 14:03:41 +03:00
Vladimir Agafonkin
4dcdb68555
cleanup layout, add proper external buttons
2015-06-30 14:03:41 +03:00
Vladimir Agafonkin
738820cdcb
replace old index with new one, add social buttons
2015-06-30 14:03:39 +03:00
Vladimir Agafonkin
1d40cadc53
another pass on the frontage
2015-06-30 14:00:54 +03:00
Vladimir Agafonkin
42943745da
twitter/github buttons
2015-06-30 14:00:54 +03:00
Vladimir Agafonkin
deac9af90a
more updates
2015-06-30 14:00:54 +03:00
Vladimir Agafonkin
d482b24746
pass five, add features
2015-06-30 14:00:54 +03:00
Vladimir Agafonkin
d2d74d8d04
add some logos
2015-06-30 14:00:54 +03:00
Vladimir Agafonkin
75466f41fb
pass three
2015-06-30 14:00:54 +03:00
Vladimir Agafonkin
d7e0cb151a
pass two
2015-06-30 14:00:53 +03:00
Vladimir Agafonkin
925d764b4c
first design pass
2015-06-30 14:00:53 +03:00
Vladimir Agafonkin
60e56f7a56
start alternative design
2015-06-30 14:00:53 +03:00
Vladimir Agafonkin
7e45690169
Merge pull request #3564 from rowanwins/layerControlFix
...
Fix for issue #2771
2015-06-30 13:19:03 +03:00
Rowan Winsemius
43da2c32a3
Add scroll handling for when the legend extends past the map height
2015-06-29 20:21:03 +10:00
Rowan Winsemius
3d7d62d7b7
Fix for this issue https://github.com/Leaflet/Leaflet/issues/2771
2015-06-27 16:30:33 +10:00
Vladimir Agafonkin
461f497905
Merge pull request #3561 from klaftertief/gh-pages-hotline-plugin
...
Adds Leaflet.hotline plugin
2015-06-25 23:53:48 +03:00
Jonas Coch
310e893486
Adds Leaflet.hotline plugin
2015-06-25 22:35:49 +02:00
Vladimir Agafonkin
7798782480
Merge pull request #3557 from TolonUK/getTiledPixelBounds
...
Move some logic from GridLayer._update to _getTilePixelBounds
2015-06-24 19:38:15 +03:00
Vladimir Agafonkin
1bb1b5a3f8
Merge pull request #3550 from RLRR/fix-non-interactive-vml
...
Fix interactive option for VML layers
2015-06-22 11:01:36 +03:00
tolon
1f8d2a8072
New GridLayer._getTilePixelBounds function to contain the logic that used to be in _update
2015-06-20 10:54:50 +01:00
Alex Fedosov
93f4ba7f8e
fix non-interactive vml layers
2015-06-19 12:32:17 +06:00
Vladimir Agafonkin
0ccb43080b
Merge pull request #3548 from timblakely/fix_dependencies
...
Fix up some missing dependencies
2015-06-18 18:19:05 -04:00
Tim Blakely
6c96fef0d0
Fix up some missing dependencies
2015-06-18 14:57:22 -07:00
Vladimir Agafonkin
2f922f5813
Merge pull request #3539 from Flexberry/gh-pages
...
Add WFST to plugins page
2015-06-17 22:21:20 -04:00
Iván Sánchez Ortega
9c38e98cec
Merge pull request #3541 from zverev/iconLayers
...
add Leaflet-IconLayers
2015-06-16 09:26:25 +02:00
zverev
842f71730a
add Leaflet-IconLayers
2015-06-16 09:49:53 +03:00
kuzkok
bb2ec818d0
Move Leaflet-WFST to overlay data formats section
2015-06-15 17:52:43 +05:00
kuzkok
205959e9d3
Add WFST to plugins page
2015-06-15 17:29:39 +05:00
Iván Sánchez Ortega
91682ab9d9
Add Leaflet.Spain.WMS
2015-06-15 11:49:50 +02:00
Vladimir Agafonkin
5b9d664edf
Merge pull request #3536 from katosh/patch-2
...
No Border on a.leaflet-popup-close-button
2015-06-13 15:00:08 -04:00
Dominik J. Otto
b0b2070b39
No Border on a.leaflet-popup-close-button
...
Removes any borders on the close button of popups if they where set for links in another css-stylesheet of the page.
2015-06-13 17:59:14 +02:00
Iván Sánchez Ortega
c3288ab765
Synthetic doubletap events respect stopPropagation, fixes #3532
2015-06-11 11:35:09 +02:00
Vladimir Agafonkin
c34eb4e4e2
remove travis config
2015-06-10 13:00:13 -04:00
Iván Sánchez Ortega
cc04a82be1
Merge pull request #3527 from RLRR/fix-moveend-after-layer-removal
...
Add map presence check to onMoveEnd handler, fixes #3522
2015-06-10 10:12:40 +02:00
Alex Fedosov
644bb7157a
add map presence check to onMoveEnd handler, fixes #3522
2015-06-10 11:48:16 +06:00
Vladimir Agafonkin
04a0a4e4d1
Merge pull request #3524 from RLRR/fix-drag-after-layer-remove
...
Fix GridLayer move event handler, fixes #3522
2015-06-09 11:43:27 -04:00
Alex Fedosov
b31a1e8be6
fix GridLayer move event handler, fixes #3522
2015-06-09 21:22:40 +06:00
Vladimir Agafonkin
79105f78a7
Merge pull request #3518 from Leaflet/visible-tiles
...
Reworked pixelBounds calculation in GridTile to deal with fractional zoom
2015-06-09 07:32:13 -04:00
Iván Sánchez Ortega
5245b94aad
Reworked pixelBounds calculation in GridTile to deal with fractional zoom
2015-06-09 09:44:52 +02:00
Iván Sánchez Ortega
1c4cf44f10
Add leaflet-graphicscale
2015-06-08 16:16:09 +02:00
Vladimir Agafonkin
f61e2f4a7b
Merge pull request #3278 from Leaflet/events-refactor
...
Refactor move/zoom events
2015-06-05 21:02:51 +03:00
Vladimir Agafonkin
30b9b9cfd6
fix whitespace
2015-06-05 20:51:25 +03:00
Vladimir Agafonkin
a5bd03d0e4
add back viewreset
...
now it has different semantics though — it’s fired when a view is fully
reset, so that all layer DOM elements should be repositioned.
2015-06-05 20:51:21 +03:00
Vladimir Agafonkin
fd708bf173
don't project vectors on every zoom event
2015-06-05 20:51:20 +03:00
Iván Sánchez Ortega
ad08a5c874
Unit test for map zoom level limit and zoom-less setView
2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
625161f15d
make vectors work with flyTo
2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
1e9c8649b3
simplify zoom transform math
...
changes the transform origin for all layers from 50% 50% (implied
default) to 0 0, making it MUCH easier to understand zoom transform
math.
2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
2cf8cc008a
simplify renderer animation math
2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
d9e20a250d
ditch zoomanim event scale/origin/offset props
2015-06-05 20:51:20 +03:00
Iván Sánchez Ortega
7032bbc13d
Graceful degradations of zoom-pan animations on top of refactored zoom-pan events.
2015-06-05 20:51:20 +03:00
Vladimir Agafonkin
06f90b1a5b
simplify and unify TouchZoom logic
2015-06-05 20:51:19 +03:00
Vladimir Agafonkin
120d8523c5
Merge pull request #3514 from Leaflet/detached-memory-leak
...
Cleaning up map layers when map.remove() is run
2015-06-05 01:17:40 +03:00
Vladimir Agafonkin
d13aaac837
refactor _resetView; rely on zoom event in layers
2015-06-04 20:42:30 +03:00
Vladimir Agafonkin
fdd60cc66b
ditch viewreset event, reliable zoomend
...
removes viewreset use everywhere; also changes event order to have
zoomend before move and moveend to make zoomend a reliable viewreset
successor
2015-06-04 20:42:28 +03:00
Vladimir Agafonkin
3ccbe5bca0
trigger tile compositing in Safari
...
This kind of reverts #2377 that doesn’t make sense after tile animation
refactorings, because it makes Safari terribly slow. It reintroduces
the tile gaps, but oh well, we choose the lesser evil here.
Also, performance in latest iOS is the same with and without the patch
so there’s no harm in removing this.
2015-06-04 19:15:19 +03:00
Iván Sánchez Ortega
81b038926c
Cleaning up map layers when map.remove() is run
2015-06-04 16:30:38 +02:00
Vladimir Agafonkin
3676e94e0f
Merge pull request #3513 from Leaflet/tile-opacity
...
Fixes #3431 , GridLayer.setOpacity() behaviour on active tiles.
2015-06-04 16:38:19 +03:00
Iván Sánchez Ortega
3a9da3bd7c
Fixes #3431 , GridLayer.setOpacity() behaviour on active tiles.
2015-06-04 15:02:28 +02:00
Vladimir Agafonkin
7bc37fe09a
Merge pull request #3508 from Leaflet/gridlayer-bounds
...
Implement 'overlaps' spatial operator on bounds and use it on gridlayers
2015-06-04 15:23:54 +03:00
Vladimir Agafonkin
74126639d5
Merge pull request #3510 from Leaflet/bouncy-max-bounds
...
Add an option to make the map's maxBounds non-bouncy. Fixes #1673 .
2015-06-03 21:00:38 +03:00
Iván Sánchez Ortega
8a352fbbbf
Add an option to make the map's maxBounds non-bouncy. Fixes #1673 .
2015-06-02 17:24:22 +02:00
Vladimir Agafonkin
bd1b88c1dd
Merge pull request #3509 from Leaflet/prune-tiles-out-of-zoom
...
Gridlayer prunes all tiles when zooming out of minzoom/maxzoom.
2015-06-02 13:30:21 +02:00
Iván Sánchez Ortega
3b183f01bb
Gridlayer prunes all tiles when zooming out of minzoom/maxzoom.
2015-06-02 12:58:38 +02:00
Iván Sánchez Ortega
c0384bbe21
Implement 'overlaps' spatial operator on bounds and use it on gridlayers
2015-06-02 12:35:31 +02:00
Vladimir Agafonkin
e70b84218c
Merge pull request #3505 from smellman/layer_minzoom_maxzoom_fix
...
restore minZoom and maxZoom check on _update
2015-06-02 09:37:18 +03:00
Taro Matsuzawa
4399b8f935
restore minZoom and maxZoom check on _update
2015-06-02 13:01:50 +09:00
Iván Sánchez Ortega
45b1110b71
Add q-cluster plugin.
2015-06-01 14:44:46 +02:00
Vladimir Agafonkin
be2d47257a
Merge pull request #3504 from frogcat/gh-pages
...
Update plugins.md
2015-05-30 14:39:24 +03:00
Yuzo Matsuzawa
68f14f3bb8
Update plugins.md
...
Add Leaflet.TileLayer.Mask
2015-05-30 18:35:06 +09:00
Iván Sánchez Ortega
52b36df98f
Merge pull request #3503 from nhnb/gh-pages
...
added pointer to unified leaflet-map web component, compatible with Polymer 1.0.0
2015-05-28 22:56:39 +02:00
Hendrik Brummermann
d5d7fead08
fixed syntax error
2015-05-28 22:53:47 +02:00
Hendrik Brummermann
a9fddb1f98
added pointer to the unified web component
2015-05-28 22:51:14 +02:00
Vladimir Agafonkin
d45c7ddfec
Merge pull request #3502 from pdehaan/patch-1
...
Update license attribute
2015-05-28 23:37:48 +03:00
Peter deHaan
6a6d833a2f
Update license attribute
...
specifying the type and URL is deprecated:
https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-28 13:15:31 -07:00
Iván Sánchez Ortega
9eb5de9bbf
Add leaflet-fractal
2015-05-28 15:14:31 +02:00
Iván Sánchez Ortega
8ef3e6e6c1
Emergency switching CDN URLs
2015-05-28 11:09:29 +02:00
Vladimir Agafonkin
dd904a9701
Merge pull request #3499 from vingiarrusso/add-isPopupOpen-method
...
add isPopupOpen method to layer
2015-05-28 09:23:33 +03:00
vingiarrusso
376820ff63
use existing method on popup
2015-05-27 16:59:54 -07:00
vingiarrusso
fd1b295b95
add isPopupOpen method to layer
2015-05-27 16:34:06 -07:00
Iván Sánchez Ortega
a9a1d75b73
Merge pull request #3497 from andy-kay/patch-1
...
add L.GridCluster
2015-05-27 23:59:33 +02:00
andy-kay
5e32775d40
add L.GridCluster
2015-05-27 22:16:42 +02:00
Iván Sánchez Ortega
a5a43a38e1
Merge pull request #3495 from garnertb/gh-pages
...
Document L.Path.options.fillRule. Fixes #3478 .
2015-05-27 09:33:24 +02:00
Tyler Garner
cb1bb853eb
Document L.Path.options.fillRule. Fixes #3478 .
2015-05-26 20:38:06 -04:00
Iván Sánchez Ortega
de59b95e93
Merge pull request #3493 from paulovieira/gh-pages
...
add 3 plugins related to vector tiles + 1 plugin for visualizing trees
2015-05-27 01:09:55 +02:00
Paulo Vieira
04685d9705
add 3 plugins related to vector tiles + 1 plugin for visualizing trees
2015-05-27 00:03:57 +01:00
Iván Sánchez Ortega
37c345601e
Typo in plugins.md was breaking sections
2015-05-26 13:18:27 +02:00
Vladimir Agafonkin
45034155bd
huge changelog update, #2959
...
not yet finished, another batch to come
2015-05-25 19:45:28 +03:00
Vladimir Agafonkin
df84336388
Merge pull request #3489 from RLRR/fix-paninsidebounds-array-param
...
Make panInsideBounds method accept bounds in array form
2015-05-25 15:25:11 +03:00
Alex Fedosov
9313733d3f
make panInsideBounds accept array
2015-05-25 17:45:53 +06:00
Vladimir Agafonkin
33753fe3d6
Merge pull request #3488 from Leaflet/persist-marker-dragging
...
Persist marker dragging when removing/readding it.
2015-05-25 12:02:01 +03:00
Iván Sánchez Ortega
61141ee649
Add Leaflet.MandelbrotGL
2015-05-23 13:41:48 +02:00
Iván Sánchez Ortega
db8a790ae3
Persist marker dragging when removing/readding it.
2015-05-22 10:19:39 +02:00
Iván Sánchez Ortega
f019be915e
Merge pull request #3487 from PowerPan/patch-1
...
Add Leaflet.mouseCoordinates
2015-05-22 09:21:46 +02:00
Johannes Rudolph
e5a95567a3
Add Leaflet.mouseCoordinates
...
Add Leaflet.mouseCoordinates Plugin
2015-05-22 09:18:16 +02:00
Vladimir Agafonkin
8ffbb707c6
add layer getElement methods
2015-05-21 19:57:12 +03:00
Iván Sánchez Ortega
478bf4084f
Merge pull request #3484 from knreise/gh-pages
...
Add L.TileLayer.Kartverket
2015-05-21 10:28:12 +02:00
Atle Frenvik Sveen
2ea576e86a
add L.TileLayer.Kartverket
2015-05-21 10:24:52 +02:00
Rik Vanmechelen
c4b6e79fa4
fix inertia when only moving on one axis, close #3432
2015-05-20 22:35:57 +03:00
Vladimir Agafonkin
d1c3550017
update deps
2015-05-20 19:45:56 +03:00
Steve
08b08cd8e1
Fix typos in Class options section
2015-05-18 10:27:58 -05:00
Iván Sánchez Ortega
3c41b9a424
Merge pull request #3476 from alexandreDavid/leaflet.orientedMarker
...
Add plugin to manage oriented markers dynamically.
2015-05-18 13:01:17 +02:00
Alexandre David
8c59a13428
Add plugin to manage oriented markers dynamically.
2015-05-18 12:56:11 +02:00
Iván Sánchez Ortega
2893571753
Add plugin Leaflet.ControlledBounds
2015-05-18 10:51:15 +02:00
Vladimir Agafonkin
6d811ab5a8
Merge pull request #3470 from eddies/patch-2
...
Update quick-start.md
2015-05-14 11:37:58 +03:00
Edwin Shin
7d62cfc41f
Update quick-start.md
...
Corrects the links in the code block (was using markdown syntax within the code block)
2015-05-14 16:28:07 +08:00
Vladimir Agafonkin
6ebc1c83c0
Merge pull request #3469 from eddies/patch-1
...
Update quick-start.md
2015-05-14 11:20:30 +03:00
Edwin Shin
022b836fa9
Update quick-start.md
...
Updates Mapbox url to use: i) SSL, ii) v4 API, iii) custom keys for id and accessToken
Adds documentation link for URL template
2015-05-14 16:17:12 +08:00
Steve
ac00f05e07
Fix wording in moveend section of API.
2015-05-13 11:50:56 -05:00
Iván Sánchez Ortega
33460f916a
Merge pull request #3467 from rowanwins/patch-1
...
Remove old plugin
2015-05-13 13:45:35 +02:00
Rowan Winsemius
52e669fcdd
Remove old plugin
...
Plugin no longer maintained
2015-05-13 21:38:08 +10:00
Vladimir Agafonkin
9dbb14a431
Merge pull request #3465 from Leaflet/infinite-bounds
...
Added debug page for infinite horizontal bounds
2015-05-13 01:31:37 +03:00
Iván Sánchez Ortega
df37705bdb
Added debug page for infinite horizontal bounds
2015-05-13 00:21:27 +02:00
Vladimir Agafonkin
70e9bc6a6d
Merge pull request #3463 from Leaflet/svg-group
...
Wrap all SVG paths inside a <g>
2015-05-12 12:37:15 +03:00
Iván Sánchez Ortega
8eac992897
Plugins: add Mapbox's gl-leaflet and leaflet-image
2015-05-12 11:36:08 +02:00
Iván Sánchez Ortega
555c80f20e
Wrap all SVG paths inside a <g>
2015-05-12 10:38:12 +02:00
Vladimir Agafonkin
c8594e428c
Merge pull request #3460 from Leaflet/degraded-flyto
...
Graceful degradation of zoom-pan animations, fixes #3272 .
2015-05-11 20:19:34 +03:00
Iván Sánchez Ortega
9274ee2b5f
Graceful degradation of zoom-pan animations, fixes #3272 .
2015-05-11 16:54:46 +02:00
Vladimir Agafonkin
5ff85a8374
Merge pull request #3453 from paulovieira/gh-pages
...
add QGIS2Leaf plugin
2015-05-11 14:20:42 +03:00
Paulo Vieira
d84d5c788d
Add QGIS2Leaf plugin to the Overlay data formats section
2015-05-11 11:56:24 +01:00
Vladimir Agafonkin
b0d44ca610
Merge pull request #3452 from Leaflet/less-important
...
More targeted max-width: !important in CSS
2015-05-11 13:33:45 +03:00
Vladimir Agafonkin
81188e04dc
Merge pull request #3458 from dalbrx/gh-pages
...
Leaflet.ResizableControl
2015-05-11 09:54:49 +03:00
David Albrecht
00b71b897f
Leaflet.ResizableControl plugin
2015-05-11 00:48:12 +02:00
Vladimir Agafonkin
983fce0fee
Merge pull request #3455 from Leaflet/polyline-isempty
...
Add Polyline/Polygon.isEmpty method
2015-05-10 00:21:10 +03:00
Yohan Boniface
298a27fbe4
Add Polyline/Polygon.isEmpty method
2015-05-09 23:03:22 +02:00
Vladimir Agafonkin
9d77c84604
Merge pull request #3454 from Leaflet/fix-empty-addto
...
Fix polygon.addTo(map) failing when latlngs was empty.
2015-05-09 23:45:57 +03:00
Yohan Boniface
426f331874
Fix polygon.addTo(map) failing when latlngs was empty.
...
Since #3279 an empty polygon as a nested array [[]] as latlngs,
so _latlngs.length returns true.
2015-05-09 22:04:46 +02:00
Yohan Boniface
b3ff3a0e52
More targeted max-width: !important in CSS
...
This for example allows to have images in popups not affected
by the max-width.
2015-05-09 08:54:44 +02:00
Vladimir Agafonkin
b170695fe5
bump version to clear up confusion
2015-05-08 17:55:19 +03:00
Vladimir Agafonkin
64b9d05e4c
update deps
2015-05-08 17:54:34 +03:00
Iván Sánchez Ortega
29e8507851
Test webpage for #3233
2015-05-08 16:32:57 +02:00
Iván Sánchez Ortega
b849568ca0
Merge pull request #3233 from juliensoret/grabbingCursor
...
Fix cursor when dragging is set to false.
2015-05-08 16:32:24 +02:00
Vladimir Agafonkin
472336082d
Merge pull request #3447 from IvanSanchez/gh-pages-header-permalinks
...
Plugins page: turn headers into permalinks
2015-05-08 17:07:34 +03:00
Iván Sánchez Ortega
b121744e7e
Plugins page: turn headers into permalinks
2015-05-08 15:53:46 +02:00
Vladimir Agafonkin
7603010f8b
Merge pull request #3279 from Leaflet/nested-polygons
...
Ensure polygons latlngs are never flat (cf #2618 )
2015-05-08 16:01:56 +03:00
Yohan Boniface
6aca7ef3c2
Add back L.Polyline.addLatLng
2015-05-08 14:53:21 +02:00
Vladimir Agafonkin
56f9ecac83
Merge pull request #3446 from ilfa/fix-vector-ie8
...
Fix vector in ie8
2015-05-08 15:10:21 +03:00
i.taratuhin
57d7dff81f
fix vector in ie8
2015-05-08 18:03:24 +06:00
Yohan Boniface
2408cf2bb6
_flat is now a static method
2015-05-08 13:11:58 +02:00
Yohan Boniface
8b97b905e8
Merge branch 'master' into nested-polygons
2015-05-08 13:10:49 +02:00
Vladimir Agafonkin
9024a79a6e
Merge pull request #3445 from Leaflet/static-flat
...
Make L.Polyline._flat a static method
2015-05-08 13:10:37 +03:00
Yohan Boniface
d53d958e81
Simpler approach for static method
2015-05-08 12:01:22 +02:00
Yohan Boniface
19d6008dfc
Make L.Polyline._flat a static method
2015-05-08 11:52:00 +02:00
Vladimir Agafonkin
295e4caffb
Merge pull request #3439 from IvanSanchez/gh-pages-frameworkplugins
...
Add some framework integration stuff into plugins, just because.
2015-05-08 11:06:11 +03:00
Iván Sánchez Ortega
dac9d33c1e
Add some framework integration stuff into plugins, just because.
2015-05-08 01:03:13 +02:00
Vladimir Agafonkin
3266893252
Merge pull request #3438 from IvanSanchez/gh-pages
...
Reorganized plugin categories
2015-05-07 23:50:02 +03:00
Iván Sánchez Ortega
118ef055d2
Plugins page: rewording, table of contents, moving stuff around.
2015-05-07 22:42:30 +02:00
Iván Sánchez Ortega
e6a0b10bfd
Reorganized plugin categories (should fix Leaflet/Leaflet#3414 )
2015-05-07 19:05:58 +02:00
Vladimir Agafonkin
41cf02d7d0
Merge pull request #3436 from paulovieira/gh-pages
...
add react-leaflet
2015-05-07 17:03:09 +03:00
paulovieira
476d24a636
add react-leaflet
2015-05-07 14:29:43 +01:00
Vladimir Agafonkin
6c0557c868
Merge pull request #3386 from Leaflet/polyline-flat
...
Fix L.Polyline._flat returning true for a nested empty array
2015-05-07 11:08:37 +03:00
Vladimir Agafonkin
bb68b7342f
Merge pull request #3390 from Leaflet/latlng-clone
...
Add LatLng.clone
2015-05-07 11:07:21 +03:00
Vladimir Agafonkin
badf004a29
Merge pull request #3416 from glathoud/patch-1
...
Added singleclick plugin
2015-05-06 19:47:41 +03:00
Steve
dd72c3645a
Fix typo in Layer Controls example.
2015-04-30 10:34:59 -05:00
Iván Sánchez Ortega
8f3a353d84
LatLng.wrap shall not drop altitude, closes #3420
2015-04-30 16:38:48 +02:00
Guillaume Lathoud
8b6d5f2fbc
fixed singleclick live example URL
2015-04-30 14:39:05 +02:00
Guillaume Lathoud
3a02c452c0
fixed singleclick repo url, now in its own repo
...
https://github.com/Alpstein/leaflet-singleclick_0.7
2015-04-30 14:33:01 +02:00
Vladimir Agafonkin
828ceea07f
Merge pull request #3419 from IvanSanchez/browser-ffx-mobile
...
Detect Firefox for Android as L.Browser.mobile
2015-04-30 15:15:33 +03:00
Iván Sánchez Ortega
ea680ce21a
Detect Firefox for Android as L.Browser.mobile
2015-04-30 13:20:19 +02:00
Guillaume Lathoud
5ab01c36e4
Added singleclick plugin
2015-04-30 11:59:13 +02:00
Vladimir Agafonkin
24ce6b3e8e
Merge pull request #3410 from IvanSanchez/multiple-maxbounds
...
Prevent recursion on map.setMaxBounds
2015-04-29 13:52:25 +03:00
Iván Sánchez Ortega
286f192ca9
Prevent recursion on map.setMaxBounds
2015-04-29 11:07:45 +02:00
Vladimir Agafonkin
d26000622d
Merge pull request #3405 from IvanSanchez/navigator.geolocation
...
Fix leaflet/Leaflet#3404
2015-04-27 16:10:14 +03:00
Iván Sánchez Ortega
71f93c44ef
Fix leaflet/Leaflet#3404
2015-04-27 09:42:54 +02:00
Steve
6abcdb9751
Fix ESRI Imagery 404s
2015-04-23 13:59:38 -05:00
Vladimir Agafonkin
6030d06bf1
Merge pull request #3398 from oliverroick/gh-pages
...
Adds Leaflet.Deflate to official plugin list
2015-04-23 13:11:35 +03:00
Oliver Roick
af6e12137e
Adds Leaflet.Deflate to official plugin list
2015-04-23 09:31:16 +01:00
Vladimir Agafonkin
0b0f8caae9
Merge pull request #3397 from IvanSanchez/flyto-options
...
Implement options in L.Map.flyTo()
2015-04-23 10:43:10 +03:00
Iván Sánchez Ortega
c3575be344
Implement options in L.Map.flyTo()
2015-04-23 09:18:59 +02:00
Vladimir Agafonkin
d2529e31b2
Merge pull request #3396 from aparshin/gh-pages-gibs
...
Add Leaflet.GIBS plugin
2015-04-23 09:35:08 +03:00
Alexander Parshin
50513ad908
Add Leaflet.GIBS plugin
2015-04-23 01:12:20 +03:00
Vladimir Agafonkin
578247150c
Merge pull request #3392 from IvanSanchez/master
...
Implement L.Map.flyToBounds(), #3391
2015-04-22 14:23:17 +03:00
Iván Sánchez Ortega
4d70fe09a7
Implement L.Map.flyToBounds(), #3391
2015-04-22 01:27:25 +02:00
Yohan Boniface
8938754bd5
Merge branch 'master' into nested-polygons
...
Conflicts:
spec/suites/layer/vector/PolygonSpec.js
2015-04-21 15:57:24 +02:00
Yohan Boniface
097128cfa7
Add LatLng.clone
2015-04-21 15:52:44 +02:00
Vladimir Agafonkin
92dc460bb1
Merge pull request #3387 from Wildhoney/gh-pages
...
Added L.Pather in plugin list
2015-04-20 12:41:31 +03:00
Wildhoney
e765af890e
Added L.Pather in plugin list
2015-04-19 20:56:44 +01:00
Yohan Boniface
003e94ae11
Fix L.Polyline._flat returning true for a nested empty array
2015-04-18 17:41:36 +02:00
Vladimir Agafonkin
c315751b94
Merge pull request #3383 from nathancahill/master
...
add map.setMinZoom() and map.setMaxZoom() closes #3380
2015-04-17 11:01:17 +03:00
Nathan Cahill
91fe187ee7
add return statements to allow chaining
2015-04-17 00:49:49 -05:00
Nathan Cahill
794e64df41
add map.setMinZoom() and map.setMaxZoom() closes #3380
2015-04-16 18:39:40 -05:00
Vladimir Agafonkin
b719f931ff
Merge pull request #3379 from roadtrippers/rt-fix_ms_touch
...
Fix broken zoom for Project Spartan browsers.
2015-04-16 19:42:54 +03:00
Mitch Oliver
e44179da12
Fix broken zoom for Project Spartan browsers.
...
Special thanks to the Project Spartan team for letting us know.
2015-04-16 12:09:09 -04:00
Vladimir Agafonkin
540b07c356
Merge pull request #3376 from manleyjster/gh-pages
...
Add Leaflet.toolbar, Leaflet.Illustrate, and Leaflet.DistortableImage to the plugins list.
2015-04-15 12:39:32 +03:00
Justin Manley
ee1b820ca4
Add Leaflet.toolbar, Leaflet.Illustrate, and Leaflet.DistortableImage to the plugins list.
2015-04-14 20:25:02 -05:00
Vladimir Agafonkin
7b1ddd8c73
Merge pull request #3372 from Leaflet/polygon-getcenter
...
Fix Polygon.getCenter returning invalid LatLng when all points in same pixel
2015-04-12 20:37:11 +03:00
Yohan Boniface
3336bcbbe9
Fix Polygon.getCenter returning invalid LatLng when all points in same pixel
2015-04-12 18:43:04 +02:00
Vladimir Agafonkin
a9f7cb9060
Merge pull request #3371 from Leaflet/polyline-getcenter
...
Fix Polyline.getCenter returning undefined with very small line
2015-04-12 13:23:16 +03:00
Yohan Boniface
a82c80ecd9
Fix Polyline.getCenter returning undefined with very small line
2015-04-12 11:25:46 +02:00
Vladimir Agafonkin
57580ec7bc
Merge pull request #3369 from Leaflet/gridlayer-updateopacity
...
Never try to run _updateOpacity if this._map is undefined
2015-04-11 18:14:36 +03:00
Yohan Boniface
7523aaafa0
Never try to run _updateOpacity if this._map is undefined
2015-04-11 15:09:33 +02:00
Vladimir Agafonkin
024e01ec3a
Merge pull request #3288 from Leaflet/events-on-divicon
...
Also listen to events on marker icon childs elements
2015-04-10 09:09:54 +03:00
Vladimir Agafonkin
a6138ba6cd
Merge pull request #3342 from MazeMap/gh-pages
...
Add plugin Leaflet.LayerGroup.Collision
2015-04-10 09:07:47 +03:00
Vladimir Agafonkin
9d55e7c258
Merge pull request #3356 from oskosk/patch-1
...
Added Leaflet.Weather plugin
2015-04-10 09:07:27 +03:00
Yohan Boniface
37b87b4b21
Loop through parents when event src element is not in targets
...
For example, when using a DivIcon, we often add DOM elements in it,
which can then be the actual target of DOM events.
2015-04-10 07:59:59 +02:00
Vladimir Agafonkin
78d8a4d9f3
fix zoom out on azerty keyboard, close #3362
2015-04-09 21:53:12 +03:00
Vladimir Agafonkin
a995b07820
Merge pull request #3360 from stephank/feat-layer-loading
...
Add isLoading to GridLayer
2015-04-08 18:51:52 +03:00
Stéphan Kochen
03c888c20f
Add isLoading to GridLayer
2015-04-08 10:23:50 +02:00
Vladimir Agafonkin
372f4ac128
Merge pull request #3358 from Trufi/change-translate3d-detection
...
Change translate3d detection
2015-04-08 01:00:54 +03:00
Mstislav Zhivodkov
b6b4c07375
add opera12 to any3d
2015-04-07 10:43:12 +06:00
Mstislav Zhivodkov
4b757fe2cd
change translate3d detection
2015-04-06 18:05:11 +06:00
Vladimir Agafonkin
cac1494f64
Merge pull request #2574 from tohaocean/patch-1
...
Opera does not support translate3d property
2015-04-06 13:21:40 +03:00
Oscar López
8c2e462a5e
Added Leaflet.Weather plugin
...
Added row in control plugins table with reference to https://github.com/oskosk/Leaflet.Weather
2015-04-04 20:51:45 -03:00
Vladimir Agafonkin
4f7cc697bf
Merge pull request #3352 from gregallensworth/patch-3
...
Added L.Control.Credits
2015-04-03 11:25:55 +03:00
Greg Allensworth
2dd31fa459
Added L.Control.Credits
2015-04-02 18:51:15 -07:00
Vladimir Agafonkin
8e7a01c27c
Merge pull request #3347 from Lambdac0re/patch-1
...
Update reference.html
2015-04-02 17:21:21 +03:00
Vladimir Agafonkin
e708e37ab7
Merge pull request #3346 from RLRR/fix-ie8-tile-freeze
...
Fix tile loading in IE8
2015-04-02 17:04:08 +03:00
Lambdac0re
88517afea9
Update reference.html
2015-04-01 14:42:38 +02:00
Alex Fedosov
56733af488
fix tile freeze in ie8
2015-04-01 16:42:46 +06:00
Iván Sánchez Ortega
8527211550
Add plugin Leaflet.LayerGroup.Collision
2015-03-31 16:32:33 +02:00
Vladimir Agafonkin
787dd3fb1d
Merge pull request #3341 from tomaszbrue/gh-pages
...
Leaflet.BoatMarker
2015-03-30 23:08:57 +03:00
Thomas Brüggemann
7b0fac890a
Updated BoatMarker description text
2015-03-30 21:15:54 +02:00
Thomas Brüggemann
41ee7272d9
Added Leaflet.BoatMarker
...
https://github.com/tomaszbrue/leaflet.boatmarker
2015-03-30 21:14:25 +02:00
Vladimir Agafonkin
1378bea0d1
Merge pull request #3340 from MazeMap/focus-pane-bug
...
Fix #3333 by catching the onScroll event on the map container
2015-03-30 17:35:27 +03:00
Iván Sánchez Ortega
558f8c3a06
Fix #3333 by catching the onScroll event on the map container
2015-03-30 16:31:18 +02:00
Vladimir Agafonkin
35971f736d
Merge pull request #3336 from patrickarlt/popup-tests
...
Add tests for using function as popup content
2015-03-29 11:52:20 +03:00
Patrick Arlt
f3c802c97c
add test for new popup functionality
2015-03-28 19:20:56 -07:00
Vladimir Agafonkin
77e71cc427
Merge pull request #3334 from gregallensworth/gh-pages
...
Added L.BoxZoom control
2015-03-28 23:16:27 +02:00
Greg Allensworth
727c753494
Added L.BoxZoom control
2015-03-28 09:33:12 -07:00
Vladimir Agafonkin
03709154c8
Merge pull request #3331 from atstp/gh-pages
...
Add L.Sleep plugin
2015-03-26 19:49:23 +02:00
Dan
e387451fc5
add L.Sleep plugin
...
Sate Leaflet's hunger for scroll events
when they're not necessary.
2015-03-26 10:13:20 -07:00
Vladimir Agafonkin
3327704584
Merge pull request #3330 from stefanocudini/gh-pages
...
added new plugin geojson list
2015-03-25 15:40:25 +02:00
Stefano Cudini
7ce3f881c9
Update plugins.md
2015-03-25 14:30:40 +01:00
Stefano Cudini
0f55e41a13
added new plugin geojson list
2015-03-25 14:13:53 +01:00
Vladimir Agafonkin
05fd0dbc1a
Merge pull request #3323 from gregallensworth/patch-1
...
Added L.TileLayer.Cordova
2015-03-21 22:36:35 +02:00
Greg Allensworth
dd900a70a6
Added L.TileLayer.Cordova
2015-03-21 13:01:14 -07:00
Vladimir Agafonkin
7577bb65da
Merge pull request #3321 from cscott530/gh-pages
...
added Leaflet-History to plugins list.
2015-03-21 15:22:11 +02:00
Chris Scott
915f6799d8
added Leaflet-History to plugins list.
2015-03-21 01:05:02 -04:00
Patrick Arlt
879b656249
resolve merge conflict
2015-03-19 07:53:58 -07:00
Vladimir Agafonkin
205575c932
Merge pull request #3303 from Trufi/panby-return
...
Map panBy always return map object
2015-03-18 18:52:23 +02:00
Vladimir Agafonkin
21a748123f
Revert "e.button === 0 is the left mouse button."
...
This reverts commit 0d1716d796
.
2015-03-18 13:09:04 +02:00
Vladimir Agafonkin
1d5df5aa19
Merge pull request #3310 from balrog-kun/gh-pages
...
Add Leaflet.bpg to plugin list. (BPG tile format)
2015-03-15 18:07:23 +01:00
Andrzej Zaborowski
01ce114d33
Add Leaflet.bpg to plugin list. (BPG tile format)
2015-03-15 17:02:20 +01:00
Vladimir Agafonkin
eb34e6682d
Merge pull request #3109 from Leaflet/popup-debugging
...
Improve popups for FeatureGroup
2015-03-14 12:38:08 -07:00
Patrick Arlt
6917733750
restore toggling marker popups, pass ESLint
2015-03-14 12:13:44 -07:00
Patrick Arlt
6ed939422c
Merge branch 'group-popup' of github.com:Leaflet/Leaflet into popup-debugging
2015-03-14 10:23:50 -07:00
Patrick Arlt
52be81b18b
Merge branch 'master' of github.com:Leaflet/Leaflet into popup-debugging
2015-03-14 10:22:25 -07:00
Vladimir Agafonkin
aa1b3b4d4c
Merge pull request #3289 from Leaflet/phantomjs-travis
...
Attempt to fix random PhantomJS DISCONNECTED errors on Travis
2015-03-13 10:47:18 -07:00
Vladimir Agafonkin
677392c3d8
Merge pull request #3293 from Leaflet/flyto-callback
...
Add optional callback to map.flyTo
2015-03-13 10:46:53 -07:00
Vladimir Agafonkin
f2eea90bbf
Merge pull request #3302 from brandoncopeland/patch-1
...
adds leaflet-measure
2015-03-13 10:46:21 -07:00
Mstislav Zhivodkov
b93d42880e
map panBy always return map
2015-03-12 12:10:53 +06:00
Brandon Copeland
6ee71b1d8f
adds leaflet-measure
...
I've added a control we recently developed, `leaflet-measure`. It provides tools to create coordinate, linear, and area measurements. Thanks.
2015-03-11 08:56:28 -05:00
Vladimir Agafonkin
7db3473727
fix typo, thanks @uniphil
2015-03-10 20:38:13 -07:00
Yohan Boniface
4e25056703
Typo in test description
2015-03-09 10:13:42 +01:00
Yohan Boniface
c10f81f95d
Remove flyTo callback (but keep test refactored)
2015-03-09 10:11:20 +01:00
Yohan Boniface
60df920452
Add optional callback to map.flyTo
2015-03-08 12:21:43 +01:00
Vladimir Agafonkin
a92c8a3c21
Merge pull request #3287 from Szunti/mousebutton
...
e.button === 0 is the left mouse button.
2015-03-08 00:15:12 +02:00
Yohan Boniface
00b97f3b01
Remove browserNoActivityTimeout from karma config
2015-03-07 23:12:15 +01:00
Vladimir Agafonkin
8e78c429e0
Merge pull request #3291 from Leaflet/popupAnchor
...
Fix popupAnchor not taken into account when passing L.Popup to bindPopup
2015-03-07 23:57:10 +02:00
Vladimir Agafonkin
56b52ec27a
Merge pull request #3290 from Leaflet/console-on-tests
...
Allow to use console in tests
2015-03-07 23:53:53 +02:00
Yohan Boniface
250f03339b
Fix popupAnchor not taken into account when passing L.Popup to bindPopup
2015-03-07 19:00:27 +01:00
Yohan Boniface
d53a0a9779
Allow to use console in tests
...
This prevents us from adding /* eslint no-console: 0 */ each time
we need to use console.log/trace for debugging.
This also means that we will not be blocked if we forget a console
in the tests before commiting, but this should also happen while using
the inline "no-console" config, and given that this only affects tests
files, I think the confort of being able to use console easily worths
the risk of pushing a console in the tests files.
2015-03-07 12:48:46 +01:00
Yohan Boniface
196040b795
Attempt to fix random PhantomJS DISCONNECTED errors on Travis
2015-03-07 12:45:41 +01:00
Szunti
0d1716d796
e.button === 0 is the left mouse button.
2015-03-06 20:25:04 +01:00
Vladimir Agafonkin
c5a9875489
Merge pull request #3286 from Lamdabc0re/patch-1
...
Update reference.html
2015-03-06 15:39:41 +02:00
Lamdabc0re
7e0eae568b
Update reference.html
...
L.Util.falseFn() does NOT return a function!
2015-03-06 14:36:34 +01:00
Yohan Boniface
19033957d7
A few more tests on Polyline and Polygon (cf #3279 )
2015-03-06 09:14:00 +01:00
Yohan Boniface
0d0269ac15
Remove Polyline.addLatLng and Polyline.spliceLatLngs
...
Those method are not consistent (or too complexe) among
the supported Polygon/Polyline (cf #3279 )
2015-03-06 09:05:50 +01:00
Vladimir Agafonkin
bba39b3eba
Merge pull request #3275 from Jakobud/bug/keyboard-event-prevent-map-refocus
...
Prevent map refocus if control click event is from the keyboard
2015-03-05 18:48:15 +02:00
Vladimir Agafonkin
b9f64a4baf
Merge pull request #3282 from torfuspolymorphus/gh-pages
...
Added Leaflet.zoomhome to plugins.md.
2015-03-05 17:31:19 +02:00
Torf
c7f53a2590
Added Leaflet.zoomhome to plugins.md.
2015-03-05 14:57:55 +01:00
Jake Wilson
aae1df5d49
Fixed typo in comment
2015-03-04 19:00:52 -07:00
Jake Wilson
39425924ac
Added truthy check to the event.
2015-03-04 18:58:51 -07:00
Yohan Boniface
602cff077f
Ensure polygons latlngs are never flat (cf #2648 )
2015-03-04 18:14:51 +01:00
Vladimir Agafonkin
455fbb087b
fix maxNativeZoom regression, close #3096
2015-03-04 11:46:03 +02:00
Vladimir Agafonkin
6b565aec1d
Merge pull request #3274 from namrehs/patch-1
...
Add TileLayer.Gigapan
2015-03-04 11:24:05 +02:00
Vladimir Agafonkin
890c47d7b0
Merge pull request #3276 from MazeMap/gh-pages
...
Update PouchDBCached plugin description
2015-03-04 11:23:46 +02:00
Iván Sánchez Ortega
030495b763
Changing PouchDBCached plugin description, because https://github.com/MazeMap/Leaflet.TileLayer.PouchDBCached/issues/2
2015-03-04 10:03:34 +01:00
Jake Wilson
8842385c37
Prevent map refocus if control click event is from the keyboard, which is determined/assumed by the click X,Y being at 0,0.
2015-03-03 22:17:24 -07:00
Dan Sherman
c901474866
Add TileLayer.Gigapan
2015-03-03 21:03:42 -08:00
Vladimir Agafonkin
4dc3a18217
Merge pull request #3270 from Leaflet/fix-freeze
...
Fix zoom animation freeze race condition
2015-03-03 15:07:44 +02:00
Vladimir Agafonkin
142e0661b1
fix touch zoom regression
2015-03-03 15:04:03 +02:00
Vladimir Agafonkin
f27ead251a
Merge pull request #3264 from yohanboniface/drag-original-event
...
Forward original event on drag
2015-03-02 21:38:51 +02:00
Vladimir Agafonkin
08cf1ef03e
Merge pull request #3032 from Leaflet/delegate
...
Use DOM event delegation for all layers
2015-03-02 19:35:36 +02:00
Vladimir Agafonkin
4e44e12ecf
add basic marker click test
2015-03-02 19:33:39 +02:00
Vladimir Agafonkin
35860a0213
fix marker event data
2015-03-02 19:15:52 +02:00
John Firebaugh
a865d2b649
CSS-based outline prevention
2015-03-02 19:03:39 +02:00
Vladimir Agafonkin
63753d8564
prevent focus outline when dragging objects
2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
0a68b25ce5
fix Canvas vector events
2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
43c3f01a1a
cleaner DOM event handling in Map
2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
34bc7fa4ea
switch markers to event delegation API
2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
22c97d1b33
use new event delegation API in ImageOverlay
2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
8e7bbff6d8
switch SVG paths to new delegation API
2015-03-02 19:03:38 +02:00
Vladimir Agafonkin
b149f2d754
Layer add/removeInteractiveTarget methods
...
registers DOM elements for event delegation
2015-03-02 19:03:37 +02:00
Vladimir Agafonkin
bbc3f2fab1
fix zoom anim freeze race condition, close #2693 , close #2478
2015-03-02 15:26:05 +02:00
Vladimir Agafonkin
4c8ffadf30
don't animate negligible touch movements, close #2519
2015-03-02 14:48:09 +02:00
Vladimir Agafonkin
bb230d0ac2
fix race condition in tests
2015-03-02 13:35:02 +02:00
Vladimir Agafonkin
d84c38a5a2
Merge pull request #3267 from akauppi/fix-jake-indents
...
fix 'jake'
2015-03-01 23:11:31 +02:00
Asko Kauppi
f61a681c56
fix 'jake'
2015-03-01 22:51:04 +02:00
Vladimir Agafonkin
954ef1cc10
add indent eslint rule and fix some whitespace
2015-03-01 12:01:28 +02:00
Vladimir Agafonkin
d7007ef353
Merge pull request #3266 from Jakobud/pane-management-redux
...
Vector renderers for custom Pane Management added
2015-03-01 11:56:49 +02:00
Jake Wilson
d0b5aada79
Code consistency changes
2015-02-28 21:26:20 -07:00
Jake Wilson
8c30707e56
Fixed some code style issues.
2015-02-28 21:21:45 -07:00
Jake Wilson
721cf6a689
Added ability to specify pane for vector layer creation, which will automatically create a renderer for that pane if one does not already exists.
2015-02-28 20:48:14 -07:00
Yohan Boniface
1e4b82b990
Cleaner syntax for event forwarding
2015-02-27 17:57:46 +01:00
Vladimir Agafonkin
562c579e3e
Merge pull request #3263 from jieter/patch-2
...
Add a space to make comments look consistant
2015-02-27 18:28:32 +02:00
Yohan Boniface
66654b94eb
Forward original event on drag
2015-02-27 17:27:19 +01:00
Jan Pieter Waagmeester
a7d7bedda7
Add a space to make comments look consistant
...
And now back to real work.
2015-02-27 15:15:16 +01:00
Vladimir Agafonkin
b1202fcb9a
Merge pull request #3259 from SVoyt/patch-2
...
Added Spectrum4Leaflet plugin
2015-02-27 02:14:57 +02:00
Sergey Voyteshonok
f1a14a5f4b
Added Spectrum4Leaflet plugin
2015-02-26 19:30:08 +03:00
Vladimir Agafonkin
98bf92530f
Merge pull request #3258 from jieter/patch-2
...
Update PLUGIN-GUIDE.md
2015-02-26 17:24:32 +02:00
Jan Pieter Waagmeester
4e21a3b54b
Update PLUGIN-GUIDE.md
...
whitespace in plugin example
2015-02-26 15:58:22 +01:00
Vladimir Agafonkin
8c79df1b41
Merge pull request #3256 from MazeMap/gh-pages
...
Add plugin Leaflet.TileLayer.PouchDBCached
2015-02-26 14:22:08 +02:00
Iván Sánchez Ortega
cc260e3d16
Add plugin Leaflet.TileLayer.PouchDBCached
2015-02-26 13:13:53 +01:00
Vladimir Agafonkin
05f8011a37
Merge pull request #3255 from yohanboniface/eslint
...
Use standard .eslintrc config file naming
2015-02-26 13:06:24 +02:00
Yohan Boniface
a9658d7178
Use standard .eslintrc naming
2015-02-26 11:29:42 +01:00
Vladimir Agafonkin
591de218f0
Merge pull request #3247 from hosuaby/gh-pages
...
Add Leaflet.SmoothMarkerBouncing plugin on the list of available Leaflet...
2015-02-24 10:43:07 +02:00
Alexei KLENIN
9ca6788735
Add Leaflet.SmoothMarkerBouncing plugin on the list of available Leaflet plugins.
2015-02-22 13:24:13 +01:00
John Firebaugh
4101f01778
Merge pull request #3245 from akauppi/omitted-to-in-PLUGIN-GUIDE
...
Small typo in plugin guide
2015-02-21 13:52:03 -08:00
John Firebaugh
34205912fc
Merge pull request #3244 from akauppi/two-semicolons-in-image-overlay-demo
...
Two missing ;'s in a demo
2015-02-21 13:51:44 -08:00
Asko Kauppi
b995cf9023
to
2015-02-21 23:01:58 +02:00
Asko Kauppi
f02ccaa346
;;
2015-02-21 22:59:37 +02:00
Vladimir Agafonkin
a8f8f28911
Merge pull request #3241 from maxmalynowsky/patch-2
...
add Maptiks to list of plugins
2015-02-21 11:05:29 +01:00
Maxym Malynowsky
e39184bad2
add Maptiks to list of plugins
2015-02-20 14:32:26 -08:00
Julien SORET
c8c436e42c
Add grabbing cursor to marker when dragged
2015-02-17 22:39:19 +01:00
Vladimir Agafonkin
2856de3a57
Merge pull request #3234 from paulovieira/gh-pages
...
update the url of the leaflet-tilejson plugin
2015-02-16 08:50:29 -08:00
paulovieira
3665045fc7
update the url of the leaflet-tilejson plugin
2015-02-16 11:30:16 +00:00
Julien SORET
03fb73ed22
Fix cursor when dragging is set to false.
2015-02-15 21:18:44 +01:00
Vladimir Agafonkin
d518ad5763
Merge pull request #3231 from vsn4ik/gem_deprecated_options
...
Update travis.yml and CONTRIBUTING.md
2015-02-14 22:35:27 -08:00
vsn4ik
c5de3fcbb8
Changed deprecated gem options on travis.yml and updated links on CONTRIBUTING.md
2015-02-14 15:12:44 +03:00
Vladimir Agafonkin
5f29ccb220
Merge pull request #3230 from yohanboniface/disable-dragging-off-map
...
Do not try to remove drag class if marker as no icon
2015-02-13 09:25:31 -08:00
Yohan Boniface
5b3ba078bf
Do not try to remove drag class if marker as no icon
...
Since 4c46abe781
it's possible
to have a marker off the map with dragging still enabled.
We want to be able to disable it in this situation too.
2015-02-13 17:53:23 +01:00
Vladimir Agafonkin
92382aae4a
Merge pull request #3228 from mahmoodvcs/gh-pages
...
Added Leaflet.NACCoordinates to plugins.md
2015-02-12 10:43:40 -08:00
Mahmood Dehghan
909205856f
Added Leaflet.NACCoordinates to plugins.md
2015-02-12 21:11:21 +03:30
John Firebaugh
a998f9b6c8
Merge pull request #3217 from akauppi/two-small-typos
...
two small typos I spotted during code read-through
2015-02-08 11:10:28 -08:00
Asko Kauppi
a7fc9c9a5f
two small typos I spotted during code read-through
2015-02-08 17:06:16 +02:00
John Firebaugh
21701a6fae
Remove test specific to old zoom code
2015-02-06 16:36:43 -08:00
John Firebaugh
e52c551652
Remove trailing whitespace
2015-02-06 16:36:27 -08:00
Vladimir Agafonkin
2925be1112
Merge pull request #3215 from Leaflet/zoom-anim
...
Followups for zoom animation changes
2015-02-07 02:11:49 +02:00
John Firebaugh
71c11987b5
Ensure tiles have 0 opacity when first painted
...
Fixes #3206
2015-02-06 15:54:13 -08:00
John Firebaugh
875ec02e5f
Remove obsolete unloadInvisibleTiles option
2015-02-06 15:51:20 -08:00
John Firebaugh
e47c568a0d
Stricter selectors for will-change properties
2015-02-06 15:50:24 -08:00
Vladimir Agafonkin
54c712cf2b
Merge pull request #2926 from aparshin/clip-round
...
Add optional parameter for result rounding in L.PolyUtil.clipPolygon and L.LineUtil.clipSegment
2015-02-06 17:42:53 +02:00
Vladimir Agafonkin
1d7c492bdd
discard unneeded tile buffers
2015-02-06 12:17:26 +02:00
Vladimir Agafonkin
6b67df0232
make animations significantly smoother with will-change
2015-02-06 03:13:49 +02:00
John Firebaugh
8d96505527
Remove src reset on removed tiles
...
This is a performance hit on Chrome; no evidence it ever
solved a real issue. (Ref #107 )
2015-02-06 03:13:49 +02:00
John Firebaugh
a0ebbef007
Don't adjust opacity for non-current tiles
2015-02-06 03:13:49 +02:00
Vladimir Agafonkin
421fcca086
Merge pull request #3203 from optical/canvas-weight-consistency
...
Do not render the stroke if the weight is explicitly set to 0
2015-02-06 01:12:35 +02:00
Jared
ff679aa7dc
Do not render the stroke if the weight is explicitly set to 0
...
When rendering to SVG, if the weight is 0 the outline is not displayed.
However, when rendering to canvas it will still display the outline.
This change makes the behaviour consistent when rendering to either.
2015-02-06 11:41:40 +13:00
Vladimir Agafonkin
cb1994a3db
Merge pull request #3142 from Leaflet/tile-fade
...
Fade tiles with requestAnimationFrame rather than CSS
2015-02-04 01:15:37 +02:00
John Firebaugh
fc70a21884
Go back to non-incremental tile pruning algorithm
2015-02-03 14:06:49 -08:00
Vladimir Agafonkin
ddcfa5265a
less redundant opacity-changing frames
2015-02-03 15:25:22 +02:00
John Firebaugh
602648111f
Use rounded zoom level when calculating tile bounds
2015-02-02 13:46:24 -08:00
John Firebaugh
4d119c9cdb
Don't prune tiles during animated zoom
...
Tiles around the border will not be necessary when the zoom
completes, but need to be retained during the zoom.
2015-02-02 12:31:46 -08:00
John Firebaugh
16b1b26116
Adjust retention logic
...
Continue to retain loaded-but-still-fading-in tiles,
but also continue to look for loaded-and-active tiles.
This reduces flicker on multiple rapid zoom actions.
2015-02-02 12:29:53 -08:00
Vladimir Agafonkin
cbfbc88370
optimize DomUtil.setOpacity
...
V8 can’t optimize functions with try/catch inside
2015-02-02 10:50:18 -08:00
Vladimir Agafonkin
fb6eda1fbe
don't request redundant fade in frames
2015-02-02 10:50:18 -08:00
John Firebaugh
465cfbad29
Remove opacity resetting on zoom of pre-existing tiles
...
Now that we are fading during the zoom animation, this
is no longer necessary. The zoom animation itself provides
enough of a transition, and resetting the opacity can lead
to more flickering than it solves.
2015-02-02 10:50:18 -08:00
John Firebaugh
7d90dc152e
Clean up pixel bounds calculations
2015-02-02 10:50:18 -08:00
Vladimir Agafonkin
f94bd51794
Merge pull request #3188 from teastman/gh-pages
...
Added Leaflet.pattern to plugins.md
2015-02-01 03:09:17 +02:00
teastman
111d9a171d
Added Leaflet.pattern to plugins.md
2015-01-31 16:48:30 -08:00
John Firebaugh
bb19fc1bf8
Deterministic tile pruning
...
Do not throttle _pruneTiles. Instead, when adding new tiles,
prune tiles that are no longer needed immediately, and when
a new tile finishes its fade animation, immediately prune
just its parents/children.
2015-01-29 16:26:32 -08:00
Vladimir Agafonkin
017e03e1e8
Merge pull request #3180 from w8r/gh-pages
...
Added L.Path.Drag
2015-01-29 14:08:59 +02:00
Alexander Milevski
adc5db9032
Update plugins.md
2015-01-29 11:30:44 +01:00
Vladimir Agafonkin
f46d164566
Merge pull request #3179 from tinuzz/gh-pages
...
Add Leaflet.Liveupdate and Leaflet.Messagebox to the plugins list
2015-01-29 02:20:02 +02:00
Martijn Grendelman
a2d0dfcf89
Add Leaflet.Liveupdate and Leaflet.Messagebox to the plugins list
2015-01-29 00:11:15 +01:00
Vladimir Agafonkin
e7a7bfc9ea
fix build
2015-01-28 19:45:56 +02:00
John Firebaugh
bbf32ebfcd
Begin tile loading and fading during zoom animation
2015-01-28 19:44:15 +02:00
John Firebaugh
22cfd12956
Fade tiles with requestAnimationFrame rather than CSS
2015-01-28 19:44:14 +02:00
Vladimir Agafonkin
b9cf9c6dd3
Merge pull request #3170 from Starefossen/patch-2
...
[docs] Remove insertAtTheBottom option from addLayer()
2015-01-28 19:38:09 +02:00
Vladimir Agafonkin
4c0f028794
Merge pull request #3176 from Leaflet/eslint
...
Switch from JSHint to ESLint
2015-01-28 19:37:43 +02:00
Vladimir Agafonkin
aeb5083170
complete the switch to ESLint
2015-01-28 19:33:45 +02:00
Vladimir Agafonkin
d145b1fdba
fix a bunch of eslint warnings in the spec suite
2015-01-28 19:32:27 +02:00
Vladimir Agafonkin
e749d1915b
add ESLint rules; various code style fixes
2015-01-28 17:27:31 +02:00
Vladimir Agafonkin
65efd30567
minor chaining fixes
2015-01-28 17:17:26 +02:00
Vladimir Agafonkin
93f3304f22
fix zoom control regression
2015-01-27 23:15:07 +02:00
Vladimir Agafonkin
aace5b278e
add Control.Zoom disable/enable methods, close #3172
2015-01-27 19:09:49 +02:00
Vladimir Agafonkin
06d354e9cd
Merge pull request #3173 from Leaflet/locate-options
...
Don't mutate this._defaultLocateOptions. Fixes #3160
2015-01-26 03:10:31 +02:00
Tom MacWright
a28c9508be
Don't mutate this._defaultLocateOptions.
2015-01-25 19:27:24 -05:00
Hans Kristian Flaatten
5004da2a9e
Remove insertAtTheBottom option from addLayer()
2015-01-24 18:43:57 +01:00
Vladimir Agafonkin
165bc298e0
Merge pull request #3168 from Starefossen/patch-6
...
Update year in copyright.js
2015-01-24 17:43:20 +02:00
Vladimir Agafonkin
0602136da7
Merge pull request #3169 from Starefossen/patch-8
...
Use SVG version of Travis build status badge
2015-01-24 17:43:05 +02:00
Hans Kristian Flaatten
46d5992279
Use SVG version of Travis build status badge
2015-01-24 11:23:23 +01:00
Hans Kristian Flaatten
73147bc9e6
Update year in copyright.js
2015-01-24 11:20:01 +01:00
Vladimir Agafonkin
461f82b710
Merge pull request #3154 from stsydow/master
...
preserve marker dragable state on layer deactivation
2015-01-21 00:09:32 +02:00
Stefan Sydow
4c46abe781
preserve dragable state on layer deactivation
2015-01-19 19:07:04 +01:00
Vladimir Agafonkin
9c10141cc9
Merge pull request #3153 from bb-generation/options-undefined-fix
...
fixed error in _tryAnimatedPan when options is undefined
2015-01-19 02:17:33 +02:00
Bernhard Eder
cc750d43ae
fixed error in _tryAnimatedPan when options is undefined
2015-01-18 23:45:38 +01:00
Vladimir Agafonkin
e653cbe864
Merge pull request #3143 from bcamper/flyto-3139
...
flyTo: convert targetCenter to latLng
2015-01-18 11:18:53 +02:00
Vladimir Agafonkin
59d9dcff4f
Merge pull request #3147 from cmlaidlaw/fix-early-return-bug-due-to-bad-return-value-from-_tryAnimationPan
...
BUG: ._tryAnimatedPan() lies...
2015-01-16 01:58:46 +02:00
Chris Laidlaw
48a374db05
BUG: _tryAnimatedPan lies to setView about whether or not an animation was initiated.
2015-01-15 15:42:54 -08:00
Brett Camper
c656e3f993
flyTo: convert targetCenter to latLng
...
see #3139
2015-01-14 19:47:46 -05:00
Vladimir Agafonkin
3c9700e3ca
Merge pull request #3141 from kyletolle/patch-1
...
Use appropriate loses instead of looses
2015-01-14 23:36:27 +02:00
Kyle Tolle
153b11447c
Use appropriate loses instead of looses
2015-01-14 12:43:41 -07:00
Vladimir Agafonkin
728edbe467
Merge pull request #3140 from kyletolle/patch-1
...
Update mouseup event description
2015-01-14 21:26:45 +02:00
Vladimir Agafonkin
450c1003b6
Merge pull request #3137 from bielfrontera/patch-1
...
Add Leaflet.TimeDimension plugin to list
2015-01-14 21:26:25 +02:00
Kyle Tolle
e6ad9e352b
Update mouseup event description
...
It was the same as mousedown before.
2015-01-14 12:25:21 -07:00
Biel Frontera
6c5dd2a828
Add Leaflet.TimeDimension plugin to list
...
This plugin adds time dimension capabilities on a Leaflet map.
A TimeDimension object can manage the time component of one or several layers, and can be used to animate layers, go back or forward in time.
It works with different types of layers (WMS, GeoJSON).
2015-01-14 15:31:42 +01:00
Vladimir Agafonkin
c3a39f50cf
fix accidentally broken build
2015-01-13 13:31:46 +02:00
Vladimir Agafonkin
4dfbcc46dd
remove inertiaThreshold option, ref #3063
2015-01-13 13:31:11 +02:00
Vladimir Agafonkin
646d83608f
Merge pull request #3063 from RickMohr/improve-inertial-scrolling
...
Improve inertial scrolling
2015-01-13 13:29:41 +02:00
Vladimir Agafonkin
b76caf0f3c
don't count how many tiles to load, ref #3129
2015-01-13 13:22:19 +02:00
Vladimir Agafonkin
e6796fadb8
Merge pull request #3129 from Leaflet/tile-reloading
...
Clean up tile loading
2015-01-13 13:14:40 +02:00
John Firebaugh
d08bdc8e78
Calculate _tilesToLoad
...
Avoids cached _tilesToLoad value getting out of sync with
actual loading tiles, e.g. if _removeOtherTiles or _abortLoading
removes tiles that are loading.
2015-01-12 17:40:28 -08:00
John Firebaugh
99a21117a0
Merge _tiles, _loaded, and _retain into a single map
2015-01-12 17:40:28 -08:00
John Firebaugh
c8fca59b51
Move _pruneTiles up to _update
...
_update is the only place _addTiles is called from,
makes more sense to call _add then _prune than for
_add to call _prune itself.
2015-01-12 13:03:51 -08:00
John Firebaugh
2ee1aa2c23
jshint
2015-01-12 11:03:42 -08:00
Vladimir Agafonkin
7650eaef52
simplify group popup changes, cleanup
2015-01-12 18:56:17 +02:00
Patrick Arlt
9186eade96
remove method checks from test
2015-01-11 08:31:41 -08:00
Vladimir Agafonkin
757c3a5a50
Merge pull request #3117 from k-nut/gh-pages
...
Add leaflet-layer-overpass to plugins
2015-01-09 21:56:40 +02:00
Knut Hühne
7a3bf47207
Add leaflet-layer-overpass to plugins
2015-01-09 20:28:51 +01:00
Vladimir Agafonkin
b77af2e4e1
Merge pull request #3118 from naturalatlas/gh-pages
...
Added Leaflet.TransitionedIcon to plugin list
2015-01-08 12:36:36 +02:00
Brian Reavis
dacf32d3a6
Added Leaflet.TransitionedIcon plugin to list.
2015-01-07 17:33:10 -07:00
Patrick Arlt
ff8023a460
fix passing latlng to openPopup, fix build
2015-01-07 09:50:06 -08:00
Vladimir Agafonkin
a06ea76d1a
Merge pull request #3115 from snkashis/popup_text_color
...
provide a default popup text color of #333
2015-01-07 01:40:02 +02:00
Steve Kashishian
1d174cd502
provide a default popup text color of #333
2015-01-06 16:34:35 -06:00
Patrick Arlt
428095cf51
allow popups with functions to return strings or dom nodes
2015-01-06 10:49:26 -08:00
Patrick Arlt
ed4b4e70c0
cleanup logic
2015-01-06 10:34:19 -08:00
Vladimir Agafonkin
03564ad184
Merge pull request #3114 from w8r/gh-pages
...
added L.Control.LineStringSelect plugin
2015-01-05 22:04:52 +02:00
w8r
7347390868
added L.Control.LineStringSelect plugin
2015-01-05 16:10:37 +01:00
Patrick Arlt
ef0ee1483d
consistant failing test
2015-01-02 07:39:00 -08:00
Patrick Arlt
8285e9dfb5
whitespace
2015-01-02 07:35:58 -08:00
Patrick Arlt
775a8e0c3a
refactor everything to Layer.Popup
2015-01-02 07:34:16 -08:00
Patrick Arlt
95596c78a0
fix whitespace
2015-01-02 06:47:07 -08:00
Vladimir Agafonkin
2e3d4ae020
Merge pull request #3113 from batphil/patch-1
...
Happy new year :o)
2015-01-02 14:17:42 +02:00
batphil
b7dbdade9e
Happy new year :o)
2015-01-02 01:23:44 +01:00
Patrick Arlt
2d709141a8
fix tests, misc cleanup
2014-12-29 13:50:23 -08:00
Patrick Arlt
940452ace0
fix lint
2014-12-29 13:22:58 -08:00
Patrick Arlt
1c3b1889ec
debug for regular layers
2014-12-29 12:58:23 -08:00
Patrick Arlt
ff470d5861
popup improvements for FeatureGroup
2014-12-29 12:14:41 -08:00
Vladimir Agafonkin
dfbd0fa309
Merge pull request #3106 from sam-at-github/patch-1
...
Update CONTRIBUTING.md
2014-12-29 13:13:12 +02:00
sam-at-github
5dc36142f7
Update CONTRIBUTING.md
...
Add link to Jakejs.com and slightly more verbose description of build set up. Useful to Node newbs like myself.
2014-12-28 12:39:18 +11:00
Vladimir Agafonkin
a75e4a2853
Merge pull request #3104 from brendan-ward/add_zoombox_geonames
...
Added Leaflet.ZoomBox and Leaflet.Geonames
2014-12-25 17:46:23 +02:00
Brendan Ward
c6c30e9e91
Added Leaflet.ZoomBox and Leaflet.Geonames
2014-12-24 15:02:22 -08:00
Vladimir Agafonkin
d47400bd7b
Merge pull request #3095 from xEviL/gh-pages
...
Added Leaflet.D3SvgOverlay plugin to the list
2014-12-19 16:38:17 +02:00
Kirill Zhuravlev
8814783824
Added Leaflet.D3SvgOverlay plugin to the list
2014-12-19 15:36:34 +01:00
Vladimir Agafonkin
f02767308d
Merge pull request #3093 from cebence/no-single-base-layer-in-layers-control
...
Hide single base layer in the Layers control
2014-12-18 16:42:23 +02:00
cebence
bea51fdf4f
Disabled by default so it doesn't break existing apps.
2014-12-18 14:28:51 +01:00
cebence
5066ecf043
Hide single base layers in the Layers control.
2014-12-18 13:20:09 +01:00
Vladimir Agafonkin
6e37720f3e
Merge pull request #3091 from markjszy/docupdates
...
Revisions to CONTRIBUTING.md
2014-12-18 13:54:20 +02:00
Mark Szymanski
1b8f4aa88d
Revisions to CONTRIBUTING.md
2014-12-17 20:03:58 -06:00
Vladimir Agafonkin
2e04b302d0
try out the new fast Travis build thingy
2014-12-17 21:09:10 +02:00
Vladimir Agafonkin
224c9672bd
Merge pull request #3086 from mejackreed/gh-pages
...
adds Leaflet-IIIF plugin to plugin page
2014-12-08 19:35:29 -05:00
Jack Reed
79962a73ee
adds Leaflet-IIIF plugin to plugin page
2014-12-08 14:36:38 -08:00
Vladimir Agafonkin
72feb7005d
Merge pull request #3084 from miroslavraska/patch-1
...
Properly unsubscribe Layer events
2014-12-08 15:56:22 -05:00
Vladimir Agafonkin
377f534cc5
Merge pull request #3085 from jseppi/patch-1
...
minor typo fix
2014-12-08 15:51:33 -05:00
James Seppi
cf94c20815
minor typo fix
2014-12-08 14:39:04 -06:00
Vladimir Agafonkin
9d8ce0c363
Merge pull request #3083 from skeate/patch-1
...
Update plugins.md - Add Leaflet.timeline
2014-12-08 15:31:30 -05:00
Miroslav Raska
44a56b3a79
Properly unsubscribe Layer events
...
I've just bumped into this while browsing the source code. It's not tested in any way and I didn't look for similar issues in other files neither. But I hope it helps anyway.
2014-12-08 21:30:44 +01:00
Jonathan Skeate
ccc2826961
Update plugins.md - Add Leaflet.timeline
2014-12-08 14:02:54 -05:00
Vladimir Agafonkin
6ae848b7ef
Merge pull request #3080 from lonelyelk/latlng-no-error
...
L.latLng factory not to throw error on empty array parameter
2014-12-06 10:54:24 -05:00
Sergey Kruk
65cc3c813b
Refactoring: L.latLng factory to call constructor with explicit arguments number
2014-12-06 15:32:22 +03:00
Sergey Kruk
c8e5d7c61b
L.latLng factory not to throw error on empty array parameter
2014-12-05 20:36:35 +03:00
Vladimir Agafonkin
7cafaa6346
Merge pull request #3070 from lonelyelk/latlng-factory-altitude
...
Factory L.latLng to accept altitude
2014-12-01 08:20:28 -05:00
Sergey Kruk
c5ebd534b2
Factory L.latLng to accept altitude as third parameter or an object's 'alt' property
2014-12-01 16:02:43 +03:00
Rick Mohr
08d828f519
Improve inertial scrolling
...
[This post](http://stackoverflow.com/a/3628949/362702 ) claims that in Apple's kinetic scrolling, "The velocity of the touch is measured at the exact moment that the finger is lifted."
I tried both this "final velocity" approach and the "max velocity" approach proposed in #2987 . Both allow a stronger "fling" than the current "average velocity" approach, but "max velocity" can feel wrong if you slow down at the end of your swipe.
But because the "final velocity" approach uses just one data point it can be unstable, occasionally giving a too-large velocity from a small time delta.
Best is to stabilize that by averaging a few data points, so we're back to "average velocity" but using a shorter time period. Averaging over 50 ms instead of 100 ms gives good results, usually 4 data points on both my iPhone 4s and Chrome on my Windows laptop.
Another reason the current code has a weak fling is that the velocity was being calculated incorrectly. Because `delay` was added to the time delta, time was computed from n+1 points but distance from n points.
I also changed the default value of `inertiaThreshold` (intended to prevent unwanted additional movement if you stop dragging and then lift your finger) to `Infinity`, for two reasons:
1) A fling gesture often failed on my iPhone because the measured `delay` was higher than `inertiaThreshold` (current default 32), sometimes by hundreds of ms.
2) With the updated velocity code I don't see unwanted additional movement when I stop dragging and then lift my finger.
There is a remaining issue (with both the original and updated code). If you fling the map and try to fling it again before it stops moving, no drag events are generated for the second fling so it has no effect. I don't see this problem with e.g. Google or Apple maps. Entered as #3062 .
Fixes #2987
2014-11-26 11:34:28 -05:00
Vladimir Agafonkin
1ec89d2fdc
Merge pull request #3043 from kerryarts/ie8-zindex-fix
...
Default zIndex to be a valid value to fix exception in ie8
2014-11-24 15:48:42 +02:00
Vladimir Agafonkin
69e0d0233d
Merge pull request #3052 from kshepard/fix-async-initialize
...
Initialize _sizeChanged to true to prevent async map initialization issues
2014-11-22 11:47:07 +02:00
Kenny Shepard
86a3e0cc8c
Initialize _sizeChanged to prevent async issues
...
When asynchronously initializing a map, the series of events can
create a scenario where _size is incorrectly initialized, and
therefore calls to getSize will not cause a new value to be generated.
This fix sets _sizeChanged to true upon map initialization, which
allows the following first call to getSize to work properly.
Closes #3031
2014-11-21 17:54:46 -05:00
Vladimir Agafonkin
89cbca2fdb
Merge pull request #3051 from kdeloach/topic/fix-map-links
...
Change anchor hrefs from #map to #map-class
2014-11-21 23:45:56 +02:00
kdeloach
eecbe1da47
Change anchor hrefs from #map to #map-class
...
This corrects out of date link references to the Map section.
2014-11-21 16:26:25 -05:00
Vladimir Agafonkin
76440b9df2
Merge pull request #3050 from kdeloach/topic/disable-zoom-scrolling
...
Remove global variable that disables dragging for all maps during zoom
2014-11-21 21:52:42 +02:00
kdeloach
c97c48325a
Remove global variable that disables dragging for all maps during zoom
...
Starting a zoom animation will disable dragging for all maps on the
page. Only the map that is being zoomed should have dragging disabled.
This fix removes a global static variable which is redundant since
the map pane already has a css class assigned to it for the duration of
the zoom animation.
Fixes #2539
2014-11-21 14:41:00 -05:00
Vladimir Agafonkin
e5ee31d6b5
Merge pull request #3048 from CloudNiner/feature/fix-2318
...
Closes #2318 : getMaxZoom returns prev layer on baselayerchange
2014-11-21 21:01:21 +02:00
CloudNiner
703f9a47d9
Closes #2318 : getMaxZoom returns prev layer on baselayerchange
...
Remove all old layers before adding new ones to avoid
the old properties being returned in the baselayerchange handler.
2014-11-21 13:49:10 -05:00
kerryarts
ff10d00297
Check for null before setting the zindex, and instead keep it null initially. This way calls to setZIndex() wont fail if passed null.
2014-11-21 17:11:10 +13:00
Vladimir Agafonkin
9128193e5b
Merge pull request #3044 from kerryarts/vml-bringtofront-fix
...
Fix _bringToFront/Back implementation for VML renderer
2014-11-21 01:16:47 +02:00
kerryarts
0daf28fb4f
Fix _bringToFront/Back implementation for VML renderer
2014-11-21 09:41:02 +13:00
kerryarts
756888cee7
default zIndex to be a valid value to fix exception in ie8
2014-11-20 17:11:02 +13:00
Vladimir Agafonkin
2bd788a7da
Merge pull request #3038 from flemenach/worldcopy-inertia
...
Fix inertia animation with worldCopyJump enabled
2014-11-18 16:47:41 +02:00
flemenach
8c606358cc
Fix inertia animation with worldCopyJump enabled
2014-11-18 09:32:46 +01:00
John Firebaugh
e0a75093dc
Merge pull request #3028 from tomhughes/jshint
...
Don't require jshint as it is not used
2014-11-17 13:54:31 -08:00
Tom Hughes
8f5fe4defc
Don't require jshint as it is not used
2014-11-15 14:43:57 +00:00
Vladimir Agafonkin
3318f8d424
Merge pull request #3024 from yohanboniface/shift-zoom
...
Implement fast zoom on minus/plus keydown with shiftKey
2014-11-14 18:17:51 +02:00
Yohan Boniface
f41f37c9c0
More compact code
2014-11-14 17:12:15 +01:00
Yohan Boniface
86de51ed9e
We don't need an option for the zoom factor
2014-11-14 14:16:41 +01:00
Yohan Boniface
44a10690a7
Implement fast zoom on minus/plus keydown with shiftKey
2014-11-14 12:38:09 +01:00
John Firebaugh
87c7d1d563
No-op Control#remove if not on a map ( fixes #2877 )
2014-11-13 11:25:49 -08:00
Vladimir Agafonkin
37c5433e5b
Merge pull request #3022 from Leaflet/3020
...
Remove control from existing map in onAdd (fixes #3020 )
2014-11-13 20:57:55 +02:00
John Firebaugh
0b86fa3266
Remove control from existing map in onAdd ( fixes #3020 )
2014-11-13 10:49:43 -08:00
John Firebaugh
ef96884021
Ensure parent init hooks are called ( fixes #2545 )
2014-11-12 14:49:46 -08:00
Vladimir Agafonkin
b27f62387b
Merge pull request #3018 from Leaflet/autoclose
...
Add autoClose option to Popup
2014-11-12 23:08:15 +02:00
John Firebaugh
bad49e7612
Add autoClose option to Popup
...
Fixes #2716
Fixes #1853
2014-11-12 12:52:50 -08:00
Vladimir Agafonkin
975b6be3c6
Merge pull request #3017 from mnquintana/gh-pages
...
Clarify class constructor usage for L.Class
2014-11-12 22:20:13 +02:00
Machiste Quintana
e1e456b975
simplify initialize clarification
2014-11-12 15:15:56 -05:00
John Firebaugh
ad12e33dd9
Fix trailing whitespace
2014-11-12 11:30:43 -08:00
Machiste Quintana
b1f7bc8d54
update gemfile to reflect github pages production env
2014-11-12 14:26:58 -05:00
Machiste Quintana
114ca1e6d4
update api reference with section on class constructors
2014-11-12 14:26:31 -05:00
John Firebaugh
d2871e68e5
Add test for #3008
2014-11-12 10:53:26 -08:00
John Firebaugh
82934f95d9
Merge pull request #3008 from snkashis/imgoverlay_style
...
allow for setStyle option re: opacity on FeatureGroup to reach ImageOverlays
2014-11-12 10:50:11 -08:00
John Firebaugh
269700925a
Merge pull request #3009 from snkashis/img_overlay_evt
...
add interactive option for events on ImageOverlay
2014-11-12 10:41:10 -08:00
Vladimir Agafonkin
de868d6a83
don't require DomEvent for attrib & markers, close #2854
2014-11-12 12:21:39 +02:00
Vladimir Agafonkin
8cc14fbd6f
Merge pull request #3015 from Leaflet/2930
...
stopPropagation of click event following drag operation (fixes #2930 )
2014-11-12 10:29:19 +02:00
John Firebaugh
aa8be54513
stopPropagation of click event following drag operation ( fixes #2930 )
2014-11-11 17:08:27 -08:00
Vladimir Agafonkin
d9a327007b
Merge pull request #3014 from Leaflet/tile-loading
...
More tile loading fixes
2014-11-12 00:46:14 +02:00
Vladimir Agafonkin
c6bcdb031b
fix ImageOverlay anim in weird projections, close #3011
2014-11-11 16:55:12 +02:00
Vladimir Agafonkin
d0f5b51ad5
fix awesome bug regression, close #3013
2014-11-11 12:38:42 +02:00
Vladimir Agafonkin
48677f2243
fix maxNativeZoom = 0 race condition, close #3004
2014-11-10 17:53:37 +02:00
Vladimir Agafonkin
87ddb27006
Merge pull request #2922 from florpor/patch-1
...
Update plugins.md - add Leaflet.ShowAll
2014-11-10 01:33:13 +02:00
florpor
65402d98ce
Update plugins.md - add Leaflet.ShowAll
2014-11-10 00:47:38 +02:00
Steve Kashishian
ca2f1171b7
add interactive option on ImageOverlay
2014-11-09 13:23:19 -06:00
Steve Kashishian
4317a10fc9
allow for setStyle option regarding opacity calls on FeatureGroup to reach ImageOverlays contained inside
...
Brought from @opie implementation in #2246
2014-11-09 11:57:01 -06:00
David Leaver
8682511e2c
Move locally declared methods out.
2014-11-09 18:08:53 +13:00
John Firebaugh
68f86d85d3
Better fix for tile pruning
...
Need to always prune in _addTiles, otherwise tiles can
get stranded.
2014-11-07 16:27:42 -08:00
Vladimir Agafonkin
5f8d62dd45
Merge pull request #3007 from Leaflet/ie-touch-doubletap
...
Improve IE11 touch support
2014-11-07 22:49:30 +02:00
David Leaver
2dad982a6e
Remove unused e parameter
2014-11-08 09:44:43 +13:00
David Leaver
e41c131dbb
Remove touch tracking from DoubleTap and improve DomEvent.Pointer e.touches emulation to provide a suitable replacement.
...
Refs #2820
2014-11-08 09:40:01 +13:00
John Firebaugh
bfdb7d08c7
Don't delay tile updates triggered by moveend
2014-11-07 12:11:59 -08:00
John Firebaugh
7b5168acec
Ensure that added tiles are retained
...
Previously, quickly zooming out and then back in sometimes left
only overzoomed tiles for the lower zoom level visible. The
problem was a race condition with deferred pruning:
1. Start at z15. Zoom in. This triggers loading of z14 tiles. As each
tile loads, _pruneTiles (throttled) is called. This results in deferred
removal of z15 tiles (250ms setTimeout). The deferral is done to avoid
flicker while the z14 tiles are faded in.
2. During the 250ms, zoom in. This triggers `_addTiles`, but since the
deferred pruning of the z15 tiles hasn't happened yet, the tiles are
still present in `this._tiles`. Therefore no tiles are queued for
loading, triggering an early return in `_addTiles`, before `_pruneTiles`
is called.
3. Deferred pruning of the z15 tiles happens. Since `_pruneTiles` was
short-circuited at z15, these tiles were never retained, nor were the
z14 tiles scheduled for pruning. End result is that the z15 tiles are
removed from the DOM while the z14 tiles remain, scaled 2x.
2014-11-06 16:27:47 -08:00
John Firebaugh
78463e826b
jshint
2014-11-06 16:27:47 -08:00
Vladimir Agafonkin
5f9321bac0
Merge pull request #3001 from snkashis/latlng_bounds_conversion
...
extract bounds conversion from Map.Geolocation.Also fix geolocation test...
2014-11-06 21:55:57 +02:00
Steve Kashishian
f3b132e414
extract bounds conversion from Map.Geolocation.Also fix geolocation test page.
2014-11-06 13:23:14 -06:00
Vladimir Agafonkin
f04581f39d
Merge pull request #3000 from snkashis/popup_esc
...
closes an open popup with escape key
2014-11-06 21:21:03 +02:00
Steve Kashishian
1eae1719bb
no map._popup check needed
2014-11-06 13:02:21 -06:00
Steve Kashishian
ead96e500e
closes an open popup with escape key
2014-11-06 12:48:13 -06:00
Fabian Zeindl
4f06ac30b0
Don't append/remove the SVG container
...
Tested this on IOS7, which has 85% adoption and I see no flicker.
Reduces layout and paint-times.
2014-11-05 18:19:35 -08:00
Jeff Smale
c6dea37d86
Preserve marker draggability on setIcon ( fixes #2578 )
2014-11-05 18:12:21 -08:00
John Firebaugh
4825fc05b3
Add test for #1871
2014-11-05 15:44:23 -08:00
John Firebaugh
e6d857eb70
jshint
2014-11-05 15:22:49 -08:00
John Firebaugh
ea2c397523
No-op bringToFront/Back when Path is not on a map ( fixes #2439 )
2014-11-05 15:13:28 -08:00
Vladimir Agafonkin
97b130a6b6
Merge pull request #2995 from SINTEF-9012/gh-pages
...
Leaflet.MapPaint added to plugins.md
2014-11-05 17:07:36 +02:00
Antoine Pultier
eb46eb0b6f
Leaflet.MapPaint added to plugins.md
2014-11-05 16:00:36 +01:00
Vladimir Agafonkin
40376dc3be
simpler retina detection fallback, close #2258
2014-11-04 13:46:53 +02:00
Vladimir Agafonkin
e063a9626e
Merge pull request #2847 from vassilevsky/fix-map-event
...
Fix map click event name
2014-11-04 12:44:35 +02:00
Vladimir Agafonkin
f0b42b9d0e
Merge pull request #2989 from manleyjster/clarify-leaflet-bind
...
Add a sentence clarifying that L.bind is not a polyfill for ES5 bind.
2014-11-03 22:32:20 +02:00
Justin Manley
1e42df6701
Add a sentence clarifying that L.bind is not a polyfill for ES5 bind.
2014-11-03 14:24:30 -06:00
Steve
8dfba898de
add popupAnchor option to DivIcon
2014-10-31 11:12:00 -05:00
Vladimir Agafonkin
f10512f836
fix map.fitBounds race condition, close #2957
...
Fixes a situation where map.fitBounds(map.getBounds()) sometimes zoomed
out.
2014-10-31 13:57:23 +02:00
Vladimir Agafonkin
d4354bc370
fix TileLayer tms option regression
2014-10-29 18:27:55 +02:00
Vladimir Agafonkin
36b958cad0
fix WMS passing all options as WMS params, close #2972
2014-10-29 18:22:28 +02:00
Vladimir Agafonkin
f75133a482
fix blurry map after stopping inertia, close #2979
2014-10-29 17:28:50 +02:00
Vladimir Agafonkin
bdc683d1c6
update package.json & deps
2014-10-29 17:20:55 +02:00
Vladimir Agafonkin
0c70dcb581
remove slow tests
2014-10-29 17:20:06 +02:00
Vladimir Agafonkin
11b39edfa1
fix TileLayer loading event after setUrl
2014-10-29 17:19:54 +02:00
Vladimir Agafonkin
9923e4bb91
Merge pull request #2977 from yohanboniface/geojson-edge-case
...
Fix array of array of LatLngs toGeoJSON edge case
2014-10-27 10:40:55 +02:00
Vladimir Agafonkin
34c8f9a941
Merge pull request #2976 from bb-generation/gridlayer-readd
...
fixed GridLayer not showing up after removing and adding the same instance
2014-10-27 09:10:32 +02:00
Yohan Boniface
1ddac9361a
Fix array of array of LatLngs toGeoJSON edge case
2014-10-26 21:00:56 +01:00
Bernhard Eder
9707648550
fixed GridLayer not showing up after removing and adding the same instance
2014-10-26 15:45:15 +01:00
Vladimir Agafonkin
7f119d87ea
Merge pull request #2958 from moklick/patch-3
...
Update reference.html
2014-10-23 23:11:16 +03:00
Vladimir Agafonkin
72707e3e30
fix GridLayer.redraw regression, close #2966
2014-10-23 14:27:05 +03:00
Vladimir Agafonkin
e2e1ccb2f0
fix 404 warnings in tests
2014-10-23 13:52:19 +03:00
Vladimir Agafonkin
eacc499199
fix GridLayer tile loading edge case
2014-10-23 13:23:37 +03:00
Vladimir Agafonkin
2ff2c42847
move some GridLayer tests, add createTile stub
2014-10-23 12:58:29 +03:00
Vladimir Agafonkin
875db28993
update deps
2014-10-23 12:37:29 +03:00
Vladimir Agafonkin
ced80bec00
Merge pull request #2963 from ogwiz2/patch-1
...
Minor change in comments for better consistency
2014-10-22 11:52:45 +03:00
Alex Jeng
2f6ce64cc4
Minor change in comments for better consistency
2014-10-21 23:22:11 -07:00
Patrick Arlt
1f203fda69
Merge pull request #2962 from sheppard/patch-1
...
update AMD recommendation in plugin guide
2014-10-21 16:15:15 -07:00
S. Andrew Sheppard
64f904dd0e
simplify AMD definition
2014-10-21 12:32:06 -05:00
Vladimir Agafonkin
d93e828935
stop panning/fly animations when necessary
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
23998c1f9c
ditch transition stopping code
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
70923e6604
rename zoomPanTo to flyTo
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
7a75d07d89
update inertia settings
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
468e195ba1
rename PosAnimation.Timer to PosAnimation
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
a33eff73f0
replace CSS transitions in pan animations with frames
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
66c13bc94c
fix tile loading regression after rebase
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
8b26a7399a
fix build and cleanup tile pruning
2014-10-21 12:21:32 +03:00
Vladimir Agafonkin
a4e8f4e1a8
improve tile pruning
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
ad0cf365e7
fix world wrapping
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
44f16b2d9e
much better tile pruning; add coords to tile events, ref #2378
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
fbe23087fa
add prune lower res tiles algorithm
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
b0ce42f270
minor tile code cleanup
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
9b752757ef
more flexible tile remove method
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
683cc4534c
cleanup tile removal, make unloadInvisibleTiles work again
2014-10-21 12:21:31 +03:00
Vladimir Agafonkin
29a0eaef0f
include zoom in tile coords, simplify parsing tile keys
2014-10-21 12:21:31 +03:00
Tom MacWright
fefe4b78eb
Initialize tilesToLoad variable on GridLayer creation
2014-10-21 12:21:31 +03:00
Dave Leaver
b42500b48a
Only stop the pan animation within pan animation. If there is a zoom animation going on we don't want to stop it. Otherwise big mouse wheel zooms are broken.
2014-10-21 12:21:31 +03:00
Dave Leaver
0f0d66f3df
Support matrix3d as used in IE11
2014-10-21 12:21:31 +03:00
John Firebaugh
a34810cb85
Use Map#stop to stop all animations
2014-10-21 12:21:30 +03:00
Dave Leaver
a071f489a5
Removing comment out code and not needed todos
2014-10-21 12:21:30 +03:00
Dave Leaver
498aef4c31
Push getTransform up to L.DomUtil.getTransform rather than having it in ZoomAnimation and PosAnimation
2014-10-21 12:21:30 +03:00
Dave Leaver
b6c4ebdbca
Move the proxy in to Map.ZoomAnimation as it is the only place that uses it. Use it to detect zoom animation finishing.
2014-10-21 12:21:30 +03:00
Dave Leaver
97598d4241
Move animated zoom stopping in to the place it belongs
2014-10-21 12:21:30 +03:00
Dave Leaver
a5552f4ed4
listen to moveend instead so we know where we are after a map drag
2014-10-21 12:21:30 +03:00
Dave Leaver
7aa9d95e9a
Getting closer. project and unproject based on the current zoom seems to work in most cases.
2014-10-21 12:21:30 +03:00
Dave Leaver
c1bea627b0
stopAnimation -> stop
2014-10-21 12:21:30 +03:00
Dave Leaver
a0bc81cba8
Stop animating before starting a ZoomPan, otherwise they both run at the same time.
2014-10-21 12:21:30 +03:00
Dave Leaver
00a66b4731
Add an element for tracking zoom animations. Use it for trying to stop a map zoom. Still doesn't quite work right. Stopping a zoomPan or PanAnimation does work however. Code is all cludgy :)
...
refs #2560
2014-10-21 12:21:30 +03:00
Tom MacWright
74133f49f0
Fix MarkerSpec in retina browsers.
2014-10-21 12:21:29 +03:00
Tom MacWright
dc573b768a
Add safari and firefox launchers
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
acaea1c855
code cleanup; don't reload tile level that's already loaded
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
5912c365b7
zoom to the nearest round zoom with pinch or dblclick
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
fc655e45c7
manage tile pyramid levels; always animate tile fade
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
169b6a0e77
adjust zoomPan options, add a debug page
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
983a4ec261
implement pyramid animations (no tile removal yet)
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
454552e694
fix zoomPan logic, cleaner code
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
e093979297
fix GridLayer to not reset if tile zoom didn't change
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
dc04b9dbe2
add fromZoom arg to Map getZoomScale and getScaleZoom
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
1b8f68d806
simpler zoom anim calculations
2014-10-21 12:21:29 +03:00
Vladimir Agafonkin
bbb5a5a956
fix some positioning bugs
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
e26d148516
cleaner reset logic for GridLayer
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
790acad011
clean up zoomPanTo
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
4a344ae021
working zoomPanTo implementation
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
de4910f407
use offset when animating transform to avoid dividing by zero
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
c1b2c5c37c
round grid layer scaling transform
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
e41d65fe66
fractional zoom code clean up an fixes
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
5d58aa4f3f
initial fractional zoom implementation for grid layers
2014-10-21 12:21:28 +03:00
Vladimir Agafonkin
2be2cca49a
basic linear zoomPanTo without intermediary tile loading
2014-10-21 12:21:28 +03:00
moklick
5bc0bebd01
Update reference.html
...
Correct typo. Use "L.layerGroup" instead of "L.LayerGroup".
2014-10-20 15:29:53 +02:00
Vladimir Agafonkin
fc05abd336
Merge pull request #2834 from bullgare/path_svg_fill_rule
...
svg's attribute 'fill-rule' now can be set via options into either 'evenodd' or 'nonzero'
2014-10-20 13:18:30 +03:00
bullgare
809844b539
svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now for canvas, too.
2014-10-20 10:24:11 +04:00
Vladimir Agafonkin
35e2131aab
Merge pull request #2955 from patrickarlt/module-loaders
...
Module loaders + Publishing on NPM
2014-10-18 16:15:44 +03:00
Vladimir Agafonkin
8d92b6037f
Merge pull request #2954 from nikgavalas/patch-1
...
Fix IE Touch pointer events passing through to the map
2014-10-18 16:14:54 +03:00
Per Liedman
fb9d929c2e
Move Leaflet Realtime to layers section
2014-10-18 09:56:56 +02:00
Per Liedman
9936653e13
Merge pull request #2956 from perliedman/leaflet-realtime-plugin
...
Add Leaflet Realtime plugin
2014-10-18 09:52:26 +02:00
Per Liedman
b1bb53644e
Add Leaflet Realtime plugin
2014-10-18 09:50:47 +02:00
nikgavalas
ce0e92cf6e
Fix IE pointer events passing through to the map
...
Pointer events in IE would trigger on the map even when not started on the map. For example, if you had a dialog box on top of the map and dragged inside the map, the map would move. I believe this is because the handler never gets added to the obj[eventsKey] map. I noticed in the corresponding _off function below that the logic reaches there because of the multiple if/else statements. So I modified the _on even to match and it seems to fix the problem.
2014-10-17 11:35:54 -06:00
Vladimir Agafonkin
2a552dd8d7
Merge pull request #2950 from w8r/gh-pages
...
added Leaflet.Bookmarks and Greiner-Hormann polygon clipping
2014-10-15 18:48:06 +03:00
Patrick Arlt
957097cd2a
fix spelling
2014-10-15 08:44:59 -07:00
Patrick Arlt
2c7eda825d
fix merge conflict
2014-10-15 08:36:22 -07:00
Patrick Arlt
1e3a535616
seperate NPM and module loader info. Condense module loader section
2014-10-15 08:03:02 -07:00
w8r
973521fd3d
added Leaflet.Bookmarks and Greiner-Hormann
2014-10-15 14:46:30 +02:00
Vladimir Agafonkin
59f05a9f85
Merge pull request #2939 from dagjomar/patch-1
...
Add Leaflet.ZoomCSS Plugin to plugins.md
2014-10-15 12:07:42 +03:00
Vladimir Agafonkin
d25edf6cd1
Merge pull request #2948 from heigeo/gh-pages
...
leaflet.wms plugin
2014-10-15 11:59:33 +03:00
Patrick Arlt
09ffc53549
Merge pull request #2949 from Leaflet/revert-2942-module-loaders
...
Revert "update plugin guide with module loader info"
2014-10-14 16:20:55 -07:00
Patrick Arlt
82abc2bef4
Revert "update plugin guide with module loader info"
2014-10-14 16:20:39 -07:00
Patrick Arlt
77438deb76
Merge pull request #2942 from patrickarlt/module-loaders
...
update plugin guide with module loader info
2014-10-14 15:15:30 -07:00
Patrick Arlt
fdf90c29ba
Merge pull request #2943 from patrickarlt/expose-global
...
expose a global if window is present
2014-10-14 15:15:21 -07:00
Patrick Arlt
8cc2d4b42d
add newline
2014-10-14 15:15:06 -07:00
S. Andrew Sheppard
432214184d
rm extra spaces
2014-10-14 16:45:22 -05:00
S. Andrew Sheppard
03095a7dfd
leaflet.wms plugin
2014-10-14 16:43:44 -05:00
Patrick Arlt
f2490d3d4a
expose a global if window is present
2014-10-13 11:18:45 -07:00
Patrick Arlt
cb551891bd
update plugin guide with module loader info
2014-10-13 11:06:03 -07:00
Patrick Arlt
8a12624f60
always expose window.L
2014-10-13 09:06:16 -07:00
Dag Jomar Mersland
d14f8a9be0
Add Leaflet.ZoomCSS Plugin to plugins.md
2014-10-12 22:32:42 +02:00
Vladimir Agafonkin
c9275a6f4a
Merge pull request #2925 from ewoken/gh-pages
...
New Plugin: Leaflet.MovingMarker
2014-10-12 19:25:01 +03:00
Vladimir Agafonkin
2cfa905b97
Merge pull request #2929 from brunolellis/patch-1
...
Fixed setPopupContent 2nd argument
2014-10-12 19:23:40 +03:00
Vladimir Agafonkin
3778aa45e4
Merge pull request #2935 from robpvn/patch-3
...
Add Leaflet Layer-Config plugin
2014-10-12 19:23:22 +03:00
Robert Nordan
64840a598b
Add Leaflet Layer-Config plugin
2014-10-07 09:14:20 +02:00
Per Liedman
53e2e90f51
Merge pull request #2932 from ablakey/patch-1
...
Update plugins.md
2014-10-05 08:30:05 +02:00
Andrew Blakey
cdf02813f1
Update plugins.md
...
Added Leaflet.SimpleGraticule
2014-10-04 23:45:01 -04:00
Bruno Lellis
71732ef849
Fixed setPopupContent 2nd argument
...
There is no options argument in setPopupContent.
2014-10-01 16:46:22 -03:00
Alexander Parshin
3a5d45d62e
Add optional parameter for result rounding in L.PolyUtil.clipPolygon and L.LineUtil.clipSegment
2014-09-30 09:57:53 +04:00
ewoken
81025c3de8
Add Leaflet.MovingMarker to Plugins
2014-09-29 22:33:43 -06:00
ewoken
19205bb0ee
Add Leaflet.MovingMarker to Plugins
2014-09-29 22:28:56 -06:00
Per Liedman
d4fb3bfbb0
Merge pull request #2912 from skeate/patch-1
...
Add Leaflet.buffer to plugins.md
2014-09-25 10:16:32 +02:00
Jonathan Skeate
fa534c0c91
Update plugins.md
2014-09-24 09:59:44 -04:00
Vladimir Agafonkin
1d535e996f
Merge pull request #2911 from davicustodio/gh-pages
...
Add Leaflet.StyledLayerControl Plugin in the plugins.md list
2014-09-23 20:04:17 +03:00
Davi Custodio
a70611ea9d
Update plugins.md
2014-09-23 13:47:15 -03:00
Davi Custodio
f219b6e381
Update plugins.md
2014-09-23 11:30:34 -03:00
Davi Custodio
be2babca9f
Update plugins.md
2014-09-22 22:49:11 -03:00
Vladimir Agafonkin
3e0694d3c6
Merge pull request #2902 from aaronlidman/rotate
...
Change map
2014-09-17 18:11:21 -07:00
Aaron Lidman
8fbcb7fa92
Change map
2014-09-17 18:05:29 -07:00
Vladimir Agafonkin
4ab348a63e
Merge pull request #2898 from Turbo87/patch-2
...
plugins: Added sidebar-v2 project
2014-09-11 12:00:25 -07:00
Tobias Bieniek
9fe5f41fe0
plugins: Added sidebar-v2 project
...
see https://github.com/Turbo87/sidebar-v2
2014-09-11 18:23:19 +02:00
Vladimir Agafonkin
c64502c210
Merge pull request #2895 from hiasinho/patch-1
...
New plugin for SVG markers
2014-09-11 08:23:16 -07:00
Mathias Schneider
997d9ac76b
New plugin for SVG markers
...
Vector SVG markers for Leaflet, with an option for Font Awesome/Twitter Bootstrap icons. Inspired by Leaflet.AwesomeMarkers.
2014-09-10 23:02:46 +02:00
Vladimir Agafonkin
f83915aa3b
Merge pull request #2886 from SniperSister/master
...
CSS reset for svg max-width declarations
2014-09-04 18:44:34 +03:00
David Jardin
1712b74363
Merged css declarations
2014-09-03 21:07:30 +02:00
Vladimir Agafonkin
d227797bc0
Merge pull request #2884 from moklick/patch-2
...
Update plugins.md
2014-09-03 22:04:21 +03:00
David Jardin
ecb4af5e76
CSS reset for svg max-width declarations
...
Fix for https://github.com/Leaflet/Leaflet/issues/2881
2014-09-03 17:46:35 +02:00
moklick
972bc466eb
Update plugins.md
...
Add Leaflet Yeoman generator.
2014-09-03 00:58:16 +02:00
Vladimir Agafonkin
f924c3e91d
Merge pull request #2876 from Wildhoney/gh-pages
...
Changed Leaflet.FreeDraw label
2014-08-27 12:35:02 +03:00
Wildhoney
88b9d6e90e
Changed Leaflet.FreeDraw label
2014-08-27 07:55:47 +01:00
Vladimir Agafonkin
64c512a7e2
Merge pull request #2875 from nguyenning/patch-1
...
add Leaflet.defaultextent
2014-08-27 02:01:21 +03:00
Alex Nguyen
2a5ed5df1a
update description. Third time is a charm.
2014-08-26 17:27:52 -05:00
Alex Nguyen
48effb1daf
update description of Leaflet.defaultextent
2014-08-26 17:20:37 -05:00
Vladimir Agafonkin
daddb7b4bd
Merge pull request #2874 from Wildhoney/gh-pages
...
Added L.FreeDraw to plugins.md
2014-08-27 01:01:20 +03:00
Alex Nguyen
31ac409b94
add Leaflet.defaultextent
2014-08-26 16:27:37 -05:00
Wildhoney
0c11098569
Added L.FreeDraw
2014-08-26 21:57:33 +01:00
Vladimir Agafonkin
ae6d25999c
Merge pull request #2872 from bullgare/fix_marker_set_icon
...
it fixes marker's setIcon method
2014-08-26 16:00:49 +03:00
bullgare
b43da41575
it fixes marker's setIcon method, that flushes popup's options, which leads to breaking popup's custom offset
2014-08-26 15:35:58 +04:00
Vladimir Agafonkin
8a33e94c0e
Fix scale control widths, close #2869
2014-08-25 16:38:46 +03:00
Vladimir Agafonkin
5b4f6e4901
Merge pull request #2867 from AndreyGeonya/clickAfterDrag-bugfix
...
#2865 , fixed bug with geometry/staticMarker click event after map drag
2014-08-23 02:13:31 +03:00
AndreyGeonya
18938b0319
#2865 , fixed bug with geometry/staticMarker click event after map dragging
2014-08-23 01:00:42 +03:00
Vladimir Agafonkin
45ec70586b
Merge pull request #2866 from mithron/gh-pages
...
Add leaflet.locationlist plugin
2014-08-22 20:38:37 +03:00
Ivan
b2825f5ef5
Add leaflet.locationlist plugin
2014-08-22 16:11:25 +04:00
Vladimir Agafonkin
101f3f012e
Merge pull request #2853 from oskosk/patch-1
...
L.Class usage example Said L.Class where it should've said MyClass
2014-08-14 01:37:02 +03:00
Oscar López
773317c8f9
L.Class usage example Said L.Class where it should've said MyClass
...
Usage example for L.Class options mechanism should refer to MyChildClass inheriting from MyClass instead of MyChildClass inheriting from L.Class directly.
2014-08-13 18:13:35 -03:00
Vladimir Agafonkin
641cb18923
Merge pull request #2849 from AndreyGeonya/master
...
issue #1871 fixed, set this._zoom on map init whenever options.zoom is provided
2014-08-11 18:43:39 +03:00
AndreyGeonya
31a09930b4
#1871 , zoom limited
2014-08-11 17:53:59 +03:00
AndreyGeonya
f7ac72d073
issue #1871 fixed, set this._zoom on map init whenever options.zoom is provided
2014-08-11 15:14:37 +03:00
Vladimir Agafonkin
6afc9eafd7
Merge pull request #2848 from brunob/patch-1
...
Add getBounds() method to ImageOverlay
2014-08-11 10:40:51 +03:00
b_b
1bdd7cf41a
Add getBounds() method to ImageOverlay
...
Bugfix : ImageOverlay can be added to FeatueGroup, but calling getBounds on FeatureGroup throw an error cause ImageOverlay misses this method.
2014-08-10 18:44:14 +02:00
i.vasilevskiy
d1f8aad712
Fix map click event name
2014-08-09 21:54:42 +04:00
Vladimir Agafonkin
6e4c4cef82
Merge pull request #2838 from AndreyGeonya/master
...
Clickable option renamed to interactive
2014-08-06 17:27:38 +03:00
AndreyGeonya
9445c2f9f2
this commit fixes #2499
2014-08-05 18:14:02 +03:00
Vladimir Agafonkin
a3066bde24
Merge pull request #2836 from AndreyGeonya/master
...
#2501 , optional wheel debounce time
2014-08-05 17:40:10 +03:00
AndreyGeonya
a321406cf8
#2501 , tab fixed
2014-08-05 17:13:10 +03:00
Vladimir Agafonkin
aa4c94372a
Merge pull request #2835 from albburtsev/plugin-geojsoncss
...
Add Leaflet.geojsonCSS plugin
2014-08-05 16:55:02 +03:00
Alexander Burtsev
62ca8a825a
Add Leaflet.geojsonCSS plugin
2014-08-05 17:50:00 +04:00
AndreyGeonya
f5cfddb60d
#2501 , wheelDebounceTime option added
2014-08-05 16:49:33 +03:00
bullgare
38476615e6
svg's attribute fill-rule supports two values: 'evenodd' and 'nonzero'. now we can set it via options and it's not hardcoded. https://developer.mozilla.org/ru/docs/Web/SVG/Attribute/fill-rule
2014-08-05 17:37:20 +04:00
Vladimir Agafonkin
b80c9b3367
Merge pull request #2831 from kdeloach/topic/wms-uppercase
...
Add uppercase option for WMS TileLayer.
2014-08-05 10:13:28 +03:00
Vladimir Agafonkin
17c6a51bf0
Merge pull request #2833 from AndreyGeonya/master
...
Issue #2619 fixed
2014-08-05 00:59:35 +03:00
Kevin DeLoach
a2825920fa
Add uppercase option for WMS TileLayer.
...
In response to issue #1751 , WMS TileLayer request parameter keys were
cast to uppercase. This is a breaking change for services that are case
sensitive and expect lowercase keys.
This change adds a new option to uppercase keys, which is false by
default, to preserve backwards compatibility.
2014-08-04 17:11:57 -04:00
AndreyGeonya
fd7ebcb5aa
Issue #2619 fixed. Now Map.js/_fireMouseEvent checks dragging.moved() on moved object instead on map
2014-08-05 00:09:01 +03:00
Vladimir Agafonkin
5a780a5bf4
Merge pull request #2832 from M165437/patch-1
...
Add Leaflet.AccuratePosition plugin
2014-08-04 23:38:39 +03:00
M165437
b5091248e1
Add Leaflet.AccuratePosition plugin
2014-08-04 16:23:06 -04:00
Vladimir Agafonkin
c3b0ab0b5a
Merge pull request #2829 from yohanboniface/gh-pages
...
Suggestion to add Leaflet.Editable in plugins list
2014-08-04 11:58:14 +03:00
Yohan Boniface
64039917bd
Suggestion to add Leaflet.Editable in plugins list
2014-08-03 22:53:00 +02:00
Vladimir Agafonkin
b537c8b39c
Merge pull request #2827 from bennlich/tilelayer-loading-tests
...
Tilelayer 'loading' event tests
2014-08-01 08:58:05 +03:00
bennlich
4eb033c719
Included leaflet.css in html instead of TileLayerSpec.js
2014-07-31 23:43:14 -06:00
bennlich
609386397b
Merge remote-tracking branch 'upstream/master' into tilelayer-loading-tests
2014-07-31 15:39:00 -06:00
bennlich
abfcd9ea59
Added TileLayerSpec.js tests for loading events
2014-07-31 15:38:21 -06:00
Vladimir Agafonkin
7ad72f0086
Merge pull request #2790 from stefanocudini/gh-pages
...
add new plugin Leaflet Control Compass
2014-07-31 19:23:33 +03:00
stefanocudini
cfc48ee53b
merge from leaflet
2014-07-31 16:49:30 +02:00
Vladimir Agafonkin
95f863858e
Merge pull request #2823 from aratcliffe/gh-pages
...
Added Leaflet.twoFingerZoom plugin
2014-07-31 09:54:58 +03:00
Adam Ratcliffe
9b8457b012
Added Leaflet.twoFingerZoom plugin
2014-07-31 15:26:44 +12:00
Vladimir Agafonkin
075d414102
Merge pull request #2745 from fab1an/perf-remove-chrome-reflow
...
Performance: this triggers a reflow, but newest Chrome doesn’t flicker a...
2014-07-30 14:02:09 +03:00
Vladimir Agafonkin
93cf8d7e95
Merge pull request #2605 from danzel/vmlfix
...
Round point so that circles work again :)
2014-07-30 13:58:39 +03:00
Vladimir Agafonkin
31047c361b
Merge pull request #2764 from francis-liberty/zoom_out_max_min_error_1905
...
Address issue #1905 , Error when zoom out of max/minZoom
2014-07-30 13:46:07 +03:00
Vladimir Agafonkin
56e245d1eb
Merge pull request #2789 from danydev/fixBounceAtZoomLimits
...
Fixed 'bounceAtZoomLimits' when you don't start pinching from max\min level
2014-07-30 13:43:27 +03:00
Vladimir Agafonkin
5e2567ef97
Merge pull request #2819 from leplatrem/patch-13
...
Mention Leaflet.LineExtremities plugin
2014-07-30 12:15:48 +03:00
Mathieu Leplatre
dde5e26a60
Mention Leaflet.LineExtremities
2014-07-30 10:02:31 +02:00
Vladimir Agafonkin
f773a16c86
Merge pull request #2811 from jfgodoy/patch-1
...
fix memory leak generated by setIcon
2014-07-24 13:06:01 +03:00
jfgodoy
aeea88b9fc
fix memory leak generated by setIcon
...
when setIcon is called this.dragging is replaced without be disabled before, so hooks remains active.
2014-07-24 00:44:42 -04:00
Vladimir Agafonkin
daf83c2cbf
Merge pull request #2810 from manleyjster/gh-pages
...
Add comment to removeEventListener in docs
2014-07-24 02:00:59 +03:00
Justin Manley
311e988aa0
Add comment to removeEventListener doc noting that arguments to removeEventListener must be the same as those passed to addEventListener.
2014-07-23 16:22:51 -05:00
Vladimir Agafonkin
112ac5b4b6
Merge pull request #2802 from bennlich/set-url-fix
...
Fixed bug with TileLayer.setUrl()
2014-07-21 12:39:21 +03:00
bennlich
412bbd7cdb
always clear tile onload and onerror funs in _abortLoading()
2014-07-20 22:16:11 -07:00
bennlich
d5931ad35a
added _abortLoading() to _reset()
2014-07-20 22:14:30 -07:00
Vladimir Agafonkin
5a51819494
Merge pull request #2798 from bullgare/marker_mousemove_event
...
mousemove event for marker
2014-07-18 22:35:43 +03:00
Vladimir Agafonkin
07edd3af01
Merge pull request #2799 from Starefossen/patch-5
...
Documents map.eachLayer() function
2014-07-18 22:35:02 +03:00
Hans Kristian Flaatten
173a37e976
Implement #2702
...
Add map.eachLayer() to reference page
2014-07-18 15:40:44 +02:00
bullgare
c4d99f33b2
mousemove event for marker
2014-07-18 16:21:31 +04:00
Tom MacWright
e5acd5e6dd
Merge pull request #2791 from henrythasler/patch-1
...
Update plugins.md
2014-07-16 14:01:41 -04:00
Vladimir Agafonkin
51ab14df50
Merge pull request #2792 from zvaraondrej/gh-pages
...
Leaflet.MeasureAreaControl plugin pull request
2014-07-16 01:32:45 +03:00
Ondrej Zvara
ba7dc5a554
Leaflet.MeasureAreaControl plugin pull request
2014-07-15 21:44:24 +02:00
henrythasler
f9d9489e7e
Update plugins.md
...
Added Leaflet.Geodesic
2014-07-15 20:49:07 +02:00
stefano cudini
390e925fe4
add new plugin Leaflet Control Compass
2014-07-13 18:29:24 +02:00
Daniele Orrù
410068c08f
Fixed 'bounceAtZoomLimits' when you don't start pinching from max\min level
2014-07-13 11:41:52 +02:00
Tom MacWright
bf1ee0a94f
Merge pull request #2777 from austentalbot/patch-1
...
Make indentation consistent
2014-07-11 10:39:44 -04:00
Tom MacWright
e0171487d3
Merge pull request #2775 from rowanwins/gh-pages
...
Added easyPrint plugin
2014-07-10 20:30:25 -04:00
rowanwins
c9118b118e
Update plugins.md
2014-07-11 09:25:27 +10:00
rowanwins
597c4b51e5
Update plugins.md
2014-07-11 09:24:06 +10:00
Tom MacWright
3039f615fa
Merge pull request #2787 from SINTEF-9012/gh-pages
...
Add Leaflet.GameController in the plugins list
2014-07-10 10:13:28 -04:00
Antoine Pultier
5fffe15750
Add Leaflet.GameController in the plugins list
2014-07-10 10:58:04 +02:00
Vladimir Agafonkin
b1ac31e6f4
Merge pull request #2785 from gerbsen/patch-1
...
Added Route360° Library to routing section
2014-07-08 11:19:38 -07:00
gerbsen
d1cf1b70be
Added Route360° Library to routing section
...
Hey,
This is my first plugin, so I don't exactly know how this works. Our library is based on leaflet and we have used the project structure of leaflet, we implemented a custom polygon layer and added some custom controls. A demo about the capabilities can be found at the demo site: http://route360.net/project/tutorial/ Any feedback is kindly appreciated. Cheers, Daniel
2014-07-08 18:17:07 +02:00
Vladimir Agafonkin
250dabb3c9
Merge pull request #2778 from austentalbot/patch-2
...
Changed language referring to layers
2014-07-05 22:48:01 -07:00
Austen Talbot
7af5adaf0a
Changed language referring to layers
...
Adjusted language to sound more normal. Changed "half a hundred" to "over seventy."
2014-07-05 20:17:57 -07:00
Austen Talbot
2124c173df
Make indentation consistent
...
Update indentation on line 27 to be consistent with rest of file
2014-07-05 14:40:23 -07:00
rowanwins
6859988216
Added easyPrint plugin
2014-07-04 20:48:07 +10:00
Vladimir Agafonkin
a295f27b33
Merge pull request #2770 from ericdahl/docs-links
...
Docs: Fix FAQ links and CONTRIBUTING typos
2014-07-01 16:16:58 +03:00
ericdahl
9177b70805
Fix typos in CONTRIBUTING
2014-06-30 18:46:20 -05:00
ericdahl
d68cab7322
fix FAQ links
2014-06-30 18:35:13 -05:00
Vladimir Agafonkin
7829c729eb
Merge pull request #2767 from francis-liberty/imageOverlay_add_alt_2564
...
add support to customise alt attribute of the image in imageOverlay.
2014-06-30 14:08:23 +03:00
francis.chan
ac615cb89e
can customize alt attribute of the image in imageOverlay.
2014-06-30 10:28:48 +08:00
francis.chan
f50806e1ca
invoke _clearBgBuffer function to reset layer div container when zoom out of max or minZoom.
2014-06-29 20:22:44 +08:00
Vladimir Agafonkin
4a93896a36
Merge pull request #2763 from zimmicz/patch-1
...
Leaflet Coordinates Control pull request
2014-06-28 01:17:54 +03:00
Vladimir Agafonkin
656e5c3190
Merge pull request #2761 from Zverik/gh-pages
...
Update LimitZoom repository
2014-06-28 01:17:39 +03:00
zimmicz
07d5b64488
Leaflet Coordinates Control pull request
2014-06-27 21:12:35 +02:00
Ilya Zverev
f754fb2f99
update LimitZoom repository
2014-06-27 15:12:28 +04:00
Vladimir Agafonkin
5c1707d008
Merge pull request #2759 from Zverik/gh-pages
...
Added some plugins
2014-06-26 16:23:46 +03:00
Vladimir Agafonkin
fbf2e1077b
Merge pull request #2760 from vicchi/gh-pages
...
Add OpenCage Data's geocoding search control plugin
2014-06-26 16:23:23 +03:00
vicchi
64e149f0a7
Add OpenCage Data's geocoding search control plugin
2014-06-26 13:01:56 +01:00
Ilya Zverev
cb26ff59f3
added some plugins
2014-06-26 15:39:24 +04:00
Vladimir Agafonkin
e58f6b1727
Merge pull request #2758 from cschwarz/fix-jake-build
...
Fixed jake build if leaflet copy is not a git repository
2014-06-25 00:14:44 +03:00
Christian Schwarz
04ed2571fb
Fixed jake build if leaflet copy is not a git repository
2014-06-24 22:58:54 +02:00
Vladimir Agafonkin
dc234b21f1
Merge pull request #2752 from patrickarlt/patch-1
...
Add Esri Leaflet and Esri Leaflet Geocoder plugins
2014-06-18 09:53:26 +03:00
Patrick Arlt
3b1512b6a0
Esri Leaflet and Esri Leaflet Geocoder plugins
2014-06-17 14:31:00 -07:00
Vladimir Agafonkin
c1a4ba9517
Merge pull request #2746 from fab1an/perf-remove-unnecessary-array
...
removed 1 unnecessary array-creation
2014-06-17 18:30:55 +03:00
Vladimir Agafonkin
ecbb681b91
Merge pull request #2742 from fab1an/perf-svgheight
...
Performance: don’t set width/height on SVG if unchanged. Saves a costly ...
2014-06-17 17:47:35 +03:00
Fabian Zeindl
0416bd473f
Performance: this triggers a reflow, but newest Chrome doesn’t flicker anymore.
2014-06-17 15:40:31 +02:00
Fabian Zeindl
132e5b6f7c
Performance: don’t set width/height on SVG if unchanged. Saves a costly layout/repaint in some situations.
2014-06-17 15:39:58 +02:00
Fabian Zeindl
b08e2f7a3d
removed 1 unnecessary array-creation
2014-06-17 14:34:16 +02:00
Vladimir Agafonkin
fd3417193d
Merge pull request #2737 from davidchouse/gh-pages
...
Adding Leaflet.NavBar plugin
2014-06-17 09:02:12 +03:00
davidchouse
05c3f93757
Adding Leaflet.NavBar plugin
2014-06-16 23:50:05 -04:00
Vladimir Agafonkin
65311bdac3
Merge pull request #2728 from ikokostya/fix-doc-getPixelBounds
...
Convert Map#getPixelBounds result to link
2014-06-05 01:25:23 +03:00
ikokostya
0ec0e40609
Convert Map#getPixelBounds result to link
2014-06-05 02:09:03 +04:00
Vladimir Agafonkin
e522582da3
Merge pull request #2726 from guptaso2/feature/bower-update
...
Updated bower.json
2014-06-04 19:29:21 +03:00
Sonny Gupta
6ebd9f1ac7
Issue #2722 Removed minified source from bower distribution, as is the convention now.
2014-06-04 09:06:54 -07:00
Vladimir Agafonkin
737e57fb94
Merge pull request #2725 from werk85/master
...
Bugfix for #2704
2014-06-04 15:05:15 +03:00
Malte Legenhausen
5c7bf0268a
Bugfix for #2704
2014-06-04 09:24:50 +02:00
Per Liedman
786e63f943
Merge pull request #2637 from perliedman/document-requestAnimFrame
...
Document requestAnimFrame and cancelAnimFrame
2014-06-04 08:14:27 +02:00
Per Liedman
9288f7fbd8
Document requestAnimFrame and cancelAnimFrame
2014-06-04 08:12:50 +02:00
Per Liedman
a542bf9b6f
Merge pull request #2724 from perliedman/fix-2723
...
Fix #2723
2014-06-04 08:08:45 +02:00
Per Liedman
ada4e22bcb
Remove extra "the". Close #2723
2014-06-04 08:06:49 +02:00
Vladimir Agafonkin
760c730f92
fix LatLng.distanceTo race condition, close #2705
2014-05-28 17:26:41 +03:00
Vladimir Agafonkin
6995c96293
Merge pull request #2707 from Leaflet/detect-retina-boolean
...
Set detectRetina's expected type as Boolean at code level to match docum...
2014-05-27 23:54:44 +03:00
Tom MacWright
cea1eff732
Set detectRetina's expected type as Boolean at code level to match documentation and usage
2014-05-27 15:30:47 -04:00
Vladimir Agafonkin
0aeca1a4e7
remove element argument in requestAnimFrame
2014-05-26 23:21:33 +03:00
Vladimir Agafonkin
b16daa39b9
fix rare error when dragging vectors, close #2706
2014-05-26 18:52:24 +03:00
Vladimir Agafonkin
1d0dc6dcad
add and use L.DomUtil.empty, close #2600
2014-05-26 18:47:11 +03:00
Vladimir Agafonkin
53048500b1
fix vector rendering regression
2014-05-26 17:10:09 +03:00
Vladimir Agafonkin
7389ffa206
Merge pull request #2700 from cbaines/gh-pages
...
Add Leaflet.Indoor to plugins.md
2014-05-26 16:43:59 +03:00
Vladimir Agafonkin
2885f2bf45
upgrade deps
2014-05-23 23:52:38 +03:00
Vladimir Agafonkin
433ff94110
add 0.7.3 changelog
2014-05-23 12:23:46 +03:00
Vladimir Agafonkin
005fef5b6c
remove release notice
2014-05-23 12:21:24 +03:00
Vladimir Agafonkin
50012a66d0
update Leaflet to 0.7.3 & Mapbox URL to http
2014-05-23 12:20:32 +03:00
Vladimir Agafonkin
d05e6e7d03
bump to 0.7.3
2014-05-23 12:18:05 +03:00
Christopher Baines
355c9aaa61
Add Leaflet.Indoor to plugins.md
2014-05-22 11:51:08 +01:00
Vladimir Agafonkin
3cc75350b9
Merge pull request #2698 from robbiet480/patch-1
...
Update plugins.md
2014-05-22 00:58:05 +03:00
Robbie Trencheny
659841f1fc
Update plugins.md
...
Add leaflet-categorized-layers
2014-05-21 14:36:25 -07:00
Vladimir Agafonkin
509fb80d07
Merge pull request #2696 from cebence/tilelayerwms-urltemplate-bugfix
...
Fixing URL template issue #2695
2014-05-21 17:00:22 +03:00
cebence
9f48f357ae
Fixing URL template issue #2695
2014-05-21 13:43:29 +02:00
Vladimir Agafonkin
07b9ab7dc7
Merge pull request #2691 from jakubdostal/patch-2
...
Updated plugins.md - fixed missing quotation marks
2014-05-20 19:20:41 +03:00
Jakub
b50649f42d
Updated plugins.md - fixed missing quotation marks
2014-05-20 11:52:17 +01:00
Vladimir Agafonkin
56f58c1261
Merge pull request #2690 from jakubdostal/patch-1
...
Update plugins.md
2014-05-20 09:16:03 +03:00
Jakub
9b24e85717
Update plugins.md
...
Include Leaflet-GeoIP plugin.
2014-05-19 23:34:06 +01:00
Vladimir Agafonkin
cee8192642
Merge pull request #2688 from CliffCloud/patch-1
...
Add L.LocationShare - Client-Side location sharing
2014-05-15 11:10:30 +03:00
Dan
a511d7212b
Add L.LocationShare - Client-Side location sharing
2014-05-15 03:47:55 -04:00
John Firebaugh
1a84e7b2a6
Rotate map id
2014-05-14 13:58:41 -07:00
Vladimir Agafonkin
6509a17948
Merge pull request #2685 from CliffCloud/patch-1
...
Add Leaflet.EasyButton, control plugin
2014-05-13 19:55:53 +03:00
CliffCloud
409fddae09
Add Leaflet.EasyButton, control plugin
2014-05-13 11:48:39 -04:00
Vladimir Agafonkin
3ebeb891a7
Merge pull request #2681 from SINTEF-9012/gh-pages-pullrequest
...
Add PruneCluster to plugins.md
2014-05-08 18:46:48 +03:00
Antoine Pultier
92238debdb
Add PruneCluster plugin
2014-05-08 15:56:19 +02:00
Vladimir Agafonkin
c41d6daaad
fix Mapbox URL in quick start guide
2014-05-08 12:51:35 +03:00
Vladimir Agafonkin
06a7b241a4
Merge pull request #2679 from bozdoz/patch-3
...
Free WordPress plugin specifically for Leaflet
2014-05-08 12:11:16 +03:00
Benjamin J DeLong
d0fdfe58f4
Free WordPress plugin specifically for Leaflet
...
Been having a great time working with Leaflet JS that I came up with another plugin. My first WordPress plugin! :)
I have plans to add more functionality in the future.
2014-05-07 23:02:15 -06:00
Steve
831c799a2f
Update Popup documentation with className option
...
References #2291
2014-05-07 12:25:27 -05:00
Vladimir Agafonkin
6749e5e7a8
Merge pull request #2668 from stefanocudini/gh-pages
...
Update plugins.md
2014-05-05 10:45:54 +03:00
stefano cudini
ba0ef2724a
Update plugins.md
...
add plugin Panel Layers
2014-05-05 04:27:56 +02:00
stefano cudini
cc71210009
Update plugins.md
...
add plugin Leaflet Panel Layers
2014-05-05 01:55:27 +02:00
Vladimir Agafonkin
ae663ccdee
Merge pull request #2665 from aparshin/patch-2
...
Add Leaflet.ImageTransform plugin
2014-05-03 22:11:53 +03:00
Alexander Parshin
1377140b26
Add Leaflet.ImageTransform plugin
2014-05-03 08:41:26 -07:00
Vladimir Agafonkin
a46fd620a6
Merge pull request #2659 from Turistforeningen/fix-2658
...
BoxZoom is no longer affected by right click
2014-04-30 22:08:41 +03:00
Hans Kristian Flaatten
5dc4c1ade1
Replace custom _onPreventDefault function
2014-04-30 20:55:57 +02:00
Hans Kristian Flaatten
3696926bef
Fix #2658 ZoomBox not disappearing on right click
2014-04-30 19:58:30 +02:00
Vladimir Agafonkin
cdcc4e7186
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
* 'master' of https://github.com/Leaflet/Leaflet :
fix error dragging outside of window in FF, close #2610
2014-04-28 16:01:52 +03:00
Vladimir Agafonkin
ddce7b3977
fix error dragging outside of window in FF, close #2610
2014-04-28 16:01:45 +03:00
Vladimir Agafonkin
2808d0f016
fix error dragging outside of window in FF, close #2610
2014-04-28 16:00:57 +03:00
Vladimir Agafonkin
343a9a1699
finally ditch CloudMade everywhere
2014-04-28 14:16:20 +03:00
Vladimir Agafonkin
cac8882a8b
Merge pull request #2654 from twidi/patch-1
...
Add missing `this` in L.Class inheritance doc
2014-04-28 14:09:52 +03:00
Vladimir Agafonkin
4b48820263
ditch CloudMade pass two
2014-04-28 13:51:17 +03:00
Vladimir Agafonkin
f18d503776
ditch CloudMade pass one
2014-04-28 13:41:40 +03:00
Stéphane Angel
50475d67e7
Add missing this
in L.Class inheritance doc
2014-04-28 12:35:24 +02:00
Vladimir Agafonkin
9a8fde20c7
fix gaps in popups in chrome
2014-04-28 13:20:49 +03:00
Vladimir Agafonkin
71b138b56c
Merge pull request #2621 from bennlich/patch-2
...
Allow access to L.TileLayer imagedata
2014-04-22 23:40:25 +03:00
Vladimir Agafonkin
ee6695489d
remove forkme badge
2014-04-22 13:31:36 +03:00
Vladimir Agafonkin
3529688b82
Merge pull request #2546 from dvito/add_gemfile
...
Add gemfile
2014-04-22 13:23:15 +03:00
Steve
c0aad7762e
Change layer-control example link to absolute
2014-04-16 11:34:49 -05:00
Vladimir Agafonkin
f033b7fbb4
Merge pull request #2638 from mattesCZ/gh-pages
...
Updated maxBounds behaviour docs.
2014-04-16 15:25:13 +03:00
mattesCZ
84fcd2191e
Updated maxBounds behaviour docs.
2014-04-16 14:19:12 +02:00
Benny Lichtner
aa073a260f
removed trailing whitespace
2014-04-11 12:26:21 -07:00
Benny Lichtner
3c86f6cca4
tile CORS headers now a layer option
2014-04-10 11:16:30 -07:00
Vladimir Agafonkin
c5091eefda
Merge pull request #2620 from erictheise/master
...
Update GridLayer.js
2014-04-10 12:01:46 +03:00
Benny Lichtner
21b14fd91d
Allow access to L.TileLayer imagedata
...
See https://developer.mozilla.org/en-US/docs/HTML/CORS_Enabled_Image . Seemed like such a small change it could maybe go in core instead of writing an entire plugin for it, but I also doubt it's a common use case. I use this to pull in data that's stored in tiles (e.g. elevation data, soil composition).
2014-04-09 15:54:02 -07:00
Eric Theise
a61fcd4226
Update GridLayer.js
2014-04-09 17:23:28 -04:00
Vladimir Agafonkin
9b493b2286
Merge pull request #2617 from danzel/nobigpan-2602
...
Nobigpan 2602
2014-04-08 12:25:57 +03:00
danzel
3257038d70
Change how we work out if a pan is ok.
2014-04-08 09:30:25 +12:00
Vladimir Agafonkin
6af0994446
Merge pull request #2615 from Mappy/gh-pages
...
Added Leaflet-active-area plugin
2014-04-07 11:45:51 +03:00
Grégory PAUL
381e8075e4
Added Leaflet-active-area plugin
2014-04-07 09:40:27 +02:00
danzel
7d98b2e6d9
Fix the warnings
2014-04-07 16:11:33 +12:00
danzel
7e40b07d7d
Try not set a huge translate when a pan happens. Fixes #2602
2014-04-07 13:51:03 +12:00
Vladimir Agafonkin
a5e8ee985d
Merge pull request #2607 from rvanbaalen/patch-1
...
Fix for #2606 : Cannot read property x of undefined
2014-04-03 11:37:38 +03:00
Robin van Baalen
c5e781b6a0
Fix for #2606 : Cannot read property x of undefined
...
Only setPosition if _getPos actually returns a valid position to this._newPos
2014-04-02 12:23:15 -07:00
danzel
1f08c65794
Round point so that circles work again :)
2014-04-02 10:40:42 +13:00
Vladimir Agafonkin
3ded683817
Merge pull request #2597 from Otouto/pointer-events
...
proper svg pointer-events value
2014-03-28 17:49:45 +02:00
Dmitry Lutsik
67100000fa
proper svg pointer-events value
2014-03-28 15:23:11 +02:00
Vladimir Agafonkin
d6f35e4515
Merge pull request #2596 from shortspider/geojson.setstyle
...
Geojson.setstyle
2014-03-28 14:20:28 +02:00
Nathan Mascitelli
83aee92a06
Updated resetStyle to return this as documented.
2014-03-28 08:16:59 -04:00
Nathan Mascitelli
e7b016812b
Added return statement to setStyle in GeoJSON so the method returns this as documented.
2014-03-28 08:16:30 -04:00
Vladimir Agafonkin
d116e69223
Merge pull request #2589 from jdomingu/patch-1
...
Added Leaflet.SimpleMarkers plugin
2014-03-27 09:13:22 +02:00
jdomingu
6e1261bb7a
Added Leaflet.SimpleMarkers plugin
2014-03-26 13:49:00 -07:00
Vladimir Agafonkin
a356bcbd97
Merge pull request #2561 from calvinmetcalf/build-step
...
add publish script for component and bower
2014-03-26 18:36:42 +02:00
Vladimir Agafonkin
fcb5a235ed
Merge pull request #2575 from AndreyGeonya/circleMarker-bugfix
...
CircleMarker radius redrawing fixed
2014-03-24 13:36:15 -07:00
AndreyGeonya
52fff05eb8
circle marker radius redrawing fixed
2014-03-24 19:20:34 +02:00
Anton Borodatov
760ee99bdd
Opera does not support translate3d property
...
Restore Opera supporting with setting 'translate' property instead of 'translate3d' in nonWebkits browsers. Code was copy-pasted from previous version.
2014-03-24 16:59:25 +02:00
Vladimir Agafonkin
629e9cc558
Merge pull request #2572 from astromatic/gh-pages
...
Added Leaflet.TileLayer.IIP
2014-03-23 19:26:37 -07:00
Emmanuel Bertin
c32c75f5df
Added Leaflet.TileLayer.IIP
2014-03-23 23:04:03 +01:00
Vladimir Agafonkin
bdb8450a4a
Merge pull request #2565 from landonreed/patch-1
...
fixed cmUrl key on layers control example
2014-03-20 09:46:10 -07:00
Landon Reed
7c977a8aef
fixed cmUrl key
2014-03-20 12:37:30 -04:00
Vladimir Agafonkin
53cc583c7a
fix travis build uploads, ref travis-ci/travis-artifacts#23
2014-03-19 17:47:12 -07:00
Vladimir Agafonkin
29678e4f30
bump travis to see why it's not uploading builds
2014-03-19 17:35:42 -07:00
Calvin Metcalf
ce4b77fe81
add publish script for component and bower
...
This reverts commit 5543a1637b42423f97a01e2dd29acd7c302cc73e.
2014-03-19 20:29:41 -04:00
Vladimir Agafonkin
2af906fc9b
Merge pull request #2547 from shortspider/popup.isOpen
...
Added method to indicate if the popup is open or closed.
2014-03-19 16:25:29 -07:00
Nathan Mascitelli
3bdde9d7a3
Simplified method.
...
On advice from mourner.
2014-03-19 17:34:49 -04:00
Nathan Mascitelli
ed06a52697
Fixed whitespace.
...
Second crack at fixing the whitespace.
2014-03-19 16:40:55 -04:00
Vladimir Agafonkin
b626553bc2
Merge pull request #2524 from jeffsmale90/dasharray-offset
...
Added Dasharray offset
2014-03-19 11:56:15 -07:00
Nathan Mascitelli
5a4deff548
Fixed whitespace.
2014-03-19 14:52:49 -04:00
Vladimir Agafonkin
cceb3f14a5
Merge pull request #2551 from chriscalip/gh-pages
...
Add L.UniformControl to Plugins page
2014-03-17 20:08:15 -07:00
Chris Calip
44627b71dc
Better description. ** Add L.UniformControl to Plugins page #2551
2014-03-17 21:30:02 -05:00
Chris Calip
56004b1ce7
Add L.UniformControl to Plugins page
2014-03-17 18:45:46 -05:00
Jeff Smale
17434c5b0c
Renamed dashArrayOffset to dashOffset for consistency
2014-03-17 12:54:22 +13:00
Nathan Mascitelli
4512601f38
Added method to indicate if the popup is open or closed.
2014-03-16 12:23:17 -04:00
Justin Raines
384257a5b2
Update CONTRIBUTING.md
2014-03-15 11:53:20 -04:00
justraines@gmail.com
d5c2293054
adding gemfile and documentation on its use
2014-03-15 11:43:14 -04:00
justraines@gmail.com
baf1df1627
adding a Gemfile and updated contributing for the jekyll site (since there are multiple gems in use)
2014-03-15 11:39:02 -04:00
Vladimir Agafonkin
cf68863403
Merge pull request #2544 from bozdoz/patch-2
...
Control Layers constantly trigger mouseover and mouseout
2014-03-14 15:37:07 -07:00
Benjamin J DeLong
84b92098f4
Control Layers constantly trigger mouseover and mouseout
...
fix to expand and collapse constantly firing: mouseenter and mouseleave
2014-03-14 16:18:44 -06:00
Per Liedman
326e77664f
Merge pull request #2538 from Starefossen/patch-6
...
Add Leaflet.Routing to Plugins page
2014-03-13 13:11:40 +01:00
Hans Kristian Flaatten
bea7e46c6f
Move Leaflet.Routing to correct category
2014-03-13 13:04:47 +01:00
Hans Kristian Flaatten
12945bb73d
Fix spelling of Leaflet.Routing description
2014-03-13 13:01:23 +01:00
Hans Kristian Flaatten
6212f186bd
Add Leaflet.Routing to Plugins page
2014-03-13 10:56:43 +01:00
Steve
146064daa1
Incorrect attribution in e723e76
2014-03-12 09:27:41 -04:00
Steve
e723e7628f
Beginning to fix cloudmade on examples
...
References #2512
2014-03-12 09:24:34 -04:00
Vladimir Agafonkin
0a3493991b
Merge pull request #2536 from Leaflet/omnivore
...
Add omnivore to layers plugins.
2014-03-11 23:22:36 +02:00
Tom MacWright
54fae28c75
Add omnivore to layers plugins.
2014-03-11 16:48:39 -04:00
Vladimir Agafonkin
d993d9d83b
add karma launchers to deps to fix build
2014-03-11 19:39:20 +02:00
Vladimir Agafonkin
9a2399ee50
fix freeze on multiple setViews, close #2521 , close #2236 , close #2485
2014-03-11 19:16:23 +02:00
Vladimir Agafonkin
262472ec99
update npm deps
2014-03-11 18:49:22 +02:00
Vladimir Agafonkin
fbbef6b0f7
Merge pull request #2534 from Starefossen/patch-5
...
Add missing capital L to coordsToLatLng(s)
2014-03-11 12:45:58 +02:00
Hans Kristian Flaatten
286d06dbc3
Add missing capital L to coordsToLatLng(s)
...
Add the missing capital L for following functions documentation:
* L.GeoJSON.coordsToLatLng()
* L.GeoJSON.coordsToLatLngs()
2014-03-11 10:18:07 +01:00
Vladimir Agafonkin
60246f8f9a
Merge pull request #2529 from mtmail/patch-2
...
Update changelog related to touchZoom:center
2014-03-08 14:29:47 +02:00
mtmail
ae55d2d161
Update changelog related to touchZoom:center
...
Adding change of accepted pull request https://github.com/Leaflet/Leaflet/pull/2527 to changelog.
2014-03-08 12:45:39 +01:00
Vladimir Agafonkin
cd03559692
Merge pull request #2527 from mtmail/touchZoom-center
...
touchZoom:'center'
2014-03-08 12:27:39 +02:00
Marc Tobias Metten
3a391026f2
Doubleclick and scrollwheel zoom already can be forced to remained centered on map center. Now the same for touchzoom
2014-03-08 02:29:51 +01:00
Marc Tobias Metten
d61d0c0893
Doubleclick and scrollwheel zoom already can be forced to remained centered on map center. Now the same for touchzoom
2014-03-08 02:27:35 +01:00
Vladimir Agafonkin
b8897f26fb
instantiate default renderers in map, fix #2523
2014-03-07 14:52:11 +02:00
Tom MacWright
409938d023
i before e except after c
2014-03-06 20:24:04 -05:00
Jeff Smale
d05a049dde
Fixed indentation of dasharrayoffset code
2014-03-07 12:35:49 +13:00
Jeff Smale
b1e08ab8c2
Added stroke-dashArray to path options
2014-03-07 11:50:44 +13:00
Vladimir Agafonkin
1a7b12604b
run view reset before load, fix #2510
2014-03-05 23:27:32 +02:00
Vladimir Agafonkin
b5b2dc06dc
Merge pull request #2514 from snkashis/remove_cloudmade
...
Remove cloudmade tilesets
2014-03-04 23:45:22 +02:00
Vladimir Agafonkin
9c25ae3f8a
remove CM reference in FAQ
2014-03-04 20:40:52 +02:00
Vladimir Agafonkin
9678a054a7
add a link to @tmcw cheatsheet to FAQ
2014-03-04 18:20:23 +02:00
Steve Kashishian
ed926180d2
whitespace fixes
2014-03-04 11:04:00 -05:00
Steve Kashishian
28c56c4bb0
Remove cloudmade tilesets
2014-03-04 10:54:41 -05:00
Vladimir Agafonkin
c3129a02ea
Merge pull request #2509 from dvito/add_alt_to_tiles
...
Add alt to tiles for accessibility reasons
2014-03-04 01:22:05 +02:00
justraines@gmail.com
50dbfa30a8
add alt tags to tiles
2014-03-03 17:52:41 -05:00
justraines@gmail.com
c1870976e6
set alt attribute on tiles to a null value so screen readers no longer read url for tiles
2014-03-03 17:46:54 -05:00
Vladimir Agafonkin
c60ebb9a10
Merge pull request #2507 from Wenqer/patch-1
...
Added map events on touch devices
2014-03-03 18:05:19 +02:00
Wenqer
a303658f8d
Added map events on touch devices
...
Simulate mouseup and mousedown on map on touch device.
2014-03-03 17:07:25 +02:00
Vladimir Agafonkin
86b9b4ea42
Merge pull request #2503 from axefrog/master
...
Fix for touch-sensitive browsers detecting drag on tap
2014-03-02 00:12:01 +02:00
Nathan Ridley
a0bf3fe798
Update Draggable.js
2014-03-01 21:58:56 +00:00
Nathan Ridley
902d24bd85
Fix for touch-sensitive browsers detecting drag on tap
...
Chrome 33 on Android seems to very commonly detect a 1 pixel drag movement during a standard touch tap. This fix prevents a drag from beginning until the X and Y drag offset is at least 3 pixels in total.
2014-03-01 16:14:26 +00:00
Vladimir Agafonkin
97a7f1d5a4
fix click propagating through popup regression, close #2500
2014-02-28 23:15:28 +02:00
Vladimir Agafonkin
665e766608
simplify optimized LatLngBounds extend
2014-02-27 19:03:00 +02:00
Antoine Pultier
63e22f0ed0
Manage empty L.LatLngBounds objects
2014-02-27 19:03:00 +02:00
Antoine Pultier
39af6fb5d7
L.LatLngBounds.extend return to Math.min/max
2014-02-27 19:03:00 +02:00
Antoine Pultier
ed44604411
L.LatLngBounds.extend optimization
2014-02-27 19:03:00 +02:00
Vladimir Agafonkin
6c409bc924
Merge pull request #2468 from jdfergason/patch-1
...
Add leaflet.ellipse plugin
2014-02-27 18:33:46 +02:00
Vladimir Agafonkin
c05b91399a
Merge pull request #2448 from mylen/patch-1
...
added leaflet.TileLayer.WMTS
2014-02-27 18:33:17 +02:00
Vladimir Agafonkin
f8ee421ca4
Merge pull request #2419 from danzel/vector-during-zoom
...
Fix adding Vector layers during a zoom animation
2014-02-27 17:28:09 +02:00
Vladimir Agafonkin
860fb92461
Merge pull request #2418 from danzel/ie8-fixes
...
IE8 fixes.
2014-02-27 17:27:44 +02:00
Vladimir Agafonkin
920e7b03d9
Merge pull request #2492 from bsstoner/bsstoner/2489
...
Enforce maxZoom before applying paddingOffset in Map.fitBounds, fixes #2489
2014-02-27 02:56:14 +02:00
Brian Stoner
255a3d7fb8
remove parens from ternary if
2014-02-26 19:52:21 -05:00
Brian Stoner
86e06dbd79
enforce maxZoom before applying paddingOffset, fixes #2489
2014-02-26 17:21:49 -05:00
Vladimir Agafonkin
da96933f65
Merge pull request #2374 from robertharm/patch-1
...
add mapbox fullscreen plugin; update mapsmarker
2014-02-25 22:23:43 +02:00
Robert Harm
90fa0cd183
remove text after dash
2014-02-25 21:08:59 +01:00
Robert Harm
500c615130
change text as proposed
2014-02-25 19:49:19 +01:00
Robert Harm
b6ff859d59
remove logo, update description
2014-02-25 06:50:26 +01:00
Vladimir Agafonkin
b1f70b5c1c
fix layer.addTo(group), add layer removeFrom, #2420
2014-02-24 20:18:44 +02:00
Vladimir Agafonkin
229aa1d667
update changelog pass two [skip ci]
2014-02-24 19:08:20 +02:00
Vladimir Agafonkin
a70ab6e613
fix whitespace
2014-02-24 18:42:47 +02:00
Vladimir Agafonkin
893b6fa2f0
add LatLng wrap method back
2014-02-24 17:20:47 +02:00
Vladimir Agafonkin
fcc9f41df4
fix whitespace
2014-02-24 16:00:15 +02:00
Vladimir Agafonkin
431e775893
Merge pull request #2370 from cusspvz/patch-1
...
Events.js: Check if array exists before loop
2014-02-24 15:59:32 +02:00
Vladimir Agafonkin
5db33435c5
make options arg in GeoJSON.geometryToLayer optional, #2420
2014-02-24 15:55:25 +02:00
Vladimir Agafonkin
23df037bb7
update changelog (first pass) [skip ci]
2014-02-24 15:17:54 +02:00
Vladimir Agafonkin
f574bf5114
Merge pull request #2482 from perliedman/canvas-update-2476
...
Call layer's _update like SVG renderer does, fixes #2476
2014-02-22 16:49:49 +02:00
Per Liedman
501d61ce98
Call layer's _update like SVG renderer does, fixes #2476
2014-02-22 13:31:13 +01:00
Vladimir Agafonkin
85aebe06c0
Merge pull request #2480 from adimitrov/patch-1
...
Move _containsPoint method to CircleMarker for canvas renderer
2014-02-22 01:36:35 +02:00
Alexander Dimitrov
687c0b75a4
Move _containsPoint method to CircleMarker for canvas renderer
...
CircleMarker is the parent of Circle as of 508a75f7a8
and should have _containsPoint instead.
Fixes no method '_containsPoint' error when hovering on a map with a CircleMarker.
2014-02-22 00:24:15 +02:00
Vladimir Agafonkin
8d0f41a158
Merge pull request #2475 from brunob/patch-1
...
update leaflet-plugins description
2014-02-21 00:36:30 +02:00
b_b
e496998b96
update leaflet-plugins description
2014-02-20 19:57:09 +01:00
Vladimir Agafonkin
3b704d9e73
Merge pull request #2472 from dwilhelm89/patch-1
...
Leaflet.StyleEditor plugin
2014-02-19 03:09:49 +02:00
dwilhelm89
f5498ef437
Leaflet.StyleEditor plugin
...
Enables editing the styles of features (lines, polygons, etc) and markers with a GUI.
2014-02-18 19:11:02 +01:00
Vladimir Agafonkin
4bba3e8a0d
Merge pull request #2467 from perliedman/plugin-leaflet-routing-machine
...
Added plugin Leaflet Routing Machine
2014-02-17 16:14:59 +02:00
jdfergason
ad167b886a
Add leaflet.ellipse plugin
2014-02-15 20:42:50 -07:00
Vladimir Agafonkin
d19f927554
Merge pull request #2466 from perliedman/plugin-leaflet-control-geocoder
...
Added plugin Leaflet.Control.Geocoder
2014-02-16 00:44:51 +02:00
Per Liedman
c970ebcdad
Added plugin Leaflet Routing Machine
2014-02-15 23:17:34 +01:00
Per Liedman
bc6130e9de
Added plugin Leaflet.Control.Geocoder
2014-02-15 23:09:46 +01:00
Vladimir Agafonkin
d6940ff24f
Merge pull request #2464 from naomap/gh-pages
...
Add plugin leaflet-fusesearch
2014-02-15 01:44:59 +02:00
Vladimir Agafonkin
be06a27d81
Merge pull request #2465 from brunob/patch-1
...
update credits
2014-02-15 01:39:43 +02:00
b_b
ed29805d38
update credits
...
update credits for leaflet-providers and leaflet-plugins
2014-02-14 19:11:01 +01:00
Antoine Riche
2028ae126e
Add plugin leaflet-fusesearch
2014-02-14 16:51:58 +01:00
Vladimir Agafonkin
ad661c94e4
Merge pull request #2452 from snkashis/modifier_key_bypass
...
don't capture keydowns if modifier key is active
2014-02-13 01:05:51 +02:00
Steve
c339a7e808
allow shift key to be active
2014-02-12 09:18:09 -05:00
Steve
5794ebd285
Fix typo in GeoSearch plugin description
2014-02-10 22:21:40 -05:00
Steve
6d29f8def2
Update with organization change.
2014-02-10 22:10:33 -05:00
Steve Kashishian
37519fd6ec
don't capture keydowns if modifier key is active
2014-02-10 21:45:19 -05:00
alexandre melard
423c0cf529
added leaflet.TileLayer.WMTS
...
Add WMTS (IGN) layering for leaflet.
2014-02-10 10:41:34 +01:00
Vladimir Agafonkin
99416fea67
Merge pull request #2447 from moklick/patch-1
...
added bounds option to TileLayer
2014-02-09 22:31:12 +02:00
moklick
f2ab783dbf
added bounds option to TileLayer
2014-02-09 21:23:13 +01:00
Vladimir Agafonkin
f3e593a750
Merge pull request #2442 from heyman/gh-pages
...
Added link to AreaSelect plugin
2014-02-06 17:18:30 +02:00
Jonatan Heyman
554be169e8
Added link to AreaSelect plugin
2014-02-06 14:32:09 +01:00
Vladimir Agafonkin
34b6b9154d
Merge pull request #2434 from gdi2290/patch-1
...
add licenses to package.json
2014-02-04 09:02:53 -08:00
gdi2290
992a9845ae
add licenses to package.json
2014-02-04 08:45:03 -08:00
Vladimir Agafonkin
dfd20ca4c9
Merge pull request #2432 from bclinkinbeard/patch-1
...
Indicate primary CSS file in package.json
2014-02-03 06:58:26 -08:00
Ben Clinkinbeard
fae082068b
Indicate primary CSS file in package.json
...
Many modules in npm are starting to expose their css entry files in their package.json files. This allows tools like `npm-css`, `rework-npm`, and `npm-less` to import a module's styles from the node_modules directory. Bootstrap is [in the process](https://github.com/twbs/bootstrap/pull/12441 ) of adopting this standard as well.
2014-02-03 09:54:56 -05:00
Vladimir Agafonkin
36047c95cc
Merge pull request #2422 from htoooth/patch-1
...
Leaflet.ChineseTmsProviders plugin
2014-01-30 03:25:52 -08:00
Tao Huang
082c52c68c
Leaflet.ChineseTmsProviders plugin
...
This plugin adds Chinese Tile Layer to your map.
2014-01-30 18:59:00 +08:00
Vladimir Agafonkin
38b43b4b5c
Merge pull request #2421 from danzel/addremovebug
...
Fix adding and immediately removing a Layer from the map when the map is never initialized
2014-01-30 01:48:23 -08:00
danzel
d5a3112852
Another break with adding and removing tile layers.
2014-01-30 16:35:08 +13:00
danzel
2396a10282
Fix adding and immediately removing a Layer from the map when the map is never initialized
2014-01-30 16:15:03 +13:00
danzel
4a556886fb
Fix adding Vector layers during a zoom animation. Fixes #2416
2014-01-30 11:14:57 +13:00
danzel
4e84f9ec1f
IE8 fixes.
...
Events on VML elements actually work :)
2014-01-30 11:12:07 +13:00
Vladimir Agafonkin
064902665e
Merge pull request #2413 from danzel/propagation-fixes
...
Propagation fixes
2014-01-29 02:34:03 -08:00
danzel
8cc7404f53
This should be oldLatLng, even if latlng is wrong, let's have this be right. refs #2412 #1423
2014-01-29 14:51:55 +13:00
danzel
5916db8678
Don't crash if a marker is removed from the map before it fires a mouseout event.
2014-01-29 14:45:27 +13:00
danzel
595e8d2537
Allow stacking propagations. L.MarkerCluster uses this as follows:
...
Marker propagates to FeatureGroup.
That FeatureGroup propagates to MarkerClusterGroup.
Then users add listeners on the MarkerClusterGroup
2014-01-29 14:43:52 +13:00
Vladimir Agafonkin
78be0ad0ec
Merge pull request #2412 from danzel/marker-move
...
Add oldLatlng parameter to Marker move event
2014-01-28 14:36:57 -08:00
danzel
e2d9a97836
Add oldLatlng parameter to Marker move event, will allow MarkerCluster to support moving markers.
2014-01-29 11:33:08 +13:00
Vladimir Agafonkin
02db8b4e1a
Merge pull request #2410 from gamb/master
...
change unload order
2014-01-28 09:42:30 -08:00
Adam J. Gamble
579a429c3b
change unload order
2014-01-28 17:20:08 +00:00
Vladimir Agafonkin
53cd4eee19
update npm deps
2014-01-28 13:59:02 +02:00
Vladimir Agafonkin
47166b62e5
fix GeoJSON coordsToLatLng
2014-01-28 13:26:58 +02:00
Vladimir Agafonkin
bce7c49c17
Merge pull request #2377 from Leaflet/accel
...
Smarter hardware acceleration
2014-01-28 03:22:31 -08:00
Vladimir Agafonkin
d3435383e9
Merge pull request #2397 from kyletolle/patch-1
...
Fix grammar in choropleth example
2014-01-27 10:09:28 -08:00
Vladimir Agafonkin
78f487bb00
Merge pull request #2398 from tkrajina/gh-pages
...
Added link to Editable polylines
2014-01-27 10:09:05 -08:00
Vladimir Agafonkin
02d5896740
remove leftover code
2014-01-27 18:21:06 +02:00
Vladimir Agafonkin
187d9c2368
move Safari hacks to CSS, do not optimize contrast in Chrome
2014-01-27 18:18:04 +02:00
Vladimir Agafonkin
9228b3089f
fix blurry non-retina tiles on retina iOS
2014-01-27 18:04:58 +02:00
Vladimir Agafonkin
cf35d69655
size-based tile layer HW hack; use top/left for tiles everywhere
2014-01-27 17:54:12 +02:00
Vladimir Agafonkin
014bc83bf4
Merge pull request #2404 from bmcbride/patch-2
...
Happy new year!
2014-01-27 02:22:34 -08:00
Vladimir Agafonkin
679dd791fa
Merge pull request #2406 from bmcbride/patch-1
...
Remove v2 from CDN src
2014-01-27 02:22:11 -08:00
Bryan McBride
794747b32c
Remove v2 from CDN src
...
I think this is an unnecessary leftover from issues with 0.7.1 required a rebuild on the CDN.
2014-01-26 22:17:38 -05:00
Bryan McBride
ff289a2f6c
Happy new year!
2014-01-26 22:09:29 -05:00
Kyle Tolle
9b630febc4
Fix grammar in choropleth example
...
The sentence means to say "let us". The proper contraction for that is "let's".
2014-01-21 20:20:27 -05:00
Tomo Krajina
033b397b13
Added link to Editable polylines
2014-01-21 21:43:41 +01:00
Vladimir Agafonkin
7150d58a2a
fix year in changelog [skip ci]
2014-01-17 14:52:27 +02:00
Vladimir Agafonkin
e541e3add2
update links to 0.7.2
2014-01-17 14:51:39 +02:00
Vladimir Agafonkin
7b043793a2
Merge branch 'gh-pages' of https://github.com/Leaflet/Leaflet into gh-pages
...
# By Steve (2) and others
# Via Vladimir Agafonkin (3) and others
* 'gh-pages' of https://github.com/Leaflet/Leaflet :
fix typo for zoomOutTitle
Fix typo in getPopup docs
Fix a typo
Added Leaflet.OpacityControls to plugins list.
Add Leaflet.MakiMarkers
Add Leaflet.MagnifyingGlass plugin
2014-01-17 14:46:41 +02:00
Vladimir Agafonkin
2f874c1f04
update build to 0.7.2
2014-01-17 14:46:36 +02:00
Vladimir Agafonkin
f42d60900a
Merge branch 'stable' into gh-pages
...
* stable:
update stable branch changelog for 0.7.2 [skip ci]
bump version to 0.7.2
fix scrolled page mouse events in Chrome 32, close #2352
fix rounding bug with unconventional tile sizes, close #2288
Use _getTileSize() instead of using options.tileSize directly
2014-01-17 14:46:15 +02:00
Vladimir Agafonkin
bcf370b5be
update stable branch changelog for 0.7.2 [skip ci]
2014-01-17 14:45:25 +02:00
Vladimir Agafonkin
9d3ec72ccb
update changelog about 0.7.2 [skip ci]
2014-01-17 14:44:25 +02:00
Vladimir Agafonkin
327f07d0e5
bump version to 0.7.2
2014-01-17 14:39:14 +02:00
Vladimir Agafonkin
950034e457
fix scrolled page mouse events in Chrome 32, close #2352
2014-01-15 23:44:30 +02:00
Vladimir Agafonkin
9020f4d41e
greatly simplify zoom animation calculations - finally!!!
2014-01-15 17:15:52 +02:00
Robert Harm
5576f6889b
update maps marker pro plugin
2014-01-14 16:22:08 +01:00
Vladimir Agafonkin
f081ff2908
fix build
2014-01-14 17:20:58 +02:00
Vladimir Agafonkin
cd0c9ff8a5
position the hack absolutely
2014-01-14 17:18:51 +02:00
Vladimir Agafonkin
322039ea85
move the hack to tile container reset
2014-01-14 17:15:58 +02:00
Vladimir Agafonkin
592d2ce8f4
horrible hacks to fix iOS Safari bugging out hw-acceleration
2014-01-14 16:29:39 +02:00
Vladimir Agafonkin
cfde916edf
make sure tiles in iOS Safari are not hw-accelerated layers
2014-01-14 16:28:40 +02:00
Vladimir Agafonkin
6e5d3e26e6
use translate2d instead of top/left for tiles when hw-accelerated
...
this fixes gaps between tiles in Safari and makes iOS Safari butter
smooth when zooming
2014-01-14 16:26:58 +02:00
Vladimir Agafonkin
09ad7e8c4f
fix box-zoom not displaying
2014-01-14 01:35:34 +02:00
Vladimir Agafonkin
22226c20c2
simpler tile bg buffer loading logic
2014-01-13 21:52:49 +02:00
Robert Harm
3a440a4ae4
add mapbox fullscreen plugin; update mapsmarker
2014-01-13 20:31:44 +01:00
Vladimir Agafonkin
6d5fe1f724
a bit cleaner zoom anim logic
2014-01-13 20:54:13 +02:00
Vladimir Agafonkin
f32173573a
do not stack transforms for real now, close #1705
2014-01-13 17:10:58 +02:00
José Moreira
92890bed12
Events.js: Check if array exists before loop
2014-01-13 12:31:42 +00:00
Steve
9dc88e177a
fix typo for zoomOutTitle
...
Fixes #2367
2014-01-12 20:20:31 -06:00
Vladimir Agafonkin
1acffc5a3d
don't disable propagation on closeButton, close #2351
2014-01-11 15:00:28 +02:00
Vladimir Agafonkin
1ed9924288
fix ImageOverlay on low zooms with Mercator distortion
2014-01-11 14:59:56 +02:00
Vladimir Agafonkin
48d5bac476
clean up image overlay, fix setting opacity/url when not added
2014-01-11 02:51:55 +02:00
Vladimir Agafonkin
2c90de5076
cleaner ImageOverlay animation
2014-01-10 23:25:31 +02:00
Vladimir Agafonkin
6f5c17fae0
more consistent renderer anim calculations
2014-01-10 21:59:25 +02:00
Vladimir Agafonkin
cc34737a93
remove DomUtil getTranslateString/getScaleString
2014-01-10 20:26:20 +02:00
Vladimir Agafonkin
d22f75cc36
simpler renderer zoom anim
2014-01-10 20:19:01 +02:00
Vladimir Agafonkin
cd746192b5
stack transforms properly for tile layer anim, ref #1705
2014-01-10 19:24:39 +02:00
Vladimir Agafonkin
b5569dd0c3
never stack transforms, simpler grid layer anim, ref #1705
2014-01-10 19:11:59 +02:00
Vladimir Agafonkin
758679ab69
add DomUtil.setTransform for translate+scale ops
2014-01-10 16:05:58 +02:00
Vladimir Agafonkin
30f86b11e3
improve zoom perf by avoiding recompositing in grid layers
2014-01-10 14:34:44 +02:00
Vladimir Agafonkin
3b57b9a040
set the source in bindPopup(popup), close #2354
2014-01-10 14:05:21 +02:00
Vladimir Agafonkin
646850f5f2
stop panning animation correctly, better inertia, close #2360
2014-01-10 13:29:37 +02:00
Vladimir Agafonkin
7e98b33db3
update year to 2014
2014-01-08 20:40:04 +02:00
Vladimir Agafonkin
be85ff304c
fix Canvas layer redawing
2014-01-03 20:14:24 +02:00
Vladimir Agafonkin
b01126d9fb
Merge pull request #2345 from Leaflet/geodesic
...
Better geodesy handling
2014-01-03 08:13:51 -08:00
Vladimir Agafonkin
ae8bc579a4
fix Circle in flat projections
2014-01-03 18:08:19 +02:00
Vladimir Agafonkin
8f4baaed14
don't render circles near poles or with 0 radius
2014-01-03 17:37:51 +02:00
Vladimir Agafonkin
dab0cbfc14
update tests to reflect no clamping near poles
2014-01-03 17:37:28 +02:00
Vladimir Agafonkin
5e441018f8
fix true mercator regression
2014-01-03 17:37:16 +02:00
Vladimir Agafonkin
192973093f
fix ellipse disappearing with big radiusY
2014-01-03 15:27:18 +02:00
Vladimir Agafonkin
264eca8ee6
don't clamp mercator after 85, simplify projection code
2014-01-03 15:26:40 +02:00
Vladimir Agafonkin
06fb3ce6e4
much better circle approximation near poles
2014-01-03 03:50:22 +02:00
Vladimir Agafonkin
7ff0fa9c72
approximate Circle with ellipse
2014-01-03 00:37:34 +02:00
Vladimir Agafonkin
0cf887fdb4
fix Travis build false passes when running tests
2014-01-03 00:37:07 +02:00
Vladimir Agafonkin
c4a9418d3b
add low level ellipse rendering support
2014-01-02 20:36:47 +02:00
Vladimir Agafonkin
9ce2cc5cbd
use simpler distance formula (precision is good enough)
2014-01-02 16:32:57 +02:00
Vladimir Agafonkin
3d34f27df8
normalize latlng argument in Map wrapLatLng
2014-01-02 16:15:00 +02:00
Vladimir Agafonkin
ea1402ec4f
simplify calculations in scale control
2014-01-02 16:13:08 +02:00
Vladimir Agafonkin
5923a64ec4
add Map distance method, close #1442
2014-01-02 16:13:03 +02:00
Vladimir Agafonkin
2ee5c90f02
add CRS.Earth, move Harvesine distance there
2014-01-02 15:42:14 +02:00
Vladimir Agafonkin
6940b5bac9
use projected coordinates in Circle, close #1465
2014-01-02 15:23:28 +02:00
Vladimir Agafonkin
d1bc836b5d
HAPPY NEW YEAR!!!
...
Lets have an awesome year doing amazing stuff together! Cheers my
fellow leafleters!
2014-01-01 02:49:57 +02:00
Vladimir Agafonkin
b2965351e0
ignore openPopup if map not initialized, close #2343
2013-12-31 02:43:56 +02:00
Vladimir Agafonkin
7d18adbe73
don't postfix createPane name, #1742
2013-12-30 23:39:30 +02:00
Vladimir Agafonkin
2000734658
do not fail on unnamed createPane, #1742
2013-12-30 20:16:21 +02:00
Vladimir Agafonkin
76f9c7ae7f
add Map createPane/getPane methods, close #1742
2013-12-30 19:17:52 +02:00
Vladimir Agafonkin
dd1b9617dd
add syntactic sugar to DomEvent.on/off
2013-12-30 17:40:23 +02:00
Vladimir Agafonkin
6cea376807
add missing Canvas events, fix mouseover spam
2013-12-30 13:22:14 +02:00
Vladimir Agafonkin
bc9721b3be
simplify pane structure (remove objectsPane, not necessary)
2013-12-28 03:38:59 +02:00
Vladimir Agafonkin
ee3f2f8b1e
stop propagation explicitly; marker and vector mouseup
...
this way we know what events won’t propagate to Map and this behavior
is consistent across layers
2013-12-28 03:12:18 +02:00
Vladimir Agafonkin
7ca19b59ea
clean up Marker mouse events code
2013-12-27 19:27:46 +02:00
Vladimir Agafonkin
8bf7f963e2
fix marker drag regression
2013-12-27 19:27:11 +02:00
Vladimir Agafonkin
c354113293
fix build (fire preclick even with no click listeners)
2013-12-27 18:46:10 +02:00
Vladimir Agafonkin
93214d7e3c
clean up mouse events handling code
2013-12-27 18:36:24 +02:00
Vladimir Agafonkin
e7898584c3
more BoxZoom cleanup
2013-12-27 18:17:51 +02:00
Vladimir Agafonkin
e27b295261
clean up BoxZoom, fix cursors #1813
2013-12-27 17:22:16 +02:00
Vladimir Agafonkin
9ae1623910
include version info in top comment, close #2276
2013-12-26 18:46:00 +02:00
Vladimir Agafonkin
abdf0c2afa
better compression for Leaflet.js
2013-12-26 18:45:29 +02:00
Vladimir Agafonkin
2b96ea5aba
make Leaflet.js requirable for version, remove noConflict test
...
Currently tests don’t account for wrapper function around Leaflet
source, so the noConflict one failed — removing for now.
2013-12-26 18:29:46 +02:00
Vladimir Agafonkin
9a6288ef37
make Android double-click issue threshold smaller, close #2303
2013-12-25 20:37:25 +02:00
Vladimir Agafonkin
8764063c46
simpler and faster mouse pos; remove DomUtil.documentIsLtr
2013-12-24 18:46:05 +02:00
Vladimir Agafonkin
9eaaf096c1
use getTileSize when determining tile bounds
2013-12-24 00:47:11 +02:00
Vladimir Agafonkin
87757d5f19
fix rounding bug with unconventional tile sizes, close #2288
2013-12-24 00:16:38 +02:00
Vladimir Agafonkin
3ae769a4e7
pass options in canvas/svg factories
2013-12-23 22:39:42 +02:00
Vladimir Agafonkin
bc405b5911
make propagation work correctly for vector layers
2013-12-23 21:33:25 +02:00
Vladimir Agafonkin
add5bacb1f
update deps
2013-12-23 20:46:23 +02:00
Vladimir Agafonkin
6edc39e19a
revert ce29ac59
2013-12-23 17:21:12 +02:00
Vladimir Agafonkin
5d9cc6bf47
optimize canvas implementation further
2013-12-23 16:55:12 +02:00
Vladimir Agafonkin
6b43bc6566
fix Popup remove/add sequence
2013-12-23 12:47:02 +02:00
Vladimir Agafonkin
37485fd334
fix layers control not firing overlayadd, close #2330
2013-12-23 12:41:50 +02:00
Vladimir Agafonkin
dd72a6545a
simplify bringToFront/Back, add DomUtil toFront/Back
2013-12-23 12:31:51 +02:00
Vladimir Agafonkin
a88ab70ee4
Merge pull request #2321 from perliedman/tms-fix-maxNativeZoom
...
Use _getTileSize() instead of using options.tileSize directly
2013-12-22 02:49:10 -08:00
Vladimir Agafonkin
a97c599201
Layer popup methods and cleanup, fix #2279 , fix #2292
2013-12-21 12:46:38 +01:00
Vladimir Agafonkin
9e6a747f6f
minor events-related cleanup
2013-12-21 09:53:26 +01:00
Vladimir Agafonkin
deec9d54be
don't bind on each move in IE7-8
2013-12-21 09:36:53 +01:00
Vladimir Agafonkin
47783821f7
rename limitExecByInterval to throttle, better implementation
2013-12-21 01:49:25 -05:00
Vladimir Agafonkin
b7c03c8a99
add more comments to Util, clean up
2013-12-20 22:47:09 -05:00
Vladimir Agafonkin
d0051500c3
comment the Events code better
2013-12-20 17:26:27 -05:00
Per Liedman
c480c5c80a
Use _getTileSize() instead of using options.tileSize directly
2013-12-20 11:47:41 +01:00
Vladimir Agafonkin
dcb6f74ef5
ensure execution order in events, slightly bulkier structure
2013-12-19 18:35:05 -05:00
Vladimir Agafonkin
ce29ac59a9
fire load after viewreset/moveend to fix Canvas rendering
2013-12-19 18:04:55 -05:00
Vladimir Agafonkin
70e3500716
rename _leaflet_events to _events
2013-12-19 17:20:04 -05:00
Vladimir Agafonkin
88b27fe832
clean up events code a bit
2013-12-19 17:14:53 -05:00
Vladimir Agafonkin
1dfec0a021
shortcut hasEventListeners as listens
2013-12-19 17:09:32 -05:00
Vladimir Agafonkin
d4fe4cb804
simplify events code, better footprint, speedup removal 2x
2013-12-19 17:05:36 -05:00
Vladimir Agafonkin
6d81f5e51c
fix edge case with SVG event delegation
2013-12-19 16:13:34 -05:00
Dave Leaver
60a4037250
Merge pull request #2319 from robpvn/patch-2
...
Fix a typo in the plugins page
2013-12-19 11:34:38 -08:00
Steve
c2c192f0ac
Fix typo in getPopup docs
...
was appearing as Popup>popup
2013-12-19 11:35:04 -05:00
Robert Nordan
9f50f90cde
Fix a typo
...
When Leaflet.MagnifyingGlass was added, the previous line was copy-pasted but the title wasn't changed. Fixed it to show the correct name on the new link.
2013-12-19 13:50:33 +01:00
Vladimir Agafonkin
247c13fbdd
optimize perf-sensitive LayerGroup methods
2013-12-19 02:23:17 -05:00
Vladimir Agafonkin
df4570a9f0
delegate SVG event handling to root, close #2315
2013-12-19 00:58:13 -05:00
Vladimir Agafonkin
be67170869
simpler stamp without closure
2013-12-19 00:20:43 -05:00
Vladimir Agafonkin
824d168375
optimize DomEvent addListener
2013-12-19 00:20:23 -05:00
Vladimir Agafonkin
6d1142a978
only propagate events if given true to fire, #2311
2013-12-18 23:23:22 -05:00
Vladimir Agafonkin
ce4a031d40
faster on/off, add private non-sugary versions
2013-12-18 23:07:39 -05:00
Vladimir Agafonkin
6b132009af
handle attrib in Layer, don't use map layeradd/remove (perf)
...
otherwise thousands of markers/vectors will trigger layeradd and check
for attributions, this is waste of resources
2013-12-18 23:04:08 -05:00
Vladimir Agafonkin
f7198e71dc
fix build
2013-12-18 22:22:40 -05:00
Vladimir Agafonkin
1c925fa698
don't copy over layer options on GeoJSON setStyle (perf)
2013-12-18 22:21:17 -05:00
Vladimir Agafonkin
9f09f50812
remove Util invokeEach since on/off are hot functions
2013-12-18 22:05:47 -05:00
Vladimir Agafonkin
a628e724a1
minor poly performance tweaks
2013-12-18 21:55:04 -05:00
Vladimir Agafonkin
cd84d75005
minor changelog update [skip ci]
2013-12-18 16:54:38 -05:00
Vladimir Agafonkin
7a4c59680e
add vectors 2.0 PR link [skip ci]
2013-12-18 16:18:20 -05:00
Vladimir Agafonkin
c99d4b11e7
Merge pull request #2290 from Leaflet/vectors2
...
Vectors 2.0
2013-12-18 13:12:29 -08:00
Vladimir Agafonkin
9de557df9c
update changelog about vectors 2.0
2013-12-18 16:11:57 -05:00
Vladimir Agafonkin
9cc1b3608d
more comments in new vector code
2013-12-18 15:19:53 -05:00
Vladimir Agafonkin
511cbd5465
add more comments to Canvas, fix dragging cursors
2013-12-18 14:57:06 -05:00
Vladimir Agafonkin
5d4e77627a
fix PolyUtil spec (we now round poly clipping)
2013-12-18 14:56:23 -05:00
Vladimir Agafonkin
cf55d0edb9
clean up Renderer/SVG code and add comments
2013-12-18 14:36:58 -05:00
Vladimir Agafonkin
b329c4a9fd
only round clip edges, other path points already rounded
2013-12-18 14:35:51 -05:00
Vladimir Agafonkin
4d8990f7a8
dry up the renderer code a bit
2013-12-18 13:45:05 -05:00
Vladimir Agafonkin
95e394f0d8
fix mouse handling regression in Path
2013-12-18 13:20:01 -05:00
Vladimir Agafonkin
f2af995a10
tweak default vectors color
2013-12-18 12:03:24 -05:00
Vladimir Agafonkin
988dc3a27a
redraw partially when updating canvas layers (massive speedup)
2013-12-18 12:03:24 -05:00
Vladimir Agafonkin
e5d1ff6db2
fix dragging on canvas layer
2013-12-18 12:03:24 -05:00
Vladimir Agafonkin
811006adc5
cache circle bounds
2013-12-18 12:03:24 -05:00
Vladimir Agafonkin
eca9fe966e
fix retina canvas redraw bug
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
65ae546fa0
make canvas be underneath svg by default
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
7bffd4924b
do stroke hit detection after polygon
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
f930588bca
simpler Circle._containsPoint, remove accidental debug
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
f4f8c06c75
fix adding/removal of vectors and renderers
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
f750b76e04
fix addLatLng not affecting bounds
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
2e9141fa98
better style defaults for vector features
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
518b82b755
fix GeoJSON resetStyle in case no style was specified
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
508a75f7a8
make Circle inherit from CircleMarker and not the other way
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
fe5cd4b127
tweaks to renderer instancing
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
fdae94ce34
fix test with empty polyline
2013-12-18 12:03:23 -05:00
Vladimir Agafonkin
46c279c88f
various IE vectors fixes
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
4e33ce3e0a
cache getBounds and optimize Canvas events
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
f045742a28
add Polyline and Polygon getCenter, openPopup in centroid
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
674d9ae4d3
Retina support and better default renderer handling
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
e35095fcf9
fix CircleMarker setStyle
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
05054a1088
fix Popup regression
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
33e23a69e7
fix specs for polygon holes
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
dc5151b81a
fix GeoJSON roundtripping
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
87bf1ff144
fix GeoJSON deps
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
04addb791e
fix choosing default renderer
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
d0eedd3f52
rename vectors2 folder into vectors, update deps
2013-12-18 12:03:22 -05:00
Vladimir Agafonkin
2ac898654a
minor clean up
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
21510e6100
add CircleMarker
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
1e04f5feba
add Circle implementation
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
fd98197556
require ctx in DomEvent off if on had it (breaking!!!)
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
6f9d05fc40
implement Canvas events and SVG click-through
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
41a576b930
minor clean up
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
ddb9a376be
flatten poly latlngs into rings, proper clipping
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
6543fe50bc
fix jshint errors
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
6aa605f606
clean up lineJoin/lineCap
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
08028b7a7a
add VML implementation (not tested yet)
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
5d8e7279b2
remove vector stuff that's already ported
2013-12-18 12:03:21 -05:00
Vladimir Agafonkin
b2eee96d5c
remove MultiPoly classes (unnecessary)
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
48a3c34702
add Path Popup implementation
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
919b862c15
add MultiPolyline and MultiPolygon implementations
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
b19fd8d1cd
proper Canvas redraw & setStyle
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
7976b1f284
add basic Canvas implementation
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
3c5cf0fd2b
fix stroke appearing on polygon clip edges
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
1bd0ee2dd5
SVG.js minor cleanup
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
274e1559b7
fix "error parsing z" error in SVG
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
cea35a35e5
add SVG mouse events support
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
f3b376f599
add Path setStyle
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
d3426d557b
fix Polygon getBounds and factory
2013-12-18 12:03:20 -05:00
Vladimir Agafonkin
d983464ab5
SVG bringToFront and bringToBack
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
7cd67edf71
copy Rectangle implementation
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
33f4e72cc4
add working Polygon implementation
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
eade171b7e
fix renderers not updating bounds before path updates
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
3c8dd353a8
manage renderer automatically
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
076255f33f
initial working Path/Polyline implementation
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
568fd154e2
initial Renderer/SVG implementations
2013-12-18 12:03:19 -05:00
Vladimir Agafonkin
98c617847e
update changelog [skip ci]
2013-12-18 11:53:05 -05:00
Vladimir Agafonkin
7b9bedb497
Merge pull request #2311 from Leaflet/propagate
...
Fast universal event propagation
2013-12-18 08:30:45 -08:00
Vladimir Agafonkin
0876b51bc9
remove DomUtil.getViewportOffset as unnecessary
2013-12-18 00:51:01 -05:00
Vladimir Agafonkin
d619f14f45
Merge pull request #2312 from lizardtechblog/patch-1
...
Added Leaflet.OpacityControls to plugins list.
2013-12-17 19:30:53 -08:00
lizardtechblog
428aa64d15
Added Leaflet.OpacityControls to plugins list.
2013-12-17 19:25:47 -08:00
Vladimir Agafonkin
f631513acc
fast event propagation (10x FeatureGroup layer add speedup)
2013-12-17 17:08:21 -05:00
Vladimir Agafonkin
1cc9ecdded
clean up Class.js
2013-12-17 15:53:52 -05:00
Vladimir Agafonkin
4e2c097c5f
Merge pull request #2310 from Leaflet/evented
...
Evented base class to use in favor of mixing in event methods
2013-12-17 12:52:50 -08:00
Vladimir Agafonkin
d662e005bb
no parseFloat in LatLng, faster factory (massive speedup)
...
see http://jsperf.com/leaflet-parsefloat-in-latlng
2013-12-17 15:38:49 -05:00
Vladimir Agafonkin
3469eb933d
Merge pull request #2296 from urbaniak/retina-tile-url
...
add {r} format to url, which returns @2x when retina detected and enabled
2013-12-17 11:41:33 -08:00
Vladimir Agafonkin
21cfd7f3d9
replace Events mixin with Evented inheritance
2013-12-17 14:07:21 -05:00
Vladimir Agafonkin
4a142af76d
make Evented longer names aliases instead of on/off
2013-12-17 14:06:54 -05:00
Vladimir Agafonkin
b22715a9e5
replace L.Mixin.Events with L.Evented class (bw-compat)
2013-12-17 13:55:39 -05:00
Vladimir Agafonkin
d0e72934d7
make instantiation faster by avoiding callInitHooks where not needed
2013-12-17 13:27:10 -05:00
Vladimir Agafonkin
e857d6bbc3
Merge pull request #2299 from bbecquet/patch-1
...
Add Leaflet.MagnifyingGlass plugin
2013-12-17 10:07:55 -08:00
Vladimir Agafonkin
4b7be05079
Merge pull request #2306 from Lekensteyn/fix-jake
...
Do not ignore custom build parameters
2013-12-17 09:46:24 -08:00
Vladimir Agafonkin
e8edc46097
Merge pull request #2309 from jseppi/patch-1
...
Add Leaflet.MakiMarkers
2013-12-17 09:45:49 -08:00
James Seppi
3bc0085365
Add Leaflet.MakiMarkers
2013-12-17 11:44:44 -06:00
Peter Wu
380c0843f2
Do not ignore custom build parameters
...
Regression from 941b206714
("improve size
reporting when building and add gzipped size").
2013-12-17 11:31:02 +01:00
Vladimir Agafonkin
18d0cf4dc1
made the logo pretty-printed for consistency
2013-12-16 19:09:22 -05:00
Vladimir Agafonkin
447b0aa35c
Merge pull request #2304 from jacobtoye/master
...
Adding Leaflet logo in svg format
2013-12-16 16:08:31 -08:00
jacobtoye
f0be7dcf0f
Run logo svg through svgo
2013-12-17 13:04:01 +13:00
Vladimir Agafonkin
a78dc748ba
Merge pull request #2300 from Leaflet/prototypal-options
...
Make options object prototype-inherited
2013-12-16 15:37:34 -08:00
Vladimir Agafonkin
e44b8d944e
use lighter extend in setOptions, simplify extend
2013-12-16 18:37:06 -05:00
jacobtoye
b675bbeecf
Adding Leaflet logo in svg format
2013-12-17 12:04:53 +13:00
Vladimir Agafonkin
90a5c69b36
remove Leaflet IE stylesheet that's not needed anymore
2013-12-16 10:59:53 -05:00
Vladimir Agafonkin
00bfd63e8b
Merge pull request #2297 from alfarisi/patch-1
...
Update plugins.md
2013-12-15 19:46:31 -08:00
John Firebaugh
f2b34cd012
Use L.Util.create for class extension
2013-12-15 14:35:02 -08:00
John Firebaugh
ad9d0f8c7f
Make options object prototype-inherited
...
Fixes #2294
2013-12-15 13:30:30 -08:00
Benjamin Becquet
f5054d3b7a
Add Leaflet.MagnifyingGlass plugin
2013-12-15 17:43:20 +01:00
Krzysztof Urbaniak
caa9d8622b
fix retina condition
2013-12-14 16:54:29 +01:00
alfarisi
4d4aa733ae
Update plugins.md
2013-12-14 22:49:13 +07:00
Krzysztof Urbaniak
de1a62fa52
add {r} format to url, which returns @2x when retina detected and enabled
2013-12-14 16:40:19 +01:00
Vladimir Agafonkin
f619e3b242
bring this._map check back
2013-12-13 18:35:51 -05:00
John Firebaugh
af9302ce19
Make GridLayer methods safe to call pre-setView
2013-12-13 18:01:06 -05:00
John Firebaugh
c1654c4626
Add hasLayer tests
2013-12-13 17:51:37 -05:00
John Firebaugh
5e0d343501
Fix build
2013-12-13 17:50:32 -05:00
Vladimir Agafonkin
773fa91d1e
fix old IE and stricter jshinting
2013-12-13 17:24:43 -05:00
Vladimir Agafonkin
69890a29cf
fix build
2013-12-13 17:21:39 -05:00
Vladimir Agafonkin
40a67a2113
fix LayerGroup hasLayer
2013-12-13 17:00:52 -05:00
Vladimir Agafonkin
de4f0353e1
fix Map hasLayer
2013-12-13 16:47:58 -05:00
Vladimir Agafonkin
8c3010ca88
fix FeatureGroup getBounds
2013-12-13 16:38:24 -05:00
Vladimir Agafonkin
4e9b8a42e9
call addLayers after initHooks where anim is detected, fixes #2281
2013-12-11 18:13:00 -05:00
Vladimir Agafonkin
d3d94a7f00
Merge pull request #2283 from davidcalhoun/patch-1
...
fix typo (attching -> attaching)
2013-12-11 14:53:59 -08:00
davidcalhoun
972386c965
fix typo (attching -> attaching)
2013-12-11 14:51:56 -08:00
Vladimir Agafonkin
83f10b6039
bump CDN link (the original was a bit broken)
2013-12-11 17:33:56 -05:00
danzel
27cd306e6b
Change touch detection check for ontouchstart in window like modernizr does. Fixes chrome touch emulation. Fixes #2277
2013-12-12 09:30:11 +13:00
Vladimir Agafonkin
f1d2b0d5df
revert commenting out watch for terser code #2274
2013-12-10 11:17:40 +01:00
Vladimir Agafonkin
4a42dc07d7
minor code readability fix
2013-12-10 01:53:22 +01:00
Vladimir Agafonkin
4fc4cadd11
Merge pull request #2274 from yohanboniface/watch
...
Firefox has a Object.prototype.watch method
2013-12-09 07:29:18 -08:00
Yohan Boniface
369290d90d
Firefox has a Object.prototype.watch method
2013-12-09 15:59:20 +01:00
Vladimir Agafonkin
63b1ce934a
Merge pull request #2270 from lyzidiamond/patch-1
...
Change example to use Leaflet 0.7
2013-12-06 15:19:48 -08:00
Lyzi Diamond
e0e3721f13
Update to 0.7.1
2013-12-06 14:40:07 -08:00
Lyzi Diamond
5cc602ec0a
Change example to use Leaflet 0.7
2013-12-06 14:30:02 -08:00
Vladimir Agafonkin
f3b2e74a3a
update changelog [skip ci]
2013-12-06 17:59:33 +02:00
Vladimir Agafonkin
cb37d25dbe
update index and download pages for 0.7.1
2013-12-06 17:53:40 +02:00
Vladimir Agafonkin
512063d06f
update build to 0.7.1
2013-12-06 17:50:21 +02:00
Vladimir Agafonkin
b6b79f1daa
Merge branch 'stable' into gh-pages
...
* stable:
update changelog [skip ci]
A transitionEnd event only finished a zoom animation if it is for a transform. Fixes #2255
bump version to 0.7.1
update changelog [skip ci]
revert #2207 (focusing popup close button) to fix #2254
Don't fire dragend if a dragstart did not occur due to a multitouch action. fixes #2256
Use event.target as a default for event.layer. Closes #2252
do not change internal properties in invalidateSize() when map is not loaded
improve build reporting more
improve size reporting when building and add gzipped size
Minor spelling fix
Revert "'#1968 compiled interpolation'"
Disable webkit3d on android 2/3 because it is buggy as. fixes #2198
Adds a check to make sure the closeButton option is set before focusing
Gave L.CircleMarker.setLatLng a return statement.
Issue #2199 - Set focus to popup close button when popup is opened.
bump version in changelog
2013-12-06 17:49:36 +02:00
Vladimir Agafonkin
eec19a441b
add Control & Layer remove method
2013-12-06 16:49:50 +02:00
Vladimir Agafonkin
bd5fbd2789
update changelog [skip ci]
2013-12-06 16:16:41 +02:00
danzel
bda5ce1a94
A transitionEnd event only finished a zoom animation if it is for a transform. Fixes #2255
2013-12-06 16:14:09 +02:00
Vladimir Agafonkin
08b6074941
update changelog [skip ci]
2013-12-06 15:45:48 +02:00
Vladimir Agafonkin
90ab59b94a
Merge pull request #2266 from Leaflet/layer
...
Layer refactoring
2013-12-06 05:12:00 -08:00
Vladimir Agafonkin
07f7c3c53f
update changelog
2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
d53bc0e4f8
accept name in Layer getPane, make Marker panes configurable
2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
7f03570b8d
move Layer-related Map code from Map.js to Layer.js
2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
d55ffb07ec
cleaner and more consistent zoom animation options
2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
d70d03dbe1
more implicit falsy options to save bytes / memory;
2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
6e0e006209
add Layer getEvents and manage listeners on map automatically
2013-12-06 15:10:29 +02:00
Vladimir Agafonkin
64320fe3fa
remove Popup open/close (there are add/remove now)
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
edca4a6075
groups cleanup; fix getBounds when containing CircleMarkers
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
eeaec502ac
optimize layer add/remove with layers control present
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
57bfbc45e6
simpler Map getMinZoom
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
789c356017
fire add/remove events and manage _map in Layer
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
36b8c7cf4d
move zoom restricting logic to GridLayer
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
4011a6199f
move add/removeLayer logic to Layer; ditch tilelayersload event
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
a30a872a78
initial Layer commit (base class for all layers)
2013-12-06 15:10:28 +02:00
Vladimir Agafonkin
1974ae7003
Merge pull request #2269 from danzel/fix-2255-hurray
...
A transitionEnd event only finishes a zoom animation if it is for a transform
2013-12-06 02:14:50 -08:00
danzel
46a379adb7
A transitionEnd event only finished a zoom animation if it is for a transform. Fixes #2255
2013-12-06 14:54:48 +13:00
danzel
c287eccef3
Don't crash when double tap zooming on pointer if a property is null.
2013-12-06 14:36:56 +13:00
Dave Leaver
3924b49708
Merge pull request #2261 from Leaflet/pointer-cleanup
...
Significantly clean up DomEvent.Pointer code
2013-12-05 12:43:04 -08:00
Vladimir Agafonkin
db8f888c17
significantly clean up DomEvent.Pointer code
2013-12-05 16:45:54 +02:00
Vladimir Agafonkin
a0ad7b6c0e
clean up Poly code
2013-12-05 16:44:50 +02:00
Vladimir Agafonkin
674b7cbc3f
clean up Path classes
2013-12-05 16:01:25 +02:00
Vladimir Agafonkin
42b39bf247
clean up GeoJSON.js
...
also changes geometryToLayer & coordsToLatLngs signatures
2013-12-05 15:14:52 +02:00
Vladimir Agafonkin
b0d6bcb0aa
clean up ImageOverlay
2013-12-05 14:57:18 +02:00
Vladimir Agafonkin
b8b6e3e852
clean up Marker.Drag.js
2013-12-05 14:43:41 +02:00
Vladimir Agafonkin
3b0e6d79b0
clean up Marker.js
2013-12-05 14:39:51 +02:00
Vladimir Agafonkin
6b9731283d
add and use DomUtil.remove
2013-12-05 14:35:39 +02:00
Vladimir Agafonkin
cf3e63adad
update deps
2013-12-05 13:21:16 +02:00
Vladimir Agafonkin
ea9c1f6629
Merge pull request #2263 from alanshaw/gh-pages
...
Add link to leaflet-zoom-min plugin
2013-12-04 09:28:11 -08:00
Alan Shaw
401297d3cd
Add link to leaflet-zoom-min plugin
2013-12-04 17:19:08 +00:00
Vladimir Agafonkin
efba6b4d1c
clean up Icon code
2013-12-04 18:42:13 +02:00
Vladimir Agafonkin
5b77ec33de
optimize fire event in V8 when there are no context listeners
2013-12-04 18:01:52 +02:00
Vladimir Agafonkin
57a0866bcf
set empty options object if no options given, fixes build
2013-12-04 18:00:37 +02:00
Vladimir Agafonkin
3a0b1bf1d5
don't overwrite default options if not specified (faster construction)
2013-12-04 17:38:55 +02:00
Vladimir Agafonkin
5bc104237e
clean up Popup, add popup fade out animation
2013-12-04 16:43:24 +02:00
Vladimir Agafonkin
ee334476f7
clean up Control.Zoom
2013-12-04 14:51:18 +02:00
Vladimir Agafonkin
a00360bef6
clean up Control.Scale
2013-12-04 14:45:40 +02:00
Vladimir Agafonkin
14afb4fa8f
clean up Control.Layers
2013-12-04 14:18:00 +02:00
Vladimir Agafonkin
81aa8e7298
update changelog [skip ci]
2013-12-04 13:25:44 +02:00
Vladimir Agafonkin
b151ceb63f
remove LatLng constants, add move maxMargin to equals arguments
2013-12-03 19:09:36 +02:00
Vladimir Agafonkin
3d7520ff27
clean up Browser.js, simplify old FF touch detection
2013-12-03 18:47:43 +02:00
Vladimir Agafonkin
f2da891ff2
clean up DomEvent.DoubleTap
2013-12-03 17:05:51 +02:00
Vladimir Agafonkin
fa69db1082
clean up DomEvent, remove now irrelevant legacy IE magic
2013-12-03 16:57:24 +02:00
Vladimir Agafonkin
ea0650b399
cleanup DomUtil code
2013-12-03 16:14:12 +02:00
Vladimir Agafonkin
440f2f89c1
bump version to 0.7.1
2013-12-03 15:08:57 +02:00
Vladimir Agafonkin
504f1f23c2
update changelog [skip ci]
2013-12-03 14:45:48 +02:00
Vladimir Agafonkin
abd82daa27
update changelog [skip ci]
2013-12-03 14:40:33 +02:00
Vladimir Agafonkin
dfa60b53fe
Merge pull request #2259 from danzel/fix2256
...
Don't fire dragend if a dragstart did not occur due to a multitouch action
* danzel/fix2256:
Don't fire dragend if a dragstart did not occur due to a multitouch action. fixes #2256
2013-12-03 14:31:57 +02:00
Vladimir Agafonkin
bc686476fd
Merge pull request #2259 from danzel/fix2256
...
Don't fire dragend if a dragstart did not occur due to a multitouch action
2013-12-03 04:31:03 -08:00
Vladimir Agafonkin
8b97ecd716
update changelog once more [skip ci]
2013-12-02 20:41:02 +02:00
Vladimir Agafonkin
93b01f1c02
update changelog [skip ci]
2013-12-02 20:36:54 +02:00
Vladimir Agafonkin
9cb36d0a62
document refactoring in changelog, bump version
2013-12-02 20:05:31 +02:00
Vladimir Agafonkin
04c95e1af9
basic GridLayer spec, move TileLayer spec
2013-12-02 19:18:08 +02:00
Vladimir Agafonkin
dd313e6930
better CRS test coverage
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
28b26498c6
fix coverage reporting
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
a1828f3f6a
change wrapNum signature, clean up
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
91a01a03da
move Projection namespace to Projection.LonLat.js
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
53d47af746
improve comments in CRS
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
a6517dac60
add CRS unproject, close #1560
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
49af3fda5c
merge spherical mercator / epsg3857 changes with some fixes
...
closes #2062
2013-12-02 19:18:07 +02:00
Vladimir Agafonkin
b9f9b285ee
fix build (jshint)
2013-12-02 19:16:02 +02:00
Vladimir Agafonkin
678a5cbd05
better wrapping/bounding, make projection bounds optional
2013-12-02 19:16:01 +02:00
Per Liedman
130e53d1cd
Use absolute upper tile bounds when calculating TMS row
2013-12-02 19:16:01 +02:00
Per Liedman
4dc66ccedd
Round tile bounds to integers
2013-12-02 19:16:01 +02:00
Per Liedman
ad9449e7cf
Replace getBounds() with property bounds, defaulting to normal lat/lng bounds
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
f92dcb3be6
cleanup, more comments and fix minor errors
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
5895abe93c
fix whitespace
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
7e20997e40
remove LatLng wrap and fix wrap tests
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
e43873298c
update wrapping/bounding logic to allow negative coords
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
a4fa618144
fix True Mercator & EPSG:3395
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
a03bfb753e
add CRS & Map wrapLatLng, fix GridLayer bounding
2013-12-02 19:16:01 +02:00
Vladimir Agafonkin
0305b593fe
clean up TileLayer.WMS
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
8c9a513857
fix GridLayer bounds
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
627ca511d0
add Map getWorldPixelSize, remove hardcode for worldCopyJump
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
00166b9c4f
proper EPSG:4326 with 2x1 root, fixes #1207
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
ce79ea1e81
remove TileLayer.Canvas in favor of GridLayer
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
5e6f95dc9c
implement TileLayer on top of GridLayer
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
88f21d01af
better bind, use native fn.bind if available
2013-12-02 19:16:00 +02:00
Per Liedman
294a7250d0
Added tests to verify size of EPSG3857 and 4326
2013-12-02 19:16:00 +02:00
Per Liedman
6c4d607e4d
Add bounds to Projection, to calculate size
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
7a3e63ea53
handle simple CRS in GridLayer
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
82e43019ee
proper GridLayer wrapping/bounding
2013-12-02 19:16:00 +02:00
Vladimir Agafonkin
8f97ca619e
easy async loading for GridLayer
2013-12-02 19:15:19 +02:00
Vladimir Agafonkin
e8c504b5f9
working GridLayer implementation, #1180
2013-12-02 19:15:19 +02:00
Calvin Metcalf
b2acd4e26d
update 3857 based on 3395
2013-12-02 19:15:19 +02:00
Calvin Metcalf
87520df2e2
Spherical Radius is used in Spherical Mercator
2013-12-02 19:15:18 +02:00
Vladimir Agafonkin
6f1784fc9a
update changelog [skip ci]
2013-12-02 19:13:46 +02:00
Vladimir Agafonkin
53403d78f7
Merge pull request #2203 from bozdoz/patch-1
...
Added WebGL heatmap plugin
2013-12-02 08:13:26 -08:00
Vladimir Agafonkin
75c813305c
Merge pull request #2206 from radicalbiscuit/fix-circlemarker-setlatlng-return
...
Give L.CircleMarker.setLatLng a return statement.
2013-12-02 08:12:52 -08:00
Vladimir Agafonkin
78c934cbb2
revert #2207 (focusing popup close button) to fix #2254
2013-12-02 18:09:44 +02:00
Vladimir Agafonkin
5084cbf0b1
Merge pull request #2253 from gumballhead/event-layer
...
Use event.target as a default for event.layer
2013-12-02 08:07:29 -08:00
Vladimir Agafonkin
83f4d91d14
Merge pull request #2250 from Zverik/sizechanged
...
do not change internal properties in invalidateSize() when !map._loaded
2013-12-02 08:04:04 -08:00
danzel
58551506f2
Don't fire dragend if a dragstart did not occur due to a multitouch action. fixes #2256
2013-12-02 14:06:47 +13:00
Andrew Kirkegaard
5a796c9897
Use event.target as a default for event.layer. Closes #2252
...
In 2464d13
, event.layer is overwritten to equal event.target. This
commit uses event.target as a default for event.layer.
2013-11-29 12:15:40 -05:00
Ilya Zverev
0859c48fbf
do not change internal properties in invalidateSize() when map is not loaded
2013-11-29 14:46:05 +04:00
Vladimir Agafonkin
b53f7d84fc
Merge pull request #2248 from openplans/gh-pages
...
Add Leaflet.FeatureSelect to the plugins list
2013-11-29 00:21:29 -08:00
Aaron Ogle
26d5952b82
Add Leaflet.FeatureSelect
2013-11-28 21:50:39 -05:00
Vladimir Agafonkin
16d12f4ac0
improve build reporting more
2013-11-28 15:20:25 +02:00
Vladimir Agafonkin
941b206714
improve size reporting when building and add gzipped size
2013-11-28 14:56:32 +02:00
Vladimir Agafonkin
ffe36be61e
Merge pull request #2232 from tontita/patch-1
...
Update plugins.md
2013-11-25 02:50:10 -08:00
Seong Choi
71e8dfa382
Update plugins.md
...
I added Leaflet.KoreanTmsProviders at the Services, Providers and Formats table.
2013-11-25 19:47:37 +09:00
Vladimir Agafonkin
daf7345194
Merge pull request #2227 from nexushoratio/patch-1
...
Minor spelling fix
2013-11-23 14:51:46 -08:00
nexushoratio
2e6e81e307
Minor spelling fix
2013-11-23 12:55:26 -08:00
Vladimir Agafonkin
769c2472de
Merge pull request #2207 from Zombienaute/master
...
Issue #2199 - Set focus to popup close button when popup is opened.
2013-11-22 05:18:24 -08:00
Vladimir Agafonkin
158666f6e6
Merge pull request #2213 from scripter-co/patch-1
...
add leaflet.plotter plugin
2013-11-22 05:17:03 -08:00
Nathan
cfa0d04a16
missed the namechange from last commit
2013-11-21 10:16:59 +00:00
Vladimir Agafonkin
9ae30c0fd5
Merge pull request #2216 from danzel/android23
...
Disable webkit3d on android 2/3 because it is buggy as
2013-11-20 16:33:22 -08:00
Vladimir Agafonkin
f100bbf7e8
Merge pull request #2217 from calvinmetcalf/terrible-mistake
...
remove functional constructors and compiled templates
2013-11-20 16:32:38 -08:00
Calvin Metcalf
4a0beebde3
Revert "' #1968 compiled interpolation'"
2013-11-20 15:42:06 -05:00
danzel
66282f14bc
Disable webkit3d on android 2/3 because it is buggy as. fixes #2198
2013-11-21 09:34:19 +13:00
Adam Bramley
5fec57d8ec
Adds a check to make sure the closeButton option is set before focusing
2013-11-21 09:16:10 +13:00
Bradley Gentry
9d2f90b508
Gave L.CircleMarker.setLatLng a return statement.
2013-11-20 13:37:30 -05:00
Nathan
6ccdd4934b
add leaflet.plotter plugin
2013-11-20 16:52:34 +00:00
Adam Bramley
0b9918fe4e
Issue #2199 - Set focus to popup close button when popup is opened.
2013-11-20 16:09:14 +13:00
Benjamin J DeLong
280fb14a2a
Spelling/punctuation adjustments
2013-11-19 15:37:28 -07:00
Vladimir Agafonkin
891d5f718a
Merge branch 'patch-1' of https://github.com/trevorpowell/Leaflet into gh-pages
...
* 'patch-1' of https://github.com/trevorpowell/Leaflet :
Spelling fix
Fixing bounceAtZoomLimits option name
2013-11-19 23:47:58 +02:00
Trevor Powell
7dd54d0d2b
Spelling fix
2013-11-19 15:45:42 -06:00
Trevor Powell
86f3995ce7
Fixing bounceAtZoomLimits option name
2013-11-19 15:37:08 -06:00
Benjamin J DeLong
087a14916c
Added WebGL heatmap plugin
...
I added it next to and after the other heatmap plugins.
2013-11-19 10:13:13 -07:00
Vladimir Agafonkin
ebc62771cf
and one more metadata fix
2013-11-18 18:29:29 +02:00
Vladimir Agafonkin
838549253c
one more attempt at metadata
2013-11-18 18:26:47 +02:00
Vladimir Agafonkin
8a2a0ae6e4
remove metadata on non-title pages
2013-11-18 18:25:37 +02:00
Vladimir Agafonkin
fb5c2484f0
fix cursor on headings
2013-11-18 18:15:44 +02:00
Vladimir Agafonkin
7fe1f804d3
fix download link
2013-11-18 17:56:33 +02:00
Vladimir Agafonkin
a26834f3e1
minor post fix
2013-11-18 17:36:53 +02:00
Vladimir Agafonkin
f5580d024e
bump version in changelog
2013-11-18 17:23:07 +02:00
Vladimir Agafonkin
f52bc2323a
add post about 0.7 release and plans for future
2013-11-18 17:20:23 +02:00
Vladimir Agafonkin
81cbb20c86
add some breaks to 0.6 post
2013-11-18 16:47:38 +02:00
Vladimir Agafonkin
d037c23b2d
fix prefix default value
2013-11-18 16:40:13 +02:00
Vladimir Agafonkin
0636c56f38
some no-new fixes and cleanup #1660
2013-11-18 16:35:03 +02:00
Vladimir Agafonkin
61283df82e
merge gh-pages-nonew, ref #1660
2013-11-18 16:25:30 +02:00
Vladimir Agafonkin
88abdd06e0
add link to FAQ
2013-11-18 14:56:48 +02:00
Vladimir Agafonkin
1d21d76a5d
update screenshots on tutorials page
2013-11-18 14:53:26 +02:00
Vladimir Agafonkin
3c0e6ab14b
css cleanup and minor layout fix
2013-11-18 14:33:54 +02:00
Vladimir Agafonkin
5666865cc6
second batch of 0.7 docs updates
2013-11-18 14:20:57 +02:00
Vladimir Agafonkin
948c43ea60
first batch of docs updates for 0.7
2013-11-18 14:11:15 +02:00
Vladimir Agafonkin
4e9ad828f4
add a note about Draggable & setPosition, close #1743
2013-11-18 13:10:18 +02:00
Vladimir Agafonkin
e8f4411d7d
fix geojson addData return type, close #2105
2013-11-18 13:08:08 +02:00
Vladimir Agafonkin
37af19e6b0
add Point floor and contains reference, close #2123
2013-11-18 13:07:10 +02:00
Vladimir Agafonkin
7a1b371904
update setMaxBounds description
2013-11-15 19:43:36 +02:00
Vladimir Agafonkin
11c046e4dc
Merge branch 'gh-pages' of https://github.com/davidjb/Leaflet into gh-pages-master
...
* 'gh-pages' of https://github.com/davidjb/Leaflet :
Update documentation regarding addition of options to panInsideBounds and setMaxBounds. Refs #1879
2013-11-15 19:41:25 +02:00
Vladimir Agafonkin
aad2ac341e
Merge branch 'gh-pages' of https://github.com/n0nick/Leaflet into gh-pages-master
...
* 'gh-pages' of https://github.com/n0nick/Leaflet :
Undo (accidental) removal of 'Point'
Describe new autoPanPadding{TopLeft,BottomRight} Popup options
2013-11-15 19:40:06 +02:00
Vladimir Agafonkin
7f819ecc79
Merge branch 'patch-1' of https://github.com/palewire/Leaflet into gh-pages-master
...
* 'patch-1' of https://github.com/palewire/Leaflet :
Added simple docs for lineJoin and lineCap settings on a path
2013-11-15 19:38:33 +02:00
Vladimir Agafonkin
9cd8f5dc8a
download page updates
2013-11-15 19:18:22 +02:00
Vladimir Agafonkin
37b6f3e626
minor fixes before 0.7
2013-11-15 19:10:26 +02:00
Vladimir Agafonkin
fadfb53c92
update index regarding lib size
2013-11-15 18:58:23 +02:00
Vladimir Agafonkin
b1afb43e5d
update features page
2013-11-15 18:56:20 +02:00
Vladimir Agafonkin
1c5c7f9a7e
fix build and commit built 0.7
2013-11-15 18:41:40 +02:00
Vladimir Agafonkin
45a06f7859
merge master
2013-11-15 18:40:36 +02:00
Vladimir Agafonkin
a2ca73ce29
Merge branch 'gh-pages' into gh-pages-master
...
* gh-pages: (152 commits)
remove notice on the frontpage
remove UserVoice widget (now it's ridden with spam)
proper title for GeoJSON example page
Fix grammar related to the word "milliseconds"
an accidentally :) fixed typo
Updated description of L.Popup source arg
add filegeodatabase plugin
plugins: Added leaflet-sidebar project
Update reference.html
Update plugins.md
Update plugins.md
Add Leaflet.layerscontrol-minimap
fit incorrect closing tag, #2070
Add Leaflet.Terminator plugin to overlay section.
Add Plugin Control Order Layers
Add Plugin Control Order Layers
Add Leaflet.AlmostOver plugin
Update plugins.md
Add Leaflet-2gis plugin
adds Leaflet.dbpediaLayer to plugin list
...
2013-11-15 18:36:42 +02:00
Vladimir Agafonkin
18b445fa26
fix version in package.json
2013-11-15 17:02:54 +02:00
Vladimir Agafonkin
ff927cb42a
bump version in package.json and Leaflet.js
2013-11-15 16:41:34 +02:00
Vladimir Agafonkin
58b93f80b1
remove closure compiler instructions; close #2193
2013-11-15 16:35:25 +02:00
Vladimir Agafonkin
355b0f5ed2
remove notice on the frontpage
2013-11-15 13:40:40 +02:00
Vladimir Agafonkin
02313757d5
remove UserVoice widget (now it's ridden with spam)
2013-11-15 13:40:03 +02:00
danzel
00e0dcf3e5
Fix spelling mistake in removeClass
2013-11-15 10:17:08 +13:00
danzel
b2959b4488
IE doesn't support e.target, use srcElement.
...
http://stackoverflow.com/questions/1143196/ie-e-target-id-is-not-working
2013-11-15 10:16:42 +13:00
Vladimir Agafonkin
e5d575b66c
Merge pull request #2192 from tyrasd/patch-1
...
proper title for GeoJSON example page
2013-11-14 12:26:52 -08:00
Martin Raifer
b439f5fc93
proper title for GeoJSON example page
2013-11-14 19:34:49 +01:00
Vladimir Agafonkin
81ae1794d3
fix world wrap with detectRetina, close #2190 , cc @perliedman
2013-11-14 18:58:16 +02:00
Vladimir Agafonkin
88e60af971
fix shift-double-click on maps with vector layers #2189
2013-11-14 18:50:29 +02:00
Vladimir Agafonkin
01b714426c
update changelog [skip ci]
2013-11-14 18:39:40 +02:00
Vladimir Agafonkin
0747c2b686
Merge pull request #2187 from Leaflet/maxbounds
...
Reimplement max bounds enforcement with proper zooming and lookahead
2013-11-14 08:12:11 -08:00
Vladimir Agafonkin
fab5c3b676
adjust whitespace and add some comments
2013-11-14 18:04:39 +02:00
Vladimir Agafonkin
507e6c7aa5
proper rounding of max bounds offsets
2013-11-14 17:52:31 +02:00
Vladimir Agafonkin
80607c6044
reimplement max bounds with proper zooming
2013-11-14 17:45:47 +02:00
Vladimir Agafonkin
e8f249e937
add max bounds outline to debug file for easier testing
2013-11-14 17:21:53 +02:00
Vladimir Agafonkin
be42f7a3b6
Merge branch 'patch-1' of https://github.com/kapouer/Leaflet into maxbounds
...
* 'patch-1' of https://github.com/kapouer/Leaflet :
test Map#setMaxBounds and Map#panInsideBounds
panInsideBounds: fit or center, pass options, remove boundsMinZoom
2013-11-14 14:13:45 +02:00
Vladimir Agafonkin
07e8198ef6
add shift-double-click to zoom out, close #2185
2013-11-13 22:13:39 +02:00
Vladimir Agafonkin
977fb99b6a
fix specs after messy merge
2013-11-13 21:56:48 +02:00
Vladimir Agafonkin
3618f404f5
Merge branch 'invalidateSize'
2013-11-13 21:50:02 +02:00
John Firebaugh
33263e537d
Add debounceMoveend option to invalidateSize
2013-11-13 10:53:34 -08:00
Vladimir Agafonkin
ba0fb35068
bring back zoom control size on mobile, cleanup
2013-11-13 19:49:44 +02:00
Vladimir Agafonkin
ea6095f259
more subtle border around controls on mobile, #1868
2013-11-13 18:53:12 +02:00
Vladimir Agafonkin
84a93374c4
drop -webkit prefix for border-radius (not relevant anymore)
2013-11-13 18:46:26 +02:00
Vladimir Agafonkin
f9e9a85e1f
subtle control improvements, remove leftover css
2013-11-13 18:45:03 +02:00
Vladimir Agafonkin
37dae858c6
update changelog [skip ci]
2013-11-13 17:48:42 +02:00
Vladimir Agafonkin
885dbb60bd
remove underline in attribution links #1868
2013-11-13 17:37:21 +02:00
Vladimir Agafonkin
6f83a385ee
remove controls text shadow for simplicity
2013-11-13 14:59:26 +02:00
Vladimir Agafonkin
d6f08ed21e
Remove text shadow on mobile, ref #2012
2013-11-13 14:03:12 +02:00
Vladimir Agafonkin
fc97965730
simplify and improve touch styles, close #1868 , close #2012
2013-11-13 14:00:17 +02:00
Vladimir Agafonkin
840be7a27a
fix maxNativeZoom on retina tile layer, close #1859 , ref #1798
2013-11-13 13:30:27 +02:00
Vladimir Agafonkin
9fc4e661d6
add multipoly openPopup, close #2046
2013-11-13 13:17:17 +02:00
Vladimir Agafonkin
db446f3e46
add leaflet-drag-target class to dragged elements, ref #2164 , #1902
2013-11-13 12:56:04 +02:00
Vladimir Agafonkin
1af0ec5ca2
Merge pull request #2183 from danzel/build-windows
...
Fix build script on windows.
2013-11-12 13:00:48 -08:00
Vladimir Agafonkin
c96384ef82
add Path className option
2013-11-12 22:57:21 +02:00
danzel
f89829ff85
Fix build script on windows.
2013-11-13 09:53:07 +13:00
Vladimir Agafonkin
c500d5ac1f
make className utils work for SVG elements in IE9, ref #2164
2013-11-12 18:52:13 +02:00
Vladimir Agafonkin
9babc039f0
use classList for class ops where available; ref #2164
...
makes it much faster, and also makes adding/removing classes work for
SVG elements
2013-11-12 17:50:45 +02:00
Vladimir Agafonkin
edfa2acb70
capital case for backface tile hack (just in case); add comment
2013-11-12 13:07:16 +02:00
Vladimir Agafonkin
3797ac3ce7
Fix tiles bluriness regression in Chrome, ref #2078
2013-11-12 00:52:03 +02:00
Vladimir Agafonkin
cef3c7bd85
better clarity for attribution text
2013-11-12 00:39:16 +02:00
Vladimir Agafonkin
6b8c2181f8
remove attrib and layers control shadows for cleaner look
2013-11-12 00:31:20 +02:00
John Firebaugh
248c5e7c8f
Don't delay moveend event on invalidateSize
...
This causes unnecessary nondeterminism in the sequence of
events emitted. Instead, the caller should be responsible for
throttling, as e.g. Map#_onResize does.
2013-11-11 14:02:00 -08:00
Vladimir Agafonkin
c7fde53627
Merge pull request #2178 from snkashis/attr_handle_existing
...
handle any existing tilelayers when adding attribution control
2013-11-10 11:10:52 -08:00
Steve Kashishian
d5383d24f7
handle any existing tilelayers when adding attribution control
2013-11-10 11:50:05 -06:00
Vladimir Agafonkin
0d249e34c6
add chrome launcher to karma config
2013-11-10 13:08:48 +02:00
Vladimir Agafonkin
8a8ae340b2
Merge pull request #2175 from vassilevsky/gh-pages
...
Fix grammar related to the word "milliseconds"
2013-11-09 00:17:19 -08:00
Ilya Vassilevsky
c2c9f30ae7
Fix grammar related to the word "milliseconds"
2013-11-09 10:30:22 +04:00
Vladimir Agafonkin
18be02fbba
Merge pull request #2174 from bmcbride/patch-1
...
Add link to mbutil script
2013-11-08 10:28:57 -08:00
Bryan McBride
c5b6100ef0
Add link to mbutil script
2013-11-08 12:59:27 -05:00
Vladimir Agafonkin
376e14d6d3
Merge pull request #2173 from bmcbride/patch-1
...
Misc. grammar fixes and link to mbtiles-php script
2013-11-08 09:48:39 -08:00
Bryan McBride
5c8c31c569
Misc. grammar fixes and link to mbtiles-php script
2013-11-08 12:41:59 -05:00
Vladimir Agafonkin
33aad1e8a6
fix OSM link in the FAQ
2013-11-08 18:24:50 +02:00
Vladimir Agafonkin
fdf6378539
Add a QA about fixing map data
2013-11-08 18:23:28 +02:00
Vladimir Agafonkin
689fbc1349
fix broken twitter link to dev workflow improvements
2013-11-08 18:16:19 +02:00
Vladimir Agafonkin
7175136cd7
update changelog with build improvements [skip ci]
2013-11-08 17:59:41 +02:00
Vladimir Agafonkin
244f9f39ce
improve and clean up build system, jshint specs in tests, close #2151
2013-11-08 17:55:58 +02:00
Vladimir Agafonkin
b224cd849b
update changelog regarding ie support [skip ci]
2013-11-08 16:55:43 +02:00
Vladimir Agafonkin
9edf8e0ea3
remove leaflet.ie.css inclusion in all debug pages
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
45181ce40b
move old IE styles to leaflet.css, ditch leaflet.ie.css, close #2159
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
2f8c959260
simplify & improve old IE styles, fix popup style
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
e45db4cd5b
drop ie6 png24 hack, drop Browser.ie6/7 props
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
698fb2e877
clean up css a bit, drop ie6-related hacks
2013-11-08 16:44:14 +02:00
Vladimir Agafonkin
60f5d46e53
Merge pull request #2171 from danzel/hack-2033
...
Fix layers control on firefox android
2013-11-07 16:45:39 -08:00
Vladimir Agafonkin
1548957135
improve 0.7 changelog structure [skip ci]
2013-11-08 02:11:29 +02:00
Vladimir Agafonkin
1af220e9cf
Update changelog [skip ci]
2013-11-08 02:05:58 +02:00
Vladimir Agafonkin
a5163bf55c
fix readme link
2013-11-08 01:49:41 +02:00
Vladimir Agafonkin
91c039b7aa
jshinting and major clean up of specs code, ref #2151
2013-11-07 23:54:33 +02:00
Vladimir Agafonkin
4f9e9a7c9a
update readme
2013-11-07 23:05:39 +02:00
Vladimir Agafonkin
db9b682f91
improve changelog for 0.7 [skip ci]
2013-11-07 22:49:06 +02:00
Vladimir Agafonkin
30e1e7eb55
fix build after #2167 fix
2013-11-07 21:46:50 +02:00
Vladimir Agafonkin
44d98afb6a
make Popup.setLatLng faster, fix #2167
2013-11-07 19:55:22 +02:00
Vladimir Agafonkin
908bc62f08
Merge pull request #2165 from rgripper/patch-1
...
an accidentally :) fixed typo
2013-11-07 01:55:27 -08:00
Vladimir Zotov
3ca464f95a
an accidentally :) fixed typo
2013-11-07 12:44:33 +03:00
John Firebaugh
dd063b26a1
Prefer selectstart to user-select
...
Rather than both setting user-select to none and suppressing the selectstart
event, we now prefer to suppress the selectstart event if supported. This avoids
redundantly setting the user-select style, which can be slow. Fixes #2163 .
2013-11-06 16:04:27 -08:00
Vladimir Agafonkin
04776b7ad8
fix tile filtering after #2160
2013-11-07 00:07:21 +02:00
Vladimir Agafonkin
e2977a1244
Merge pull request #2160 from perliedman/crs-size
...
Remove hardcoded world size from L.TileLayer
2013-11-06 14:03:30 -08:00
perliedman
37d303defb
Fixed whitespace
2013-11-06 23:00:21 +01:00
Vladimir Agafonkin
2464d13414
fix FeatureGroup e.layer empty in old IE, close #1938
2013-11-06 23:35:42 +02:00
Vladimir Agafonkin
b1c5aa2e29
fix problems with #1822 merge
2013-11-06 23:34:23 +02:00
Vladimir Agafonkin
838e714e92
update changelog [skip ci]
2013-11-06 23:23:04 +02:00
Vladimir Agafonkin
5d6641360b
merge GeoJSON altitude pull with some tweaks #1822
2013-11-06 23:17:14 +02:00
perliedman
63e84693ae
Fixed smart tabs
2013-11-06 21:55:33 +01:00
perliedman
8ae0e2700c
Generalized
2013-11-06 21:46:17 +01:00
perliedman
2a407b19ac
Merge branch 'master' of https://github.com/Leaflet/Leaflet into tilelayer-crs-controlled-wrap
2013-11-06 21:23:39 +01:00
Vladimir Agafonkin
ddbb01c3da
add distance to dragend event data, close #2158 , ref #872
2013-11-06 21:17:35 +02:00
Vladimir Agafonkin
ad65b5a77f
update deps
2013-11-06 21:11:53 +02:00
Vladimir Agafonkin
b7b87d759e
minor IE CSS cleanup
2013-11-06 20:58:48 +02:00
Vladimir Agafonkin
d7128dc365
update changelog [skip ci]
2013-11-06 19:38:08 +02:00
Vladimir Agafonkin
b5889a1902
Merge pull request #2156 from bennlich/patch-1
...
Updated description of L.Popup source arg
2013-11-05 21:06:30 -08:00
Benny Lichtner
00a8820b5b
Updated description of L.Popup source arg
...
https://github.com/Leaflet/Leaflet/issues/2146
2013-11-05 20:58:45 -08:00
Vladimir Agafonkin
bdeed1892d
Merge pull request #2152 from danzel/android-chrome
...
Fix tiles disappearing on chrome for android
2013-11-04 19:59:48 -08:00
danzel
27e903aa03
Fix tiles disappearing on chrome for android. Fixes #2078
2013-11-05 11:04:34 +13:00
danzel
b7a6f2aebe
Comment why this hack exists and improve it with @mourner code :)
2013-11-05 10:34:35 +13:00
Vladimir Agafonkin
77bd10c69d
Merge pull request #2149 from danzel/ios7-2122
...
Work around iOS7 memory trouble
2013-11-04 13:33:54 -08:00
danzel
fa35aba1e9
Improve this test and fix removeEventListener.
2013-11-05 10:29:52 +13:00
danzel
579c044c00
Fix a potential event bug due to bad cleanup.
2013-11-05 10:21:32 +13:00
danzel
65f3b2417a
We set the context value to context || this in addEventListener, so we don't need to do so here.
2013-11-05 10:15:21 +13:00
Vladimir Agafonkin
6c85f43fb2
fix CircleMarker getRadius, close #2016 , close #2017
2013-11-04 18:56:49 +02:00
Vladimir Agafonkin
bd3409f2f8
reverse axis order for wms 1.3 & EPSG4326, close #1897
2013-11-04 18:24:33 +02:00
Vladimir Agafonkin
5b40fade90
remove excessive updateContent on Popup add, close #2137
2013-11-04 13:27:48 +02:00
Vladimir Agafonkin
ec7baabccf
merge runner cleanup #2134
2013-11-04 13:18:24 +02:00
Vladimir Agafonkin
399e304bb2
minor cleanup
2013-11-04 13:15:15 +02:00
jacobtoye
254e6fe6b9
Refocus on the map when an input is clicked on the layers dialog. fixes #2148
2013-11-04 10:46:51 +13:00
jacobtoye
f133d9a1bd
Refocus on the map after a +/- button is clicked.
2013-11-04 10:39:04 +13:00
jacobtoye
112f4d6e02
Add method to controls to refocus on the map container.
2013-11-04 10:38:25 +13:00
danzel
9fce697982
Work around iOS7 memory trouble by not applying the contextId performance optimization when context==this. The optimization does nothing in this case anyway. Fixes #2122
2013-11-04 09:47:55 +13:00
Vladimir Agafonkin
90ce2ab951
Merge pull request #2136 from danzel/rtl
...
Correct rtl again
2013-11-03 08:23:03 -08:00
Vladimir Agafonkin
ef817744ee
Merge pull request #2145 from Leaflet/tileloadstart-gh
...
Document tileloadstart event
2013-11-01 11:23:35 -07:00
Tom MacWright
22f1c792a5
Document tileloadstart event
2013-11-01 14:21:41 -04:00
Vladimir Agafonkin
d79e8187b5
Merge pull request #2143 from calvinmetcalf/filegeodatabase
...
add file geodatabase plugin
2013-11-01 09:21:47 -07:00
Calvin Metcalf
63742ad6ba
add filegeodatabase plugin
2013-11-01 11:59:43 -04:00
Vladimir Agafonkin
0ecdcd79eb
Merge pull request #2142 from Leaflet/tileloadstart
...
Add tileloadstart event with tile data
2013-10-31 16:25:37 -07:00
Tom MacWright
427c9f1ed4
Fix build error, reference layer correctly.
2013-10-31 19:10:30 -04:00
Tom MacWright
ef44fbe17a
Add tileloadstart event with tile data
2013-10-31 18:53:24 -04:00
Vladimir Agafonkin
d51f46ea06
Merge pull request #2141 from Turbo87/patch-1
...
plugins: Added leaflet-sidebar project
2013-10-30 15:04:48 -07:00
Tobias Bieniek
f69ca7e617
plugins: Added leaflet-sidebar project
2013-10-30 22:00:14 +01:00
Vladimir Agafonkin
cc2b03f1e7
Merge pull request #2121 from jieter/util-template
...
Allow double quotes in template strings
2013-10-30 04:20:06 -07:00
danzel
80c48c5da7
Re-add ltr/rtl detection and make getMousePosition work correctly with rtl again when scrolled.
2013-10-30 14:32:18 +13:00
danzel
0c7e7eb373
Delete ltr/rtl code as its not needed any more, wtf?
2013-10-30 10:25:28 +13:00
danzel
b987f0c44b
Test pages for rtl support.
2013-10-30 10:22:19 +13:00
danzel
7b101da036
Hack fix for firefox android layers control. refs #2033
2013-10-30 09:04:20 +13:00
Jan Pieter Waagmeester
99bd248566
Whitespace OCD
2013-10-29 11:49:09 +01:00
Jan Pieter Waagmeester
a2b62b3bd2
Make Mocha ingore leaks, spaces -> tabs
2013-10-29 11:36:42 +01:00
Vladimir Agafonkin
dd22e3748d
update changelog [skip ci]
2013-10-28 15:16:40 +02:00
Vladimir Agafonkin
b1d5f0c800
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
* 'master' of https://github.com/Leaflet/Leaflet :
Fixing long line
Adding bounceAtZoomLimits option
The drag click avoid hack is needed for touch zooms on ie10 also, when releasing your fingers after a touch zoom click events are generated. Fixes #2094
Remove leftover code from the draggable/tap cleanup. Fixes #2103
Changed main module file to use un-minified version.
adding alt tag to marker icons
Fixing line too long error
Do not scale above minzoom and maxzoom in touch zoom action
2013-10-26 20:41:41 +03:00
Vladimir Agafonkin
be5774a40e
update dependencies
2013-10-26 20:41:30 +03:00
Vladimir Agafonkin
1aba51be01
Merge pull request #2072 from trevorpowell/master
...
Don't bounce near zoom limits on touch zoom
2013-10-24 12:12:57 -07:00
Trevor Powell
0574301113
Fixing long line
2013-10-24 13:34:17 -05:00
Trevor Powell
3b79dd816b
Adding bounceAtZoomLimits option
2013-10-24 13:26:52 -05:00
Dave Leaver
bc5131305b
Update reference.html
...
This is a layers control, not an attribution control.
2013-10-24 08:59:46 +13:00
Jan Pieter Waagmeester
4f6df67a85
Make Mocha ignore leaks properly and do some space -> tab replacement
2013-10-23 15:15:54 +02:00
Jan Pieter Waagmeester
a7f2d1975f
Allow double quotes in template strings fixes #2120
2013-10-23 15:14:59 +02:00
Vladimir Agafonkin
b0df9627b0
Merge pull request #2117 from danzel/fix-2094
...
Fix click events when touch zooming on ie 10
2013-10-23 04:36:51 -07:00
danzel
6855e7dfd8
The drag click avoid hack is needed for touch zooms on ie10 also, when releasing your fingers after a touch zoom click events are generated. Fixes #2094
2013-10-23 16:28:56 +13:00
Vladimir Agafonkin
1e328b424b
Merge pull request #2109 from icetan/patch-1
...
Changed main module file to use un-minified version.
2013-10-21 11:28:32 -07:00
Vladimir Agafonkin
929ea1fe71
Merge pull request #2112 from jimmytidey/master
...
adding alt tag to marker icons
2013-10-21 10:23:08 -07:00
Vladimir Agafonkin
6f681b20db
Merge pull request #2111 from danzel/fix-2103
...
Remove leftover code from the draggable/tap cleanup. Fixes #2103
2013-10-21 01:31:52 -07:00
danzel
91cc18503c
Remove leftover code from the draggable/tap cleanup. Fixes #2103
2013-10-21 11:38:19 +13:00
Christopher Fredén
5434e81c4e
Changed main module file to use un-minified version.
...
This makes the debugging process easier and also makes it possible to choose your own minifier when using browserify or similar bundlers.
2013-10-20 16:57:46 +02:00
Vladimir Agafonkin
f73becca22
fix broken IE detection in IE11 #2102
2013-10-18 20:15:14 +03:00
Vladimir Agafonkin
a8baeec367
add timestamp to geolocation data, #584
2013-10-18 18:47:04 +03:00
Vladimir Agafonkin
83fb3cc9dd
add Popup getContent, close #2100
2013-10-18 14:02:42 +03:00
Vladimir Agafonkin
c9d0abb02b
cleanup whitespace in #1197 , remove unnecessary if
2013-10-18 14:01:43 +03:00
Vladimir Agafonkin
676a76d4d5
Merge pull request #1197 from scottharvey/master
...
Adds the ability to get a popup once it's bound to a marker, this commit fixes issue #618
2013-10-18 04:00:38 -07:00
Vladimir Agafonkin
9d28dbb360
hopefully fix IE11/Win8.1 touch interaction, close #2102 (thanks @fnicollet)
...
#2103 may be related too
2013-10-18 12:55:50 +03:00
Vladimir Agafonkin
c3734e5a91
add maxZoom to Map fitBounds options, close #2101
2013-10-17 00:17:31 +03:00
Jimmy Tidey
5af47dddc2
adding alt tag to marker icons
2013-10-16 14:52:05 +01:00
Vladimir Agafonkin
03c49989f2
Merge pull request #2093 from dpiccone/patch-1
...
Update plugins.md
2013-10-14 12:37:10 -07:00
Vladimir Agafonkin
aa2d94f257
Merge pull request #2098 from AndreyGeonya/gh-pages-master
...
popup getLatLng method added to the reference
2013-10-14 12:28:21 -07:00
Vladimir Agafonkin
394f913434
Merge pull request #2097 from AndreyGeonya/master
...
popup getLatLng method added
2013-10-14 12:28:18 -07:00
Daniele Piccone
9514eec7ed
Update plugins.md
...
changed name to div-heatmap
2013-10-14 16:51:06 +02:00
AndreyGeonya
0a0a223e50
popup getLatLng method added to the reference
2013-10-14 17:26:35 +03:00
AndreyGeonya
31114669be
popup getLatLng method added
2013-10-14 17:09:04 +03:00
Jérémy Lal
d7bf010f0b
test Map#setMaxBounds and Map#panInsideBounds
2013-10-14 15:27:11 +02:00
Jérémy Lal
2974cacff4
panInsideBounds: fit or center, pass options, remove boundsMinZoom
...
Deltas are calculated on x, y pixel coordinates separately.
Options are propagated from setMaxBounds to panBy.
No panBy loops. Fixes #1908 .
2013-10-14 14:40:45 +02:00
Vladimir Agafonkin
1a3b150a2d
fix layers control not scrolling in FF, close #2029
...
and also add DomEvent disableScrollPropagation method
2013-10-14 13:29:23 +03:00
Vladimir Agafonkin
0f2da30607
Merge pull request #2095 from aparshin/polygon_setlatlngs
...
Add holes support to L.Polygon.setLatLngs(). Fixes #1518
2013-10-14 02:02:58 -07:00
Alexander Parshin
f5de36e229
Add holes support to L.Polygon.setLatLngs(). Fixes #1518
2013-10-13 20:17:12 +04:00
Daniele Piccone
e39886766f
Update plugins.md
...
I added the link to my version of a leaflet heatmap layer extending featureGroup suited for small and middle datasets https://github.com/dpiccone/leaflet-heatmap .
2013-10-12 10:44:29 +02:00
Vladimir Agafonkin
2629c181d0
fix firefox console warnings when animating markers, close #2090
2013-10-11 18:44:18 +03:00
Vladimir Agafonkin
79375fe2fa
Merge pull request #2088 from jieter/patch-1
...
Add Leaflet.layerscontrol-minimap
2013-10-11 03:24:41 -07:00
Jan Pieter Waagmeester
e88e01b609
Add Leaflet.layerscontrol-minimap
...
http://jieter.github.io/Leaflet.layerscontrol-minimap/
2013-10-11 11:01:46 +02:00
Dave Leaver
82a0e3b0fb
FAQ spelling
2013-10-11 08:43:02 +13:00
Vladimir Agafonkin
d68a80971b
Merge pull request #2066 from danzel/fix-2037-ie11touch
...
Support Pointer events as well as MsPointer Events
2013-10-10 12:36:56 -07:00
Vladimir Agafonkin
64b0e340c0
only animate tile layer if at least one tile loaded, fix #2071
2013-10-10 18:44:08 +03:00
danzel
a9627d63af
Fix lines too long issues
2013-10-10 15:27:23 +13:00
Vladimir Agafonkin
8a53afc34e
fix zoom control not always reflecting disabled state initially, close #2083
2013-10-09 22:21:04 +03:00
Vladimir Agafonkin
66507ee18e
FAQ formatting and fixes
2013-10-09 19:12:41 +03:00
Vladimir Agafonkin
0f62f95b88
fix typos, formatting
2013-10-09 16:15:06 +03:00
Vladimir Agafonkin
b194b6edbe
add the first draft of an official Leaflet FAQ
2013-10-09 16:05:55 +03:00
Vladimir Agafonkin
6e9549c57f
update changelog [skip ci]
2013-10-08 17:59:50 +03:00
Vladimir Agafonkin
361c9cab6d
fix isArray not working IE9 in rare cases, close #2077
2013-10-08 16:59:42 +03:00
Vladimir Agafonkin
8caf04f09c
fit incorrect closing tag, #2070
2013-10-07 22:50:47 +03:00
Vladimir Agafonkin
9b0510e55f
Merge pull request #2075 from kapouer/geojson-options
...
GeoJSON: pass options to geometryToLayer
2013-10-07 04:58:22 -07:00
Jérémy Lal
0fdb00be9e
GeoJSON: pass options to geometryToLayer
...
smoothFactor, noClip options cannot be changed otherwise.
In particular, smoothFactor: 0 is needed when one need to
render tiled polygons (or else small cuts appears).
2013-10-07 10:16:31 +02:00
Vladimir Agafonkin
ef93c384d5
Merge pull request #2073 from rgripper/patch-3
...
Fixed setPopupContent description
2013-10-06 05:25:39 -07:00
Trevor Powell
7a907ba2cf
Fixing line too long error
2013-10-06 01:39:01 -05:00
Trevor Powell
7541d64a71
Do not scale above minzoom and maxzoom in touch zoom action
2013-10-06 01:20:45 -05:00
Vladimir Zotov
d568667422
Fixed setPopupContent description
2013-10-06 01:44:17 +04:00
Vladimir Agafonkin
b7eead717c
Merge pull request #2070 from joergdietrich/patch-1
...
Add Leaflet.Terminator plugin to overlay section.
2013-10-05 10:46:15 -07:00
Jörg Dietrich
efd24f1d3a
Add Leaflet.Terminator plugin to overlay section.
2013-10-05 19:30:53 +02:00
Vladimir Agafonkin
97698287bc
Merge pull request #2069 from rgripper/patch-2
...
fixed return type
2013-10-04 13:11:34 -07:00
Vladimir Zotov
2fc9403708
fixed return type
2013-10-04 22:20:05 +04:00
danzel
6e3e0d9b14
Rename MsTouch to Pointer
2013-10-04 15:07:30 +13:00
danzel
bf3b660bef
Redo MsTouch to be pointer events with msPointer fallback for IE10. fixes #2037
2013-10-04 15:06:53 +13:00
Vladimir Agafonkin
2250cee6ec
allow setZoom before setView, make setView zoom optional, close #2056 , close #1449
2013-09-30 15:00:46 +03:00
Vladimir Agafonkin
ad5accc63f
Merge pull request #2051 from elesdoar/patch-1
...
Add Plugin Control Order Layers
2013-09-28 06:17:51 -07:00
Michael Salgado
986745d46c
Add Plugin Control Order Layers
...
Adds the ability to change overlay order in the layers control
2013-09-26 16:30:47 -05:00
Michael Salgado
6a60c0f791
Add Plugin Control Order Layers
...
Add support to control layers for reorder overlays.
2013-09-26 15:38:49 -05:00
Ben Welsh
1589ae2fb7
Added simple docs for lineJoin and lineCap settings on a path
2013-09-26 13:14:02 -07:00
Vladimir Agafonkin
68bc39a1a8
update dev deps
2013-09-26 11:21:45 +03:00
Vladimir Agafonkin
949e0c1278
Merge pull request #2045 from leplatrem/patch-11
...
Add Leaflet.AlmostOver plugin
2013-09-24 14:08:36 -07:00
Mathieu Leplatre
cdd179a427
Add Leaflet.AlmostOver plugin
2013-09-24 17:49:36 +02:00
Vladimir Agafonkin
7f2f1d4c3d
Merge pull request #2042 from emikhalev/gh-pages
...
Add Leaflet-2gis plugin
2013-09-24 05:31:48 -07:00
Eugene Mikhalev
5a40ba5ad3
Update plugins.md
...
description of Leaflet-2gis
2013-09-24 19:03:04 +07:00
Eugene Mikhalev
2518fee82a
Add Leaflet-2gis plugin
2013-09-24 17:00:32 +07:00
perliedman
3bcc1c9a3a
Use CRS's bounds to calculate wrap
2013-09-23 09:59:10 +02:00
perliedman
b782498650
Added getBounds function to CRS
2013-09-23 09:58:42 +02:00
Vladimir Agafonkin
00c5a2ab72
Merge pull request #2040 from rgripper/patch-1
...
Update reference.html
2013-09-21 05:33:40 -07:00
Vladimir Zotov
6057d3419c
Update reference.html
...
changed invalid signature of `invalidateSize`
L.Control.Scale extends L.Control, not IControl
2013-09-21 13:53:10 +04:00
Vladimir Agafonkin
65d83348fc
Merge pull request #2035 from kr1/patch-1
...
would you add Leaflet.dbpediaLayer to the plugin list?
2013-09-19 02:51:24 -07:00
kr1
0d443e3f78
adds Leaflet.dbpediaLayer to plugin list
...
puts the plugin in the "Services, Providers and Formats" section.
2013-09-19 04:26:46 +02:00
Vladimir Agafonkin
74a5b4dba7
Merge pull request #2032 from Leaflet/featuregroup-check
...
Add support for layers lacking Events mixin. Fixes #1962
2013-09-17 14:50:47 -07:00
Tom MacWright
befc5eb992
Add support for layers lacking Events mixin. Fixes #1962
2013-09-17 17:36:05 -04:00
Vladimir Agafonkin
6c77fe64c2
fix IE6-8 throwing error on map.remove(), close #2015
2013-09-13 18:14:05 +03:00
Vladimir Agafonkin
4b34362405
add public Popup update method, close #1959
2013-09-13 18:00:54 +03:00
Vladimir Agafonkin
fd86dea4c2
fix incorrect scale control on pages with border-box-sizing, close #2006
2013-09-13 17:51:11 +03:00
Vladimir Agafonkin
5841579bb8
Merge pull request #2025 from Gnurfos/issue-1915
...
Accept simple objects in L.latLngBounds(). Fixes #1915 .
2013-09-13 02:14:03 -07:00
Vladimir Agafonkin
204bc7ed72
update changelog [skip ci]
2013-09-13 12:12:16 +03:00
Seb Emonet
16f9c9a302
Accept simple objects in L.latLngBounds(). Fixes #1915 .
2013-09-13 00:22:19 +02:00
Vladimir Agafonkin
a086b336b2
fix images 404 warnings in specs
2013-09-12 13:14:00 +03:00
Vladimir Agafonkin
f04527b308
update karma config to work on version 0.10
2013-09-12 13:13:49 +03:00
Vladimir Agafonkin
1b8f5c6ece
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
* 'master' of https://github.com/Leaflet/Leaflet :
Add test specifications for CRS classes.
Fixing wrong EPGS3395 transformation
Renamed Tooltip to Title
Again some whitespace removing. (Travis)
Code style adjusted for travis.
Localization Support for Zoom Control
2013-09-12 10:42:54 +03:00
Vladimir Agafonkin
c8abb53133
update dependencies
2013-09-12 10:42:43 +03:00
Vladimir Agafonkin
904cd78e2f
Merge pull request #2020 from aparshin/crs3395
...
Wrong transformation in CRS EPSG3395
2013-09-10 02:08:13 -07:00
Alexander Parshin
df320c3b06
Add test specifications for CRS classes.
2013-09-10 11:40:48 +04:00
Alexander Parshin
d10cff3357
Fixing wrong EPGS3395 transformation
2013-09-10 10:47:52 +04:00
Vladimir Agafonkin
96575af5b5
Merge pull request #1953 from Danielku15/patch-1
...
Localization Support for Zoom Control
2013-09-09 01:50:27 -07:00
Vladimir Agafonkin
f91d2d82da
update happen and references to it to fix build, hello @tmcw
2013-09-09 11:47:09 +03:00
Sagie Maoz
24b1f252a1
Undo (accidental) removal of 'Point'
2013-09-03 16:52:13 +03:00
Sagie Maoz
da083da135
Describe new autoPanPadding{TopLeft,BottomRight} Popup options
...
Options were added in #1972 .
2013-09-03 16:40:35 +03:00
Vladimir Agafonkin
12778e0884
Merge pull request #2007 from leplatrem/patch-9
...
Add Leaflet.OverIntent plugin
2013-09-03 03:27:11 -07:00
Mathieu Leplatre
1e22eef01a
Add Leaflet.OverIntent plugin
2013-09-03 12:19:25 +02:00
Daniel
037048a6d0
Renamed Tooltip to Title
2013-09-02 02:34:41 +02:00
Vladimir Agafonkin
3d5dbe7dfc
fix accidentally commented out fix, #1980
2013-08-29 00:51:00 +03:00
Vladimir Agafonkin
9e0c62a36b
Merge pull request #2002 from danzel/master
...
MsTouch needs preventDefault
2013-08-28 14:48:04 -07:00
danzel
dbced20543
MsTouch needs preventDefault. Fixes #2000
2013-08-29 09:22:36 +12:00
Vladimir Agafonkin
62b23b42e0
fix resize tracking on multiple maps, close #1980
2013-08-28 17:56:43 +03:00
Vladimir Agafonkin
b4dcbb3786
update changelog [skip ci]
2013-08-28 13:52:07 +03:00
Vladimir Agafonkin
7e88e3d963
Merge pull request #1999 from leplatrem/patch-8
...
Add Leaflet.MeasureControl
2013-08-28 03:25:35 -07:00
Mathieu Leplatre
230ee48dcb
Add Leaflet.MeasureControl
2013-08-28 12:23:14 +02:00
Vladimir Agafonkin
5e30c51f85
add GeoJSON rountripping of GeometryCollection and MultiPoint, close #1956
2013-08-28 12:43:04 +03:00
Vladimir Agafonkin
40ef71dc4c
minor cleanup
2013-08-27 22:06:13 +03:00
Vladimir Agafonkin
21d8bde0b7
fix tempate interpolation test and build
2013-08-27 22:06:01 +03:00
Vladimir Agafonkin
d0f768ba36
clean up template interpolation code #1969
2013-08-27 21:45:13 +03:00
Vladimir Agafonkin
1581a94fc3
Merge branch 'interpolation' of https://github.com/calvinmetcalf/Leaflet
...
* 'interpolation' of https://github.com/calvinmetcalf/Leaflet :
'#1968 compiled interpolation'
2013-08-27 21:28:38 +03:00
Calvin Metcalf
b2b25c8941
' #1968 compiled interpolation'
2013-08-27 13:03:07 -04:00
Vladimir Agafonkin
b0699b1fe3
Merge pull request #1972 from albburtsev/issue-1588
...
Adds Popup autoPanPadding(TopLeft & BottomRight) options. Fixes #1588
2013-08-27 06:14:31 -07:00
Vladimir Agafonkin
d581a0e0cc
Merge pull request #1998 from aratcliffe/gh-pages
...
Add context menu plugin
2013-08-27 00:45:08 -07:00
Adam Ratcliffe
702ed96e75
Add context menu plugin
2013-08-27 12:33:38 +12:00
Vladimir Agafonkin
d561010985
Merge pull request #1994 from pwldp/patch-1
...
Update plugins.md
2013-08-25 10:23:21 -07:00
pwldp
4eaa3ac47e
Update plugins.md
2013-08-23 13:57:30 +02:00
Vladimir Agafonkin
ed9a577920
Merge pull request #1989 from MazeMap/ipad-tagname-fix
...
Ipad tagname fix
2013-08-21 13:16:12 -07:00
Dag Jomar Mersland
5180cce838
check for undefined el.tagName prevents iPad error
2013-08-21 13:30:10 +02:00
Dag Jomar Mersland
8ccb7e0583
Merge pull request #1 from Leaflet/master
...
Update Mazemap:master from Leaflet:master
2013-08-21 04:24:10 -07:00
Vladimir Agafonkin
14d934b639
Merge pull request #1963 from fastrde/fixSecondClickPopupIssue
...
Fix second click popup issue (#1925 )
2013-08-20 10:04:33 -07:00
Fabian Strachanski
caece94467
added _skipped(e) to stopPropagation to reset _fakeStop
2013-08-20 17:21:13 +02:00
Vladimir Agafonkin
2db6df8209
Merge pull request #1984 from MazeMap/ipad-label-click-fix
...
Fix for iPad, where el.tagName was undefined when clicking on labels.
2013-08-19 08:49:03 -07:00
Dag Jomar Mersland
d78fb49943
Fix for iPad, where el.tagName was undefined when clicking on labels.
2013-08-19 10:14:36 +02:00
Vladimir Agafonkin
1f6533d0f5
Merge pull request #1982 from fastrde/FixworldCopyJump
...
Fix worldCopyJump set Center and Zoom first
2013-08-18 01:21:31 -07:00
fastrde
a8a8ebe309
added a spec test for worldCopyJump set Center and Zoom fix #1982
2013-08-18 03:18:21 +02:00
fastrde
21a282d38b
Test for dragging and worldCopyJump added
2013-08-17 13:20:12 +02:00
fastrde
b4ed2bf282
map.once doesn't get called when the map is already initailized and drag.enabled is called.
2013-08-17 12:13:47 +02:00
fastrde
3370942b36
call _onViewReset() not until map is loaded (center and zoom are set)
2013-08-17 02:08:24 +02:00
Vladimir Agafonkin
b48f91890a
Merge pull request #1981 from fastrde/fixFirefoxZoomIn
...
Added Keycode 171 to support zoomIn Firefox 22 & 23
2013-08-16 16:28:22 -07:00
fastrde
5ca4034939
Merge remote-tracking branch 'upstream/master'
2013-08-17 01:14:43 +02:00
fastrde
5eacbbf105
Added Keycode 171 to support Firefox 22
2013-08-17 00:38:51 +02:00
Vladimir Agafonkin
987f5da23b
Merge pull request #1973 from yohanboniface/popupHandlersAdded
...
Use this._popupHandlersAdded to manage Marker popup event
2013-08-15 02:38:46 -07:00
Yohan Boniface
c7eac791b2
Use this._popupHandlersAdded to manage Marker popup event
...
Just like it's done in Path. This allows to cut event management on bindPopup
2013-08-15 00:16:58 +02:00
Alexander Burtsev
157500818e
Adds Popup autoPanPadding(TopLeft & BottomRight) options. Fixes #1588
2013-08-14 17:57:48 +04:00
fastrde
d1c724530d
Merge remote-tracking branch 'upstream/master'
2013-08-09 15:22:01 +02:00
Vladimir Agafonkin
4609d482f2
some tweaks to #1951
2013-08-09 14:00:44 +03:00
Vladimir Agafonkin
30f33766dd
Merge branch 'zoomboxOnClickFix' of https://github.com/fastrde/Leaflet
...
* 'zoomboxOnClickFix' of https://github.com/fastrde/Leaflet :
Fix for zoomBox fires map click Event (Issue #1884 )
2013-08-09 13:21:26 +03:00
Vladimir Agafonkin
bc8d99e121
Merge pull request #1958 from stsydow/master
...
Add attribution and update function to ImageOverlay [for master]
2013-08-09 01:52:27 -07:00
Stefan Sydow
1b584afc49
remove tailing spaces for jake build
2013-08-09 09:28:08 +02:00
Stefan Sydow
10c1af4f41
more consistent method name for ImageOverlay update
2013-08-09 09:25:04 +02:00
Stefan Sydow
e5a129a59f
add attribution and update function
2013-08-09 09:24:52 +02:00
Vladimir Agafonkin
ce41fef1e1
Merge pull request #1954 from calvinmetcalf/shapefile-plugin
...
Shapefile plugin
2013-08-08 10:13:48 -07:00
Calvin Metcalf
a762331356
shapefile plugin
2013-08-08 13:03:16 -04:00
Daniel
9630876ce3
Again some whitespace removing. (Travis)
2013-08-08 17:29:09 +02:00
Daniel
4f2f1edb04
Code style adjusted for travis.
2013-08-08 17:11:34 +02:00
Daniel
15da339bbe
Localization Support for Zoom Control
2013-08-08 16:16:59 +02:00
fastrde
c4ad486d16
Merge branch 'fixNoShiftClickAfterDrag'
2013-08-08 15:54:44 +02:00
Vladimir Agafonkin
198d6803a0
Merge pull request #1952 from fastrde/fixNoShiftClickAfterDrag
...
fixes shift clicking Issue described in (Issue #1950 )
2013-08-08 06:51:12 -07:00
fastrde
5de0be072a
moved this._moved = false to the top of _onDown to fix an Issue von shift-click after dragging
2013-08-08 15:32:48 +02:00
fastrde
c1e64c2479
Fix for zoomBox fires map click Event (Issue #1884 )
2013-08-08 15:15:39 +02:00
Vladimir Agafonkin
46e3143253
Merge pull request #1923 from aratcliffe/gh-pages
...
Submit Leaflet.print plugin
2013-08-07 07:19:49 -07:00
Vladimir Agafonkin
6f8c9e7742
Merge pull request #1944 from kekscom/gh-pages
...
Updated plugins.md for correct OSM Buildings url
2013-08-06 16:35:46 -07:00
Jan Marsch
9ed6d487fe
Updated plugins.md for correct OSM Buildings url
2013-08-07 00:42:35 +02:00
Vladimir Agafonkin
fd4855bf24
Merge pull request #1942 from tohaocean/master
...
Marker improvement
2013-08-06 13:42:35 -07:00
Anton Borodatov
b66dd9dfc3
Marker should fire 'add' event like geometry Path and any object utilizing Ilayer
2013-08-06 22:23:32 +03:00
John Firebaugh
65a311a822
Return this even when short-circuiting
2013-08-06 10:27:27 -07:00
Vladimir Agafonkin
9113a33908
update changelog more [skip ci]
2013-08-06 12:46:07 +03:00
Vladimir Agafonkin
e18b7eded6
Merge pull request #1931 from russelldavis/fix-invalidate-size
...
Fix rounding issues in Map::invalidateSize
2013-08-06 02:43:40 -07:00
Vladimir Agafonkin
241d611c7b
Merge pull request #1932 from ubergesundheit/patch-1
...
Addition of Leaflet.EdgeMarker Plugin
2013-08-06 02:39:14 -07:00
Vladimir Agafonkin
c783dd8c86
update changelog
2013-08-06 12:10:52 +03:00
Vladimir Agafonkin
8611e22005
Merge pull request #1939 from jfirebaugh/zoom
...
Support center-oriented scroll/double-click zoom
2013-08-06 01:55:08 -07:00
Vladimir Agafonkin
4c059f7b93
Merge pull request #1940 from jfirebaugh/1919
...
Invalidate _initialCenter along with size (fixes #1919 )
2013-08-05 14:28:42 -07:00
John Firebaugh
a0c6363bb6
Invalidate _initialCenter along with size ( fixes #1919 )
2013-08-05 14:09:09 -07:00
Vladimir Agafonkin
bff8bef479
Merge pull request #1937 from ebrelsford/gh-pages
...
Add Leaflet.loading control
2013-08-05 14:00:31 -07:00
John Firebaugh
4fdf76ee90
Support center-oriented scroll/double-click zoom
2013-08-05 12:29:55 -07:00
Eric Brelsford
c40940874d
Add Leaflet.loading control
2013-08-05 11:44:33 -04:00
Vladimir Agafonkin
0f12e4b316
Merge pull request #1936 from glenrobertson/patch-1
...
Removed JQuery dependency note from TileLayer.GeoJSON plugin.
2013-08-04 14:16:58 -07:00
Glen Robertson
4a71f3163c
Removed JQuery dependency note from TileLayer.GeoJSON plugin.
2013-08-05 08:43:30 +12:00
Ubergesundheit
74e4f399e6
Addition of Leaflet.EdgeMarker Plugin
2013-08-03 17:02:31 +02:00
Russell Davis
f568768142
Fix rounding issues in Map::invalidateSize
2013-08-01 23:14:11 -07:00
Vladimir Agafonkin
16db077b2a
Merge pull request #1928 from scooterw/get_mouse_position_fix
...
Make container optional in L.DomUtil.getMousePosition(). Addresses #1926
2013-07-31 23:50:10 -07:00
Scooter Wadsworth
ea044c8312
Make container optional in L.DomUtil.getMousePosition(). Addresses #1926
2013-08-01 00:15:53 -04:00
Vladimir Agafonkin
c311fc967d
Merge pull request #1927 from snkashis/circlemarker_popup
...
update a circlemarker's popup positioning when using setLatLng.
2013-07-31 12:04:22 -07:00
Steve Kashishian
e5bf57c4f7
move a circlemarker's popup with each new position.
2013-07-31 14:40:13 -04:00
Adam Ratcliffe
20ba826f75
Add Leaflet.print plugin
2013-07-31 12:44:02 +12:00
Vladimir Agafonkin
b313165cca
Merge pull request #1918 from snkashis/empty_interior_ring
...
Throw invalid GeoJSON error on Polygon with an empty interior
2013-07-29 12:17:16 -07:00
Steve Kashishian
b36a79d386
Throw invalid GeoJSON error on Polygon with an empty interior
2013-07-29 14:56:29 -04:00
Vladimir Agafonkin
30988decff
Merge pull request #1916 from snkashis/drag_classes
...
Provide css classes for draggable markers, and in-progress drags.
2013-07-29 08:48:25 -07:00
Steve Kashishian
1d3980b563
Provide css classes for draggable markers, and in-progress drags.
2013-07-29 11:39:54 -04:00
Vladimir Agafonkin
ba7a7f58cb
Merge pull request #1891 from snkashis/seticon_and_popups
...
Rebind popup when using setIcon to ensure proper anchor placement
2013-07-28 23:58:50 -07:00
Vladimir Agafonkin
c05f290a1c
Merge pull request #1911 from hallahan/gh-pages
...
Submit LeafletPlayback plug-in
2013-07-27 02:41:04 -07:00
Nicholas Hallahan
e6a9414567
Submit LeafletPlayback plug-in
2013-07-26 12:36:24 -07:00
Vladimir Agafonkin
59e31f8c01
Merge pull request #1909 from alubchuk/master
...
add CircleMarker as dependency of GeoJSON
2013-07-26 06:56:55 -07:00
a.lubchuk
2780ed6c6d
add CircleMarker as dependency of GeoJSON
2013-07-26 16:28:51 +03:00
Vladimir Agafonkin
6db592b5da
bump master version to 0.7-dev, close #1906
2013-07-25 22:43:11 +03:00
Vladimir Agafonkin
d4f515137e
add notes about 0.6 updates to blog post
2013-07-25 13:16:40 +03:00
Vladimir Agafonkin
e3cd252d2d
update links to 0.6.4
2013-07-25 13:15:13 +03:00
Vladimir Agafonkin
985dd00c89
update build to 0.6.4
2013-07-25 13:15:06 +03:00
Vladimir Agafonkin
ba953470ee
Merge branch 'stable' into gh-pages
...
* stable:
bump version
fix map scrolling right on click with horizontal scroll on page, close #1901
fix infinite loop in getBounds and setMaxBounds, close #1895 , close #1866
2013-07-25 13:13:54 +03:00
Vladimir Agafonkin
3a8cff69e4
bump version
2013-07-25 13:10:35 +03:00
Vladimir Agafonkin
0ce0b0d30f
update changelog [skip ci]
2013-07-25 13:09:39 +03:00
Vladimir Agafonkin
8248c6b1d0
fix map scrolling right on click with horizontal scroll on page, close #1901
2013-07-25 13:05:21 +03:00
Vladimir Agafonkin
b73ed6afb8
fix infinite loop in getBounds and setMaxBounds, close #1895 , close #1866
2013-07-25 13:04:58 +03:00
Vladimir Agafonkin
8d925b6acb
fix map scrolling right on click with horizontal scroll on page, close #1901
2013-07-25 12:49:16 +03:00
Vladimir Agafonkin
7c744d06e6
add getMinZoom test for #1866
...
[skip ci]
2013-07-25 12:44:55 +03:00
Vladimir Agafonkin
42a78fd867
fix infinite loop in getBounds and setMaxBounds, close #1895 , close #1866
2013-07-25 12:42:13 +03:00
Steve Kashishian
e4c801a514
rebind popup when using setIcon to ensure proper popup anchor placement
2013-07-19 20:30:05 -05:00
Vladimir Agafonkin
46665c17fa
Merge pull request #1888 from yohanboniface/cursor_pointer
...
Cursor pointer
2013-07-19 12:03:30 -07:00
Yohan Boniface
98c5e7ab84
[reference.html] Add cursor=pointer to anchor icon (cf #1867 )
2013-07-19 19:17:25 +02:00
Tom MacWright
ecec4c1909
Fix #1867
2013-07-19 12:37:40 -04:00
Vladimir Agafonkin
43d21a6b89
Merge pull request #1887 from heyman/gh-pages
...
Added leaflet-usermarker to list of plugins
2013-07-19 08:56:35 -07:00
Jonatan Heyman
3bff3c3edd
Added leaflet-usermarker to list of plugins
2013-07-19 17:47:23 +02:00
Vladimir Agafonkin
c1bc83bdf1
Merge pull request #1881 from datadesk/linecap-camelcase
...
Corrected camelcasing of lineCap and lineJoin.
2013-07-18 06:59:10 -07:00
palewire
ede3aebf6a
Corrected camelcasing of lineCap and lineJoin.
2013-07-18 06:56:42 -07:00
Vladimir Agafonkin
e7ebb60133
rename to lineCap and lineJoin, #1863 , close #1843
2013-07-18 14:54:43 +03:00
Vladimir Agafonkin
101d0df5f7
Merge pull request #1863 from datadesk/linecap
...
New stroke-linecap and stroke-linejoin style options with VML alternatives. For #1843 .
2013-07-18 04:51:18 -07:00
David\ Beitey
189914f750
Update documentation regarding addition of options to panInsideBounds and setMaxBounds. Refs #1879
2013-07-18 13:56:07 +10:00
Vladimir Agafonkin
460ffba599
remove link to stable branch dev
2013-07-17 19:52:27 +03:00
Vladimir Agafonkin
15ef81eaed
Merge branch 'gh-pages' of https://github.com/Leaflet/Leaflet into gh-pages
...
# By David Beitey
# Via David Beitey (1) and Vladimir Agafonkin (1)
* 'gh-pages' of https://github.com/Leaflet/Leaflet :
Document changes to setMaxBounds method as per #1834
2013-07-17 19:51:39 +03:00
Vladimir Agafonkin
c1c42c2611
update download links to 0.6.3
2013-07-17 19:51:34 +03:00
Vladimir Agafonkin
2325001ee4
remove builds from gitignore and add fresh ones
2013-07-17 19:50:04 +03:00
Vladimir Agafonkin
513998c3f3
merge stable
2013-07-17 19:49:10 +03:00
Vladimir Agafonkin
d3c34851fd
Merge pull request #1835 from davidjb/gh-pages
...
Document changes to setMaxBounds method as per #1834
2013-07-17 09:47:56 -07:00
Vladimir Agafonkin
e9f354053b
forgot to bump version in the source
2013-07-17 19:42:46 +03:00
Vladimir Agafonkin
b954b4c58c
Merge branch 'master' into stable
...
* master:
update changelog and bump version to 0.6.3
avoid vector flickering on Mac Safari more often, #902
fix touch styles for leaflet-bar class
Fix scrolling popup content on Firefox
Upload individual asset artifacts
Try fixing Travis not building pull requests
2013-07-17 19:39:33 +03:00
Vladimir Agafonkin
24b752a281
update changelog and bump version to 0.6.3
2013-07-17 19:38:39 +03:00
Vladimir Agafonkin
756e9b854c
avoid vector flickering on Mac Safari more often, #902
2013-07-17 19:28:24 +03:00
Vladimir Agafonkin
5f36e714c6
fix touch styles for leaflet-bar class
2013-07-17 19:28:24 +03:00
Vladimir Agafonkin
75b5392bb7
Merge pull request #1875 from yohanboniface/gh-pages
...
Suggestion to add Leaflet.TileLegend to plugins list
2013-07-17 02:28:27 -07:00
Yohan Boniface
9242e93363
Suggestion to add Leaflet.TileLegend to plugins list
2013-07-17 11:23:14 +02:00
Vladimir Agafonkin
0d22bb5c67
Merge pull request #1861 from Leaflet/asset-artifacts
...
Upload individual asset artifacts
2013-07-15 11:56:48 -07:00
John Firebaugh
7623e0a593
Fix scrolling popup content on Firefox
2013-07-15 11:32:40 -07:00
John Firebaugh
1f70302652
Upload individual asset artifacts
2013-07-15 09:10:40 -07:00
palewire
bc5a9f930a
Merge branch 'linecap' of github.com:datadesk/Leaflet into linecap
2013-07-12 22:53:03 -07:00
palewire
a2c987febc
New stroke-linejoin style option with a VML alternative. For #1843 .
2013-07-12 22:52:32 -07:00
palewire
2ea93191bc
New stroke-linejoin style option with a VML alternative. For #1843 .
2013-07-12 22:49:26 -07:00
palewire
665a956bc2
New stroke-linecap style option with a VML alternative. For #1643 .
2013-07-12 22:37:30 -07:00
Vladimir Agafonkin
26093848ed
Try fixing Travis not building pull requests
2013-07-13 00:42:24 +03:00
Vladimir Agafonkin
02bb22d7e3
Merge branch 'master' into stable
...
* master:
update changelog
fix Map min/maxZoom not overriding TileLayer-derived min/max, close #1848
2013-07-12 15:22:54 +03:00
Vladimir Agafonkin
f8f729ad66
update changelog
2013-07-12 15:22:45 +03:00
Vladimir Agafonkin
75c133082c
fix Map min/maxZoom not overriding TileLayer-derived min/max, close #1848
2013-07-12 15:05:59 +03:00
Vladimir Agafonkin
fcd656d6bc
Merge branch 'master' into stable
...
* master:
break line to fix jshint
fix fakeStop in IE<9, close #1850 hopefully
better formatting in travis.yml
put travis sciprts as one line for and conditions to work
Add a few more featuregroup tests and fix regression of removeLayer.
don't do travis artifacts stuff for pull req branches
PosAnimation tests
Stop animation if can't get position from current style
do not animate zoom if nothing to animate yet, close #1484 , close #1845
Stop transition if element is outside fo the DOM
2013-07-12 14:29:33 +03:00
Vladimir Agafonkin
a4c6c03550
break line to fix jshint
2013-07-12 12:46:10 +03:00
Vladimir Agafonkin
5c1a34979e
fix fakeStop in IE<9, close #1850 hopefully
2013-07-12 12:41:08 +03:00
Vladimir Agafonkin
fc9d4077cf
Merge pull request #1858 from danzel/fix-featuregroup-removelayer
...
Add a few more featuregroup tests and fix regression of removeLayer.
2013-07-12 02:39:24 -07:00
Vladimir Agafonkin
fb3c38177c
better formatting in travis.yml
...
[skip ci]
2013-07-12 12:17:21 +03:00
Vladimir Agafonkin
cb86fdeab9
put travis sciprts as one line for and conditions to work
2013-07-12 10:40:48 +03:00
danzel
ec3b9e0ff2
Add a few more featuregroup tests and fix regression of removeLayer.
2013-07-12 10:13:25 +12:00
Vladimir Agafonkin
810ecadb4e
don't do travis artifacts stuff for pull req branches
2013-07-12 00:44:57 +03:00
Vladimir Agafonkin
0de87fa6ba
Merge pull request #1856 from rutkovsky/disable_animations_outside_dom
...
Disable animations outside dom
2013-07-11 13:29:09 -07:00
Aaron Rutkovsky
0e34b8caf2
PosAnimation tests
2013-07-11 12:30:15 -05:00
Aaron Rutkovsky
24ebb66f40
Stop animation if can't get position from current style
2013-07-11 11:27:57 -05:00
Aaron Rutkovsky
b3b06eaabc
Merge branch 'master' into disable_animations_outside_dom
2013-07-11 10:29:36 -05:00
Vladimir Agafonkin
5829963014
do not animate zoom if nothing to animate yet, close #1484 , close #1845
2013-07-11 15:59:13 +03:00
Vladimir Agafonkin
c62d7d829f
Merge branch 'master' into stable
...
* master:
add multipoly getLatLngs, close #1839 , update changelog
2013-07-11 15:11:37 +03:00
Vladimir Agafonkin
a24a772694
add multipoly getLatLngs, close #1839 , update changelog
2013-07-11 15:11:28 +03:00
Vladimir Agafonkin
43396d74f6
Merge pull request #1854 from calvinmetcalf/providers-desc
...
update providers description
2013-07-11 05:07:20 -07:00
Calvin Metcalf
dc9dbfd7a6
update providers description
2013-07-11 08:03:31 -04:00
Vladimir Agafonkin
d5c0812a9d
Merge branch 'master' into stable
...
* master:
update changelog
Allow options to be passed to Map.setMaxBounds such that they can be used when setting the view.
2013-07-11 13:03:55 +03:00
Vladimir Agafonkin
183c8a2cb7
merge #1834 (passing options to setMaxBounds)
2013-07-11 13:03:41 +03:00
Vladimir Agafonkin
219b8bdad0
update changelog
2013-07-11 13:01:06 +03:00
Vladimir Agafonkin
bec733df98
Merge branch 'master' into stable
...
* master:
fixed false FeatureGroup layerremove, close #1847
Update Marker.js
2013-07-11 12:58:54 +03:00
Vladimir Agafonkin
889136fe84
fixed false FeatureGroup layerremove, close #1847
2013-07-11 12:57:05 +03:00
Vladimir Agafonkin
c4877fb86f
Merge pull request #1851 from freepius44/patch-1
...
Update setOpacity() in Marker.js
2013-07-10 11:45:19 -07:00
Poisbeau Mathieu
bde6b34502
Update Marker.js
...
According to the Leaflet documentation, setOpacity must return "this".
2013-07-10 19:00:11 +02:00
Vladimir Agafonkin
8ca360df51
Merge branch 'master' into stable
...
* master:
fix marker shadow not zoom animating after setIcon, close #1768
2013-07-10 19:35:37 +03:00
Vladimir Agafonkin
001f975b22
fix marker shadow not zoom animating after setIcon, close #1768
2013-07-10 19:34:51 +03:00
Vladimir Agafonkin
2fddd6e2bb
Merge branch 'master' into stable
...
* master:
fix geojson not accepting geometry arrays, close #1840
2013-07-10 19:21:57 +03:00
Vladimir Agafonkin
1781cda04a
fix geojson not accepting geometry arrays, close #1840
2013-07-10 19:21:39 +03:00
Vladimir Agafonkin
64a4df207e
bump version
2013-07-10 17:24:27 +03:00
Vladimir Agafonkin
e04fd2bd52
merge master (removing built files)
2013-07-10 17:24:06 +03:00
Vladimir Agafonkin
1f6b981aab
don't install travis-artifacts for minor branches and PRs
2013-07-10 17:21:33 +03:00
Vladimir Agafonkin
d140dca57c
remove build JS in dist, update readme, close #1354
2013-07-10 17:18:59 +03:00
Vladimir Agafonkin
2e9cb136b2
update download links according to #1354
2013-07-10 17:13:39 +03:00
Vladimir Agafonkin
16c0d4a391
update links to latest stable in quick start
2013-07-10 16:58:53 +03:00
Vladimir Agafonkin
18b3f3a47d
Merge branch 'master' into stable
...
* master:
add leaflet prefix to travis build archives, fix .DS_Store inclusion
2013-07-10 16:53:22 +03:00
Vladimir Agafonkin
4759fdbf36
add leaflet prefix to travis build archives, fix .DS_Store inclusion
2013-07-10 16:53:02 +03:00
Vladimir Agafonkin
2553fe6d5d
Merge branch 'master' into stable
...
* master:
archive dist in travis without root dir
fix path in travis artifacts build
add build uploading to s3 to travis
2013-07-10 16:38:51 +03:00
Vladimir Agafonkin
53d9375284
archive dist in travis without root dir
2013-07-10 16:24:06 +03:00
Vladimir Agafonkin
d888a2e49e
fix path in travis artifacts build
2013-07-10 16:08:19 +03:00
Vladimir Agafonkin
823cd0990e
add build uploading to s3 to travis
2013-07-10 16:03:35 +03:00
Vladimir Agafonkin
8ec663c676
Merge branch 'master' into stable
...
* master:
fix typo in changelog
update changelog
2013-07-10 13:19:59 +03:00
Vladimir Agafonkin
cf206fb252
fix typo in changelog
2013-07-10 13:19:25 +03:00
Vladimir Agafonkin
382104586f
update changelog
2013-07-10 13:18:26 +03:00
Vladimir Agafonkin
067b673ea4
merge master without the scaled tiles commit into stable
2013-07-10 13:02:31 +03:00
Vladimir Agafonkin
66e50bb089
Merge branch 'stable' of https://github.com/Leaflet/Leaflet into stable
...
* 'stable' of https://github.com/Leaflet/Leaflet :
add package.json for publishing on npm
bump version to 0.5.1 and update build
backport the geojson featurecollection arrays fix
Make setRadius and updateStyle({radius: 123 }) work.
add generated coverage to gitignore in stable
2013-07-10 13:01:09 +03:00
Vladimir Agafonkin
81c5b8d52e
Revert "Merge pull request #1802 from Leaflet/scaledtiles"
...
This reverts commit 8f2dc24c88
, reversing
changes made to 71e851fa40
.
2013-07-10 12:58:41 +03:00
Vladimir Agafonkin
604dac50e6
update changelog
2013-07-10 12:50:18 +03:00
Vladimir Agafonkin
69c74a5057
Merge pull request #1817 from tofferrosen/patch-1
...
Issue where the tile layer is not reset and updated when redraw is calle...
2013-07-10 02:27:41 -07:00
Vladimir Agafonkin
94819b3186
update changelog
2013-07-09 16:17:18 +03:00
Vladimir Agafonkin
20099d4d2e
update build
2013-07-09 16:10:03 +03:00
Vladimir Agafonkin
bb29331ca8
Merge pull request #1846 from Leaflet/layerremove
...
Fire layerremove after removing the layer
2013-07-08 22:53:22 -07:00
John Firebaugh
4839c44509
Fire layerremove after removing the layer
...
This is consistent with 0.5.x and seems more useful. Updating
the state of a layer switcher using map.hasLayer in response
to layeradd and layerremove events is my use case.
2013-07-08 16:53:04 -07:00
John Firebaugh
a1d7c1268d
Mirror D3 strategy for drag event suppression
...
-webkit-user-drag is not inherited, so it's ineffective
at preventing drags of image overlays (#1821 ). Instead,
always preventDefault on dragstart.
While here, preventDefault on selectstart as well (a
"belt-and-suspenders" approach).
Together, these changes bring Leaflet's strategy in line
with D3's:
https://github.com/mbostock/d3/blob/master/src/event/drag.js
2013-07-08 10:26:02 -07:00
Vladimir Agafonkin
8a0b9ecb64
Merge pull request #1826 from scooterw/fix_mouse_position_relative
...
attempt to address regressions from #1684 , #1745
2013-07-06 07:45:03 -07:00
Scooter Wadsworth
4e2a7f2030
Merge pull request #1 from jec006/fix_mouse_position_relative
...
Fix issue with mouse position when page is scrolled
2013-07-05 09:48:26 -07:00
Josh Caldwell
0c381325bb
Fix issue with mouse position when page is scrolled
2013-07-05 11:50:36 -04:00
Vladimir Agafonkin
401ceff0f6
fix links to leaflet website in tutorials
2013-07-05 15:56:35 +03:00
Vladimir Agafonkin
f688f3d810
fix FF error on API reference page
2013-07-05 13:46:57 +03:00
Vladimir Agafonkin
e787027110
Merge pull request #1833 from danzel/master
...
Fix worldCopyJump if you start zoomed all the way out. Fixes #1831
2013-07-05 03:39:24 -07:00
David Beitey
ae7dd990a7
Document changes to setMaxBounds method as per #1834
2013-07-05 14:13:49 +10:00
David Beitey
c663392697
Allow options to be passed to Map.setMaxBounds such that they can be used when setting the view.
2013-07-05 14:12:09 +10:00
danzel
fef108cc8e
Fix worldCopyJump if you start zoomed all the way out. Fixes #1831
2013-07-05 14:35:48 +12:00
Vladimir Agafonkin
3a8137cb93
Merge pull request #1832 from turban/gh-pages
...
Changed name for graticule plugin
2013-07-04 15:52:51 -07:00
Bjørn Sandvik
71e6b9500a
Changed name for graticule plugin
2013-07-05 00:45:25 +02:00
Vladimir Agafonkin
2d4d8cf359
Merge pull request #1830 from turban/gh-pages
...
Added Graticule plugin
2013-07-04 13:57:39 -07:00
Bjørn Sandvik
84a31e6bb2
Added graticule plugin
2013-07-04 22:22:57 +02:00
Scooter Wadsworth
914807c621
attempt to address regressions from #1684 , #1745
2013-07-03 22:42:10 -06:00
Aaron Rutkovsky
f01e010f9a
Stop transition if element is outside fo the DOM
2013-07-03 18:06:45 -05:00
Hans Kristian Flaatten
8e98e52b88
Renames L.LatLng property .altitude to .alt
2013-07-03 15:44:57 +02:00
Hans Kristian Flaatten
46885de00d
Adds support for altitude and 3D GeoJSON
...
This commit adds a third parameter to the L.LatLon class for specifying
altitude. This is in turn stored in the `.latitude` property for the LatLng
instance. Latitude property will only be set if the latitude parameter is not
undefined, this is done in order to ensure backwards compability.
```javascript
var latlng = new L.LatLng(10, 20, 30);
console.log(latlng.altitude); // prints '30' to the console
```
Similar functionality has been added to L.GeoJSON coordsToLatLng() and
latLngToCoords() methods in order to handle import and export of 3D GeoJSON.
```javascript
var geoJSON = {
type: 'Feature'
,properties: {}
,geometry: {
type: 'Point'
,coordinates: [20, 10, 30]
}
}
var layer = new L.GeoJSON();
layer.addData(geoJSON);
console.log(layer.getLayers()[0].getLatLng().altitude);
```
`NB` It is important to notice that no logic has been added in order to prevent
latitude and longitude to change without appropirate change in altitude – this
must be handled by the application.
2013-07-03 10:13:00 +02:00
Vladimir Agafonkin
642fc815e1
fix typo and reorder items in the changelog a bit
2013-07-02 12:55:16 +03:00
Vladimir Agafonkin
e6ddac4557
update changelog, close #1819
2013-07-02 12:43:12 +03:00
Vladimir Agafonkin
8f2dc24c88
Merge pull request #1802 from Leaflet/scaledtiles
...
TileLayer maxNativeZoom option for scaling tiles on unsupported zoom levels
2013-07-02 02:32:08 -07:00
Christoffer Rosen
724f9aa3d8
Issue where the tile layer is not reset and updated when redraw is called.
...
I was able to replicate this issue: https://github.com/Leaflet/Leaflet/issues/1797 . The problem is that redraw does not call update and reset on the TileLayer, therefore causing the above issue. I am proposing simply doing it before calling drawTile. I built and tested it, and it does fix the issue.
2013-07-01 23:53:13 -05:00
Vladimir Agafonkin
e372aefbec
Merge pull request #1815 from slara/gh-pages
...
Add Leaflet.BorderPan to plugin list
2013-07-01 09:58:43 -07:00
Sebastián Lara Menares
062c880d21
Add Leaflet.BorderPan to plugin list.
2013-07-01 10:33:44 -04:00
danzel
71e851fa40
Remove trailing comma, fixes IE7. Refs #1755
2013-07-01 15:56:04 +12:00
danzel
cf43b10ef6
Update markercluster js/css links so the guest post works again. Fixes leaflet/leaflet.markercluster#205
2013-07-01 09:57:35 +12:00
Vladimir Agafonkin
3347b78f4b
Merge pull request #1812 from AndreyGeonya/patch-3
...
Update reference.html
2013-06-30 14:11:04 -07:00
Andrey Geonya
cb22601c8d
Update reference.html
...
getLayers() documentation fixed (wrong type)
2013-06-30 21:39:25 +03:00
Vladimir Agafonkin
17c25ea424
Merge pull request #1811 from AndreyGeonya/patch-2
...
Update reference.html
2013-06-30 05:03:05 -07:00
Andrey Geonya
c45b140e70
Update reference.html
...
LocationEvent documentation fixed (altitude duplicate)
2013-06-30 12:24:10 +03:00
Vladimir Agafonkin
5e4cfc5b68
Merge pull request #1810 from JasonSanford/gh-pages
...
A few more details about base layers in the layers control
2013-06-29 05:28:58 -07:00
Jason Sanford
703e5a6da7
Also note that only a single base map should be passed in reference.
2013-06-29 00:43:38 -06:00
Jason Sanford
02090a3281
Note that only one base layer should be added to the map at instantiation.
2013-06-29 00:38:03 -06:00
Vladimir Agafonkin
d04f1e73e3
add info about name, minor updates
2013-06-28 17:21:40 -04:00
Vladimir Agafonkin
e795e48446
fix typo
2013-06-28 17:10:45 -04:00
Vladimir Agafonkin
2585d71a5a
blog post with plugin authoring guide
2013-06-28 17:00:25 -04:00
Vladimir Agafonkin
7a1394790e
update build
2013-06-28 16:46:11 -04:00
Vladimir Agafonkin
7ff6c81276
Merge branch 'master' into gh-pages
...
* master:
remove change that didn't go into 0.6.2
Revert "Consistent mouse event propagation in Marker and Path"
update changelog
2013-06-28 16:45:15 -04:00
Vladimir Agafonkin
46356e73a7
remove change that didn't go into 0.6.2
2013-06-28 16:39:16 -04:00
John Firebaugh
475e736346
Revert "Consistent mouse event propagation in Marker and Path"
...
This reverts commit 4015f49615
.
2013-06-28 16:22:20 -04:00
Vladimir Agafonkin
3f85f7c86e
update changelog
2013-06-28 15:56:57 -04:00
Vladimir Agafonkin
d10e9a08c9
merge master
2013-06-28 15:54:25 -04:00
Vladimir Agafonkin
df7edd5aa5
rename plugin authoring guide
2013-06-28 15:53:11 -04:00
Vladimir Agafonkin
65f67e5015
update for 0.6.2
2013-06-28 15:50:32 -04:00
Vladimir Agafonkin
199968be45
bump version in package.json
2013-06-28 15:48:06 -04:00
Vladimir Agafonkin
1f3cd6a08d
update changelog
2013-06-28 15:47:45 -04:00
Vladimir Agafonkin
b3d5684826
update build, bump minor version
2013-06-28 15:42:49 -04:00
John Firebaugh
f96a3f6988
Copyedit
2013-06-28 15:09:52 -04:00
Vladimir Agafonkin
5608b7a5fd
Merge pull request #1808 from Leaflet/link-hover
...
Clicking on trs will bring you there, icons on hover. Fixes #1793
2013-06-28 12:01:18 -07:00
Vladimir Agafonkin
7a4575419f
Merge pull request #1809 from Leaflet/mouse-events
...
Mouse events
2013-06-28 11:52:15 -07:00
Vladimir Agafonkin
994780a2a2
updates to plugin authoring guide
2013-06-28 14:50:49 -04:00
John Firebaugh
4015f49615
Consistent mouse event propagation in Marker and Path
...
Marker was missing mouseup and mousemove.
Path was missing mouseup.
2013-06-28 14:44:10 -04:00
John Firebaugh
1b7977a259
Manage happen.js with npm and upgrade it
2013-06-28 14:44:10 -04:00
Tom MacWright
49fb1968b4
Clicking on trs will bring you there, icons on hover. Fixes #1793
2013-06-28 14:42:13 -04:00
Vladimir Agafonkin
634160aa4b
add plugin authoring guide, close #399
2013-06-28 14:39:49 -04:00
Vladimir Agafonkin
d00d8af033
update changelog
2013-06-28 14:38:50 -04:00
John Firebaugh
2b6dbacf53
Workaround for FF user-select bug ( fixes #1807 )
2013-06-28 12:21:52 -04:00
Vladimir Agafonkin
4bb9b38423
Merge pull request #1804 from Leaflet/1790
...
Replace explicit z-index with DOM reordering
2013-06-28 07:00:21 -07:00
John Firebaugh
1954d3d64e
Replace explicit z-index with DOM reordering
...
Setting an explicit z-index interacts badly with tile
layers which have an opacity less than 1, and therefore
create a stacking context.
Fixes #1790 .
2013-06-28 09:55:17 -04:00
Vladimir Agafonkin
9559f40829
minor cleanup
2013-06-27 19:47:34 -04:00
Vladimir Agafonkin
2521e121db
fix global map leak
2013-06-27 19:45:00 -04:00
Vladimir Agafonkin
b03f322193
add TileLayer maxNativeZoom option for scaling tiles on unsupported zooms, close #1798
2013-06-27 19:40:27 -04:00
Vladimir Agafonkin
69f51f22f3
update build and changelog
2013-06-27 19:36:29 -04:00
Vladimir Agafonkin
859c62f0e7
fix chrome zoom anim flickering near map borders
2013-06-27 19:36:20 -04:00
Vladimir Agafonkin
3d1f0957e7
Merge pull request #1801 from Leaflet/1800
...
Disable text selection on mousedown rather than move
2013-06-27 15:21:20 -07:00
Vladimir Agafonkin
c7668676f1
add anchor highlighting to the reference
2013-06-27 18:15:50 -04:00
John Firebaugh
4a8b5486c9
Disable text selection on mousedown rather than move
...
This seems to fix #1800 and a related unfiled issue reported in
IRC regarding tiles becoming selected on double-click when a
vector layer is present.
2013-06-27 18:06:43 -04:00
Vladimir Agafonkin
9a113d11ac
Merge pull request #1799 from Leaflet/member-reference
...
Member reference
2013-06-27 14:31:57 -07:00
Tom MacWright
a6360cc91e
Add links to all sections, do lowercase with dashes
2013-06-27 14:49:02 -04:00
Tom MacWright
946647257d
First swipe at a member reference link
2013-06-27 14:30:40 -04:00
Vladimir Agafonkin
00123f1327
update links to 0.6.1 and a note in the blog post
2013-06-27 10:47:20 -04:00
Vladimir Agafonkin
ff48fda32d
merge master
2013-06-27 10:43:51 -04:00
Vladimir Agafonkin
ae5bc1cc82
bump version and build
2013-06-27 10:41:12 -04:00
Vladimir Agafonkin
9ba28229e9
fix typo in changelog
2013-06-27 10:35:12 -04:00
Vladimir Agafonkin
f1b8b1bc06
update build and changelog
2013-06-27 10:34:32 -04:00
John Firebaugh
725124931f
preventDefault on MozMousePixelScroll
...
This prevents scrolling without changing the zoom delta
calculations.
Fixes #1794
2013-06-27 10:28:13 -04:00
John Firebaugh
bc40266bc9
Revert "Use "wheel" event where supported ( #1788 )"
...
This reverts commit a784c560e5
.
2013-06-27 10:27:42 -04:00
Vladimir Agafonkin
e468704738
fix EPSG3395 zooming, close #1796
2013-06-27 09:27:25 -04:00
Vladimir Agafonkin
504390d67c
update jshint and karma versions in deps
2013-06-26 17:52:30 -04:00
Vladimir Agafonkin
de743fa890
fix clash of zoom button hover styles with Bootstrap, close #1791
2013-06-26 17:31:45 -04:00
Vladimir Agafonkin
421ac9b62f
Merge pull request #1792 from ismyrnow/gh-pages
...
Add Leaflet.GroupedLayerControl to plugin list
2013-06-26 11:38:00 -07:00
Ishmael Smyrnow
e03567f796
Add Leaflet.GroupedLayerControl to plugin list
2013-06-26 14:30:50 -04:00
Vladimir Agafonkin
d498f442e8
mention saving to geojson in release post
2013-06-26 12:34:56 -04:00
Vladimir Agafonkin
b2d5eba972
make npm package name lowercase as required
2013-06-26 12:29:29 -04:00
Vladimir Agafonkin
bbc466762a
add a note about GitHub and Mapbox.js
2013-06-26 12:26:16 -04:00
Vladimir Agafonkin
db2f28fef4
fix Steve's name in the blog post
2013-06-26 11:47:27 -04:00
Vladimir Agafonkin
ba7162a791
merge master
2013-06-26 11:45:58 -04:00
Vladimir Agafonkin
e306733ac8
bigger font and minor tweaks
2013-06-26 11:16:14 -04:00
Vladimir Agafonkin
08b66c7f5f
website updates, release blog post
2013-06-26 11:05:57 -04:00
Vladimir Agafonkin
524d32179b
post title fixes (capitalized)
2013-06-26 11:01:43 -04:00
Vladimir Agafonkin
48ea6518f7
reorder items in the changelog a bit
2013-06-26 09:46:42 -04:00
Vladimir Agafonkin
f1342d32ef
update download links
2013-06-26 09:13:19 -04:00
Vladimir Agafonkin
951addabcd
finish 0.6 docs
2013-06-26 09:08:40 -04:00
Vladimir Agafonkin
2c34511bf6
merge master
2013-06-25 23:32:23 -04:00
Vladimir Agafonkin
3374166028
update build
2013-06-25 19:42:38 -04:00
Vladimir Agafonkin
c56e3762ac
bring back the horrible timeout hack for Android, close #1785
2013-06-25 19:42:03 -04:00
Vladimir Agafonkin
71aadeca25
add a link to previous stable version docs, close #921
2013-06-25 16:34:26 -04:00
Vladimir Agafonkin
7c6c701efc
update docs section in contributing guide
2013-06-25 16:25:21 -04:00
Vladimir Agafonkin
7d2649e0ae
yet another docs update
2013-06-25 16:12:45 -04:00
Vladimir Agafonkin
2f2632758e
one more docs updates batch
2013-06-25 14:44:07 -04:00
Vladimir Agafonkin
ae1dcaf978
remove outdated changelog line
2013-06-25 14:43:35 -04:00
Vladimir Agafonkin
46a3ffa507
minor changelog fix
2013-06-25 14:41:31 -04:00
Vladimir Agafonkin
9a9c617355
merge master for 0.6
2013-06-25 13:52:35 -04:00
Vladimir Agafonkin
d2f99f9b35
bump version, update changelog and build
2013-06-25 13:46:14 -04:00
Vladimir Agafonkin
2729af4fc9
another batch of docs updates
2013-06-25 13:41:03 -04:00
John Firebaugh
7355070958
Merge pull request #1789 from Leaflet/wheel
...
Use "wheel" event where supported (#1788 )
2013-06-25 10:40:14 -07:00
John Firebaugh
a784c560e5
Use "wheel" event where supported ( #1788 )
2013-06-25 13:31:51 -04:00
Vladimir Agafonkin
e7fa864260
first batch of docs updates
2013-06-25 13:01:45 -04:00
Vladimir Agafonkin
cdc65c6c6b
add Circle & CircleMarker toGeoJSON
2013-06-25 12:43:22 -04:00
Vladimir Agafonkin
9db93e4635
update build
2013-06-25 11:31:29 -04:00
Vladimir Agafonkin
55a36e2fe8
fix regression of not being able to addLayer in initHooks
2013-06-25 11:25:10 -04:00
Vladimir Agafonkin
1eca103f8a
update changelog and build
2013-06-25 10:29:16 -04:00
Vladimir Agafonkin
e74fc2594e
minor formatting stuff
2013-06-25 10:25:16 -04:00
Vladimir Agafonkin
c3147e70db
Merge pull request #1786 from Leaflet/preventDefault
...
Remove preventDefault again, fix FF
2013-06-25 07:15:37 -07:00
Vladimir Agafonkin
f3b4fb5469
fix facebook like button misposition
2013-06-25 10:14:11 -04:00
John Firebaugh
cb4b4ff343
Remove preventDefault from BoxZoom too
2013-06-25 10:12:02 -04:00
John Firebaugh
1b5a77f77d
Also disable user-drag/prevent dragstart events
...
Unlike preventTextSelection, it appears important that
this happens on mousedown rather than the first mousemove
event. Otherwise, tile images are still sometimes draggable
on Firefox.
2013-06-25 10:12:02 -04:00
Vladimir Agafonkin
29b225f369
merge master
2013-06-25 10:10:57 -04:00
Vladimir Agafonkin
e8e50b2cef
Merge branch 'gh-pages' into gh-pages-master
...
* gh-pages:
Added Leaflet.Sync plugin
Added zoomify plugin
Typo fixed
Add Leaflet.Elevation plugin
2013-06-25 10:10:01 -04:00
Vladimir Agafonkin
dd3a3ea9d9
update changelog
2013-06-25 10:08:48 -04:00
Vladimir Agafonkin
c05614bd1a
update build
2013-06-25 09:45:54 -04:00
Vladimir Agafonkin
89d0730254
fix Android firing click twice on buttons, close #1785 , related #1694
2013-06-25 09:45:35 -04:00
Vladimir Agafonkin
3076210fd1
revert remove preventDefault #1782 , breaks FF
2013-06-24 23:55:11 -04:00
Vladimir Agafonkin
78900af8bc
Merge pull request #1784 from danzel/fix-1694
...
Don't add mouseover/out listeners to the layers control on android
2013-06-24 20:47:38 -07:00
danzel
8b742a024e
Don't add mouseover/out listeners to the layers control on android, otherwise your first touch will do mouseover, showing the list and click, clicking an item. Fixes #1694
2013-06-25 15:44:33 +12:00
Vladimir Agafonkin
f1e87ef665
remove unnecessary preventDefault
2013-06-24 23:24:52 -04:00
Vladimir Agafonkin
95d6d27cb0
Merge branch 'iframe-drag'
...
* iframe-drag:
fix jshint errors
Refine existing methods for disabling text selection
Add iframe debug html
Suppress text selection behavior during drag
Continue to preventDefault on touch
Remove preventDefault and mousedown workaround
2013-06-24 23:23:54 -04:00
Vladimir Agafonkin
9fb565aa93
fix jshint errors
2013-06-24 23:23:43 -04:00
Vladimir Agafonkin
bf1b498205
Merge pull request #1783 from Leaflet/taphacks
...
Move all tap hacks code into a separate handler
2013-06-24 20:18:07 -07:00
Vladimir Agafonkin
28ba41eced
disable tap hacks on IE, ref #1694
2013-06-24 23:11:51 -04:00
Vladimir Agafonkin
e72e2476f8
remove leftover code
2013-06-24 22:38:38 -04:00
Vladimir Agafonkin
1d3ab22ca2
update changelog and build
2013-06-24 20:28:32 -04:00
Vladimir Agafonkin
8df10e8d94
collapse layers control on click instead of movestart
2013-06-24 20:12:14 -04:00
Vladimir Agafonkin
f9ea4758f8
move all tap hacks code into a separate handler, close #1781
2013-06-24 18:17:25 -04:00
Vladimir Agafonkin
a12bd9474f
call init hooks before adding layers (fixes zoom anim regression)
2013-06-24 17:37:31 -04:00
John Firebaugh
60476da33c
Refine existing methods for disabling text selection
2013-06-24 17:37:19 -04:00
John Firebaugh
347ea2dae6
Add iframe debug html
2013-06-24 16:35:00 -04:00
John Firebaugh
ea8af5c2a1
Suppress text selection behavior during drag
...
Reference: https://github.com/mbostock/d3/pull/1289
2013-06-24 16:34:59 -04:00
John Firebaugh
05461bdd11
Continue to preventDefault on touch
2013-06-24 16:34:59 -04:00
John Firebaugh
37c4842a73
Remove preventDefault and mousedown workaround
...
As long as the mousedown event does not have preventDefault,
dragging out of an iframe works as expected.
2013-06-24 16:34:59 -04:00
Vladimir Agafonkin
7223a7e49b
prevent default on marker mousedown so it doesn't get outline on click
2013-06-24 16:07:18 -04:00
Vladimir Agafonkin
34ce6e6eba
Merge pull request #1780 from Leaflet/iframe-mouseout
...
Iframe mouseout
2013-06-24 12:25:26 -07:00
Vladimir Agafonkin
5a7420dd1a
Propagate popup clicks outside of map container, close #301
2013-06-24 15:19:17 -04:00
John Firebaugh
18e3277f8b
Avoid error if transform happens to be 'none'
...
Fixes #1707
2013-06-24 14:56:22 -04:00
Tom MacWright
95abf5a385
Remove mouseout binding on up
2013-06-24 14:45:29 -04:00
John Firebaugh
2c22d13ab8
Fix test
2013-06-24 14:39:23 -04:00
Vladimir Agafonkin
d0488a8dda
Merge pull request #1779 from Leaflet/togeojson-feature
...
Togeojson feature
2013-06-24 11:37:17 -07:00
Tom MacWright
e614b60d2b
Remove debugging
2013-06-24 14:33:41 -04:00
Tom MacWright
baef8e1ffe
End drag events on mouseout of document, fixes #1277
2013-06-24 14:33:01 -04:00
John Firebaugh
e7d0fb1b37
Normalize all toGeoJSON output to Features
2013-06-24 14:30:24 -04:00
John Firebaugh
d57525ec52
Don't overwrite layer.feature.geometry
2013-06-24 14:14:36 -04:00
Vladimir Agafonkin
5841fd87a4
convert geojson-converted layers back to features
2013-06-24 14:14:35 -04:00
Tom MacWright
130d6d0fac
Ignore pan keyboard event if the map is animating. Fixes #1710
2013-06-24 13:50:24 -04:00
Vladimir Agafonkin
01b76b747e
Merge pull request #1778 from sheppard/master
...
make AMD declaration anonymous
2013-06-24 10:38:10 -07:00
S. Andrew Sheppard
239faad5d7
make AMD declaration anonymous
2013-06-24 12:35:25 -05:00
Tom MacWright
39a9ad879a
Merge branch 'gh-pages-master' of github.com:Leaflet/Leaflet into gh-pages-master
2013-06-24 13:34:37 -04:00
Tom MacWright
728ddb82d4
Fixes #1741 - adds documentation for setLatLngs + getLatLngs for Multi*
2013-06-24 13:32:56 -04:00
Vladimir Agafonkin
a03d62cfda
add TileLayer.WMS crs option for reprojecting, close #945
2013-06-24 13:26:19 -04:00
Vladimir Agafonkin
40179ed11f
add keyboard accessibility to markers, close #1355
2013-06-24 13:14:30 -04:00
Tom MacWright
9f50ab8dbb
Propagate popupopen as well, refs #1681
2013-06-24 12:00:08 -04:00
Tom MacWright
ed4b626550
Propagate popupclose event. Fixes #1681
2013-06-24 11:49:10 -04:00
Vladimir Agafonkin
73ddddf318
update build
2013-06-24 11:32:51 -04:00
Vladimir Agafonkin
6c061b2995
fix zoom not working with L_DISABLE_3D regression, close #1756
2013-06-24 11:32:51 -04:00
John Firebaugh
33d3c015c3
Remove webkit workaround that is no longer necessary
...
This was causing a bug where multiple `translate(0,0)` were
appended to the style when the opacity was changed multiple
times.
2013-06-24 10:47:24 -04:00
Vladimir Agafonkin
54befc9203
fix True Mercator projection calculations, close #1578
2013-06-24 10:42:15 -04:00
Vladimir Agafonkin
35a5fdb0e5
simplify control layers events code #1634
2013-06-24 10:18:01 -04:00
Vladimir Agafonkin
4b0ef3917e
Merge branch 'overlay-event' of https://github.com/Xelio/Leaflet into Xelio-overlay-event
...
* 'overlay-event' of https://github.com/Xelio/Leaflet :
External baselayer changes should fire 'baselayerchange' instead of 'overlayadd' 'baselayerchange' event should fire with layer name(use object in _layers of L.Control.Layers) instead of only layer.
L.Control.Layers: 'overlayadd' and 'overlayremove' event should also fire on external overlay changes.
2013-06-24 10:08:11 -04:00
Vladimir Agafonkin
57a3112b85
fix geolocation data regression in FF/IE, close #1755
2013-06-24 09:50:47 -04:00
Vladimir Agafonkin
9bd725d669
fix zoom anim regression with a hack for now, close #1705
2013-06-24 09:39:49 -04:00
Vladimir Agafonkin
ca4918977b
change map.invalidateSize signature to accept options, close #1767 , #1766
2013-06-24 09:26:23 -04:00
Vladimir Agafonkin
1ab1bda0be
more explicit copyright in the top comment
2013-06-24 09:11:57 -04:00
Vladimir Agafonkin
43c2c6a4a0
fix regression in marker setIcon #1768
2013-06-23 19:44:05 -04:00
danzel
19d49e027f
Add another test for marker/shadow reuse
2013-06-24 08:54:40 +12:00
Vladimir Agafonkin
5311d16ddb
update build
2013-06-23 09:50:17 -04:00
Vladimir Agafonkin
19637c08a6
fix icon reuse code to properly handle shadow, close #1768
2013-06-23 09:49:34 -04:00
Vladimir Agafonkin
79a0d67210
Merge pull request #1771 from turban/gh-pages
...
Added Leaflet.Sync plugin
2013-06-21 11:11:32 -07:00
Vladimir Agafonkin
741ec58684
Merge pull request #1770 from snkashis/patch-4
...
Fix icon.js documentation
2013-06-21 11:11:19 -07:00
Bjørn Sandvik
88e5124e54
Added Leaflet.Sync plugin
2013-06-21 18:58:42 +02:00
Steve
0ec7e03521
Fix icon.js documentation
...
ShadowUrl was being referred to as a point.
2013-06-21 13:04:18 -03:00
Vladimir Agafonkin
60bb843554
group API bugfixes in changelog
2013-06-21 07:25:24 +03:00
Vladimir Agafonkin
fe8ad15a8e
update build
2013-06-21 06:58:23 +03:00
Vladimir Agafonkin
33cfcffa53
update changelog with last month improvements
2013-06-21 06:57:27 +03:00
Vladimir Agafonkin
38b2f0a83d
Merge pull request #1766 from jacobtoye/invalidate-size-without-changing-center
...
Add parameter to invalidateSize for changing the center.
2013-06-20 19:40:14 -07:00
jacobtoye
f9920c87f0
Moving brace to correct position.
2013-06-21 09:38:44 +12:00
Vladimir Agafonkin
d0daef2031
Merge pull request #1765 from turban/gh-pages
...
Added Zoomify plugin
2013-06-20 00:36:10 -07:00
jacobtoye
b262fdd26b
Add parameter to invalidateSize for changing the center.
2013-06-20 16:59:14 +12:00
Bjørn Sandvik
c308bc1ce4
Added zoomify plugin
2013-06-20 02:20:25 +02:00
Vladimir Agafonkin
287f08565b
Merge pull request #1761 from popox/marker-togglePopup
...
Nice to have feature - Toggle the display of a marker's popup on click
2013-06-19 07:40:10 -07:00
Vladimir Agafonkin
857b991afe
Merge pull request #1763 from MrMufflon/gh-pages
...
Add Leaflet.Elevation plugin
2013-06-18 11:19:03 -07:00
Felix Bache
b4b26bdd6a
Typo fixed
2013-06-18 20:04:38 +02:00
Felix Bache
d2ecc7b96c
Add Leaflet.Elevation plugin
2013-06-18 19:59:47 +02:00
Vladimir Agafonkin
4ae3e9d87c
Merge pull request #1762 from sheppard/master
...
pass through coordsToLatLng when processing GeometryCollection
2013-06-17 23:13:12 -07:00
S. Andrew Sheppard
bea3e4c13e
pass through coordsToLatLng when processing GeometryCollection
2013-06-17 20:31:24 -05:00
Paul Bonaud
1af9769ed0
Toggle the display of a marker s popup on click
2013-06-16 22:13:31 +02:00
Vladimir Agafonkin
6d33627f66
Merge pull request #1760 from yohanboniface/markerdrag_off
...
remove EventListener with same context used for adding it
2013-06-14 15:39:14 -07:00
Yohan Boniface
fef0606372
removeEventListener with same context used for adding it
2013-06-14 23:21:33 +02:00
danzel
016f635616
update build
2013-06-14 10:55:59 +12:00
Vladimir Agafonkin
d9128ee89f
merge master
2013-06-12 14:19:42 +03:00
Vladimir Agafonkin
b32a91584b
fix 1px popup anchor shift
2013-06-12 14:18:29 +03:00
Vladimir Agafonkin
495d2dc3b3
add layers icon svg source
2013-06-12 14:18:29 +03:00
Vladimir Agafonkin
bcb9a4db68
prettify marker svg source
2013-06-12 14:18:29 +03:00
Vladimir Agafonkin
91db6cc863
Merge pull request #1754 from danzel/master
...
Fix SetIcon with DivIcons
2013-06-12 00:16:25 -07:00
danzel
e36181dd66
jshint fixes.
2013-06-12 16:21:28 +12:00
danzel
b5f3b2a44f
Tidy up ugly icon-swap code.
2013-06-12 16:18:42 +12:00
danzel
1a1cfb2e60
Make Marker setIcon unit tests better.
2013-06-12 16:18:20 +12:00
danzel
11e227bf6f
Don't say this so much, options is in local scope.
2013-06-12 16:06:27 +12:00
danzel
fa45913505
Make Icon/DivIcon reuse not try reuse the wrong dom element type.
2013-06-12 16:05:42 +12:00
danzel
7f2eff363b
Add support to DivIcon for reusing a div. Fixes #1753 . Still issues remain (Can't change a marker with a DivIcon to have an image Icon or vice versa)
2013-06-12 15:55:03 +12:00
Vladimir Agafonkin
9f71539b88
update build
2013-06-11 17:11:40 +03:00
Vladimir Agafonkin
043fa18f1a
Merge pull request #1745 from jec006/calculate-y-mouse
...
Properly calculate the y position of the element when parent is positioned relatively
2013-06-11 07:10:16 -07:00
Vladimir Agafonkin
a42c61dd17
merge master
2013-06-11 17:04:49 +03:00
Vladimir Agafonkin
04312a7b3d
merge gh-pages
2013-06-11 16:56:49 +03:00
Vladimir Agafonkin
e5965aaa22
make all WMS request keys uppercase, close #1751
2013-06-11 16:42:35 +03:00
Vladimir Agafonkin
c807d10a02
better regexp for image folder detection, close #1657
2013-06-11 16:05:33 +03:00
Vladimir Agafonkin
66d6403ddd
update layers icon, add retina version, cleaner popup styles, close #1739
2013-06-11 15:44:21 +03:00
Vladimir Agafonkin
ae10f4d1fc
Merge pull request #1750 from jec006/unbind-moveend-maxbounds
...
Unbind moveend event when maxBounds removed
2013-06-10 15:47:48 -07:00
Josh Caldwell
df5e43a062
Unbind moveend event when maxBounds removed
2013-06-10 18:32:20 -04:00
Josh Caldwell
84c5114345
Properly calculate the y position of the element when positioned relative
2013-06-07 12:21:15 -04:00
Vladimir Agafonkin
b433a5a629
Merge pull request #1740 from AndreyGeonya/patch-1
...
Update reference.html
2013-06-06 09:50:03 -07:00
Andrey Geonya
0e2c75e982
Update reference.html
2013-06-06 18:55:01 +03:00
Vladimir Agafonkin
5e94922393
Merge pull request #1733 from MrMufflon/gh-pages
...
Add Leaflet.Coordinates plugin
2013-06-04 15:52:15 -07:00
Felix Bache
ec5d42c50d
Merge branch 'gh-pages' of https://github.com/MrMufflon/Leaflet into gh-pages
...
Conflicts:
plugins.md
Merged master
2013-06-05 00:17:58 +02:00
Felix Bache
ace70493e5
Add Leaflet.Coordinates plugin
2013-06-05 00:02:30 +02:00
Felix Bache
7e080fa263
Add Leaflet.Coordinates plugin
2013-06-04 22:44:52 +02:00
Vladimir Agafonkin
bd803810a6
Merge pull request #1732 from snkashis/contextpopup
...
Prevent contextmenu events on popups from falling thru to map
2013-06-04 08:31:24 -07:00
Steve Kashishian
62f708a4dc
Prevent contextmenu events on popups from falling thru to map
2013-06-04 11:27:42 -04:00
Vladimir Agafonkin
f4a02ab989
Merge pull request #1731 from vogdb/gh-pages-select-control
...
Add Leaflet.SelectLayers plugin
2013-06-04 06:54:55 -07:00
vogdb
18e0061450
Add Leaflet.SelectLayers plugin
2013-06-04 17:46:57 +04:00
Vladimir Agafonkin
9e1f3bdc20
rename section titles; rename creation column to factory
2013-06-04 15:15:50 +03:00
Vladimir Agafonkin
c6654f6077
Merge branch 'no-new' of https://github.com/calvinmetcalf/Leaflet into gh-pages-nonew
...
* 'no-new' of https://github.com/calvinmetcalf/Leaflet :
more consistancy
per #1430 no new in documentation
2013-06-04 14:42:18 +03:00
Vladimir Agafonkin
ffae01cf55
add MousePosition plugin
2013-06-04 14:39:48 +03:00
Vladimir Agafonkin
95cb21af57
fix jekyll 1.0 config
2013-06-04 14:37:02 +03:00
Vladimir Agafonkin
aaad3cbe2f
fix hinting error, update build
2013-06-03 12:39:28 +03:00
Vladimir Agafonkin
c54b6c13b3
Merge pull request #1726 from Norkart/reuseIconDOM
...
Reuse icon DOM
2013-06-03 02:14:06 -07:00
Vladimir Agafonkin
9295fde52f
Merge pull request #1729 from jfirebaugh/add-remove
...
Don't call Layer#onRemove if Layer#onAdd was never called
2013-06-03 02:12:23 -07:00
Vladimir Agafonkin
73adefe1ac
update jshint to 2.1.3, reenable jshint white - big thanks to @antonkovalyov
2013-06-03 12:08:34 +03:00
Robert Nordan
e58e1ec4e7
Ensure styles are set even when reusing DOM.
...
This fixes the error found in review.
2013-06-03 07:23:13 +02:00
Vladimir Agafonkin
b9fa955c7c
update build
2013-06-02 22:29:48 +03:00
John Firebaugh
2ddcc3d4d4
Fix trailing whitespace
2013-06-01 22:21:07 -07:00
John Firebaugh
4802561e0e
Don't fire layerremove if layeradd was never fired
2013-06-01 22:16:53 -07:00
John Firebaugh
51fccc80fe
Don't call Layer#onAdd on a layer that has been removed
2013-06-01 22:11:42 -07:00
John Firebaugh
055b3393da
Don't call Layer#onRemove if Layer#onAdd was never called
2013-06-01 21:50:18 -07:00
John Firebaugh
01bede20d1
Fix indentation
2013-06-01 21:49:45 -07:00
Robert Nordan
9c379ff0e8
Make test/example actually check ondragstart/end
2013-05-31 14:16:18 +02:00
Robert Nordan
d737c2e94a
Reuse DOM object in Marker.SetIcon, fixes #561
...
If there already exists a DOM object for this marker, reuse it by setting
a new src and style rather than creating a new one.
2013-05-31 12:53:02 +02:00
Robert Nordan
90cb132269
Add a test that shows the DOM change failure
...
The icon should switch from blue to red and back, but does not in IE
because the DOMelement has disappeared, as in issue #561 . Instead, the
mouseover event is fired on any mouse motion in the marker. In addition,
in FF & Chrome the mouseover and mouseout events are continously fired
on any movement, which gives the correct visual results but causes
a lot of superflous event handling.
2013-05-31 12:47:51 +02:00
Vladimir Agafonkin
21aa09b403
Merge pull request #1723 from snkashis/canvas_removals
...
Prevent memory leak in removal of canvas layers
2013-05-30 15:37:35 -07:00
Steve Kashishian
4c5b700e60
Prevent memory leak in removal of canvas layers
2013-05-30 14:39:03 -04:00
Vladimir Agafonkin
8a298a77bb
Merge pull request #1721 from snkashis/patch-3
...
Fix wrong word (Number instead of Point) in closestPointonSegment docs
2013-05-30 09:55:45 -07:00
Steve
9643e0b2d6
Fix wrong word (Number instead of Point) in closestPointonSegment
...
Issue #1720
2013-05-30 13:08:55 -03:00
Vladimir Agafonkin
34dbfea015
Merge pull request #1713 from snkashis/circlemarker_loop
...
Prevent infinite loop in adding of canvas CircleMarkers
2013-05-29 05:47:43 -07:00
Vladimir Agafonkin
2dd7e54815
Merge pull request #1716 from yohanboniface/gh-pages
...
Suggestion to add Leaflet.RevealOSM and Leaflet.i18n plugins in list
2013-05-29 05:46:39 -07:00
Yohan Boniface
c4c37a40c0
Add Leaflet.i18n plugin
2013-05-29 13:00:53 +02:00
Yohan Boniface
918b57e95b
Add Leaflet.RevealOSM plugin
2013-05-29 12:59:26 +02:00
Vladimir Agafonkin
47b1d51d30
update build
2013-05-29 12:10:44 +03:00
Vladimir Agafonkin
6387f20206
update packages versions, minor jshinting
2013-05-29 12:10:19 +03:00
Vladimir Agafonkin
b97b7e49ce
Merge pull request #1711 from maackle/patch-1
...
added 'overlayadd' and 'overlayremove' descriptions (closes #1709 )
2013-05-29 00:53:16 -07:00
Vladimir Agafonkin
19f377b1b4
Merge pull request #1714 from snkashis/patch-2
...
Fix typo in noConflict section
2013-05-29 00:52:42 -07:00
Steve
e44da8691b
Fix typo in noConflict section
2013-05-29 01:23:44 -03:00
Steve Kashishian
c684fb4652
Prevent infinite loop in adding of canvas CircleMarkers
2013-05-28 19:39:14 -04:00
Michael Dougherty
cc113ff778
added 'overlayadd' and 'overlayremove' descriptions ( closes #1709 )
2013-05-28 15:18:19 -06:00
Ardhi Lukianto
1ee249dbec
Update description
2013-05-22 07:11:05 +07:00
Vladimir Agafonkin
fd41c32931
Merge pull request #1697 from stefanocudini/gh-pages
...
update description L.Control.Search in plugins page
2013-05-21 15:25:05 -07:00
stefano cudini
2e3e362609
update description L.Control.Search in plugins page
2013-05-22 00:04:42 +02:00
Ardhi Lukianto
9de1b8d8d6
Update plugins.md
2013-05-21 15:45:59 +07:00
Ardhi Lukianto
a16dd5cd55
Add Leaflet.MousePosition control
2013-05-21 15:45:05 +07:00
Vladimir Agafonkin
57b6a367c1
Merge pull request #1691 from dwilhelm89/patch-2
...
Added Time Slider plugin to dynamically add/remove layers
2013-05-20 14:10:18 -07:00
dwilhelm89
59f8bfe1c1
Added Time Slider plugin to dynamically add/remove layers
2013-05-20 22:50:55 +02:00
Vladimir Agafonkin
e68d8144f2
add mailmap to gitignore
2013-05-19 13:26:38 +03:00
Vladimir Agafonkin
b4f0b05dcf
Merge pull request #1688 from korzhyk/master
...
TypeError prevention on LatLngBounds extend
2013-05-18 04:41:26 -07:00
Andrii Korzh
d1aa0f3b7e
Update LatLngBoundsSpec.js
2013-05-18 13:27:45 +03:00
Andrii Korzh
ef17f99708
Check object when LatLngBounds extend
...
When LatLngBounds extend, must check the extending object, because empty marker `L.marker().getLatLng()` got `undefined` and `obj[0]` got `TypeError`
2013-05-18 13:20:37 +03:00
John Firebaugh
72ac52cf46
Merge pull request #1684 from scooterw/1670
...
calculate x position with postion:relative and width/maxWidth
2013-05-17 11:22:44 -07:00
Scooter Wadsworth
76e317d80c
smart tabs per contribution guidelines
2013-05-16 11:00:51 -06:00
Scooter Wadsworth
e0a44add0e
calculate x position with postion:relative and width/maxWidth
2013-05-16 01:14:04 -06:00
Vladimir Agafonkin
7a84294afd
Merge pull request #1683 from jfirebaugh/1683
...
tile layers added after initial load don't show up until zoomed
2013-05-15 13:54:09 -07:00
John Firebaugh
61745f4a30
Set correct initial zIndex on tile layer divs
...
Fixes #1683 .
2013-05-15 13:50:42 -07:00
mourner
d62ee9e5b3
make latest jshint happy, update deps
2013-05-13 22:57:01 +03:00
Vladimir Agafonkin
3d3e2cd12d
Merge pull request #1669 from jfirebaugh/closeOnClick
...
Popup-specific closeOnClick option
2013-05-10 15:48:06 -07:00
John Firebaugh
ade9c943ff
Popup-specific closeOnClick option
2013-05-10 15:22:03 -07:00
Vladimir Agafonkin
6f752d171b
simplify zoom anim a bit
2013-05-10 17:28:27 +03:00
Vladimir Agafonkin
47b299346f
fix TileLayer 404 errors off-world
2013-05-10 17:15:17 +03:00
Vladimir Agafonkin
c33a60485b
context-based off/fire fix
2013-05-10 17:12:46 +03:00
Vladimir Agafonkin
eaf8189070
Merge pull request #1664 from yarikos/patch-2
...
HTMLElement was indicated as allowable type of content in L.Popup.setCon...
2013-05-09 07:38:00 -07:00
yarik ponomarenko
f9ebcf5fd0
HTMLElement was indicated as allowable type of content in L.Popup.setContent()
...
In accordance with https://github.com/Leaflet/Leaflet/issues/9
2013-05-09 16:07:56 +03:00
Vladimir Agafonkin
407733fdb5
update heading on plugins page, #1649
2013-05-08 13:17:55 +03:00
Vladimir Agafonkin
2431f5ec82
minor changelog fix
2013-05-08 13:16:47 +03:00
Vladimir Agafonkin
cc88fa53d9
Merge pull request #1649 from dandv/patch-1
...
Proposing grouping geocoding plugins under one heading
2013-05-08 03:16:30 -07:00
Vladimir Agafonkin
aae54a34d4
update build
2013-05-08 13:02:15 +03:00
Vladimir Agafonkin
0849d06c1b
fix whitespace in event spec, #1661
2013-05-08 12:58:50 +03:00
Vladimir Agafonkin
e6b8466429
update changelog
2013-05-08 12:57:35 +03:00
Vladimir Agafonkin
d58a237668
Merge pull request #1661 from spamdaemon/FIX_1654
...
Make sure events don't fire after listener is removed.
2013-05-08 02:54:38 -07:00
Vladimir Agafonkin
a7bc9e41c6
fix typo
2013-05-08 12:53:03 +03:00
Vladimir Agafonkin
f13e99e362
major changelog update
2013-05-08 12:51:15 +03:00
R. Merkert
bbb7acb3f4
Make sure events don't fire after listener is removed.
...
This patch fixes a problem with a dangling event listener, which is
called even after it has been removed. This situation can occur when a
listener is removed during an even dispatch.
To fix this problem, the old action is replaced with a NOOP, so that
when the listener is being fired, it is not the old listener but the
NOOP.
2013-05-07 20:16:25 -04:00
Calvin Metcalf
3a801666f4
more consistancy
2013-05-07 16:00:56 -04:00
Vladimir Agafonkin
68c45bc9fe
Merge pull request #1659 from karlnack/fix-ff-maxbounds
...
Update L.PosAnimation._transformRe to account for units (fixes #1658 )
2013-05-07 11:14:31 -07:00
Karl Nack
06842ef659
Fix transformRe ( fixes #1658 )
...
Allow optional units in the transformation matrix, the presence of which
causes maxBounds settings not to work in (at least) older versions of Firefox.
Also update the regex to match on numbers per W3 spec: "A number is either an
<integer> or zero or more decimal digits followed by a dot (.) followed by one
or more decimal digits." (from CSS Values and Units Module Level 3)
2013-05-07 11:57:38 -05:00
Calvin Metcalf
43147f84aa
per #1430 no new in documentation
2013-05-07 12:44:29 -04:00
Vladimir Agafonkin
38c1164152
fix pan animation regression, close #1629
2013-05-07 11:44:28 +03:00
Vladimir Agafonkin
f9cd3b532d
Merge pull request #1650 from gumballhead/layers-by-id
...
Extend #1642 to include FeatureGroups and lookup by id.
2013-05-04 14:40:43 -07:00
Andrew Kirkegaard
44c1a594e1
removeLayer by id for FeatureGroups.
2013-05-04 16:24:02 -05:00
Andrew Kirkegaard
df2ef42fe4
getLayer by id.
2013-05-04 16:16:36 -05:00
Dan Dascalescu
5e0a4b59e6
Proposing grouping geocoding plugins under one heading
2013-05-04 02:34:41 -07:00
Vladimir Agafonkin
1451ea8a87
Merge pull request #1648 from dandv/patch-2
...
Improve documentation for geocoding plugins
2013-05-04 00:22:03 -07:00
Vladimir Agafonkin
71a03b904b
Merge pull request #1647 from dandv/patch-1
...
Fix some typos and link to the locate method
2013-05-04 00:21:12 -07:00
Dan Dascalescu
9efded6f50
Improve documentation for geocoding plugins
...
Will create a separate patch for grouping geocoding plugins together.
2013-05-03 19:56:43 -07:00
Dan Dascalescu
7edc17d2fa
Fix some typos and link to the locate method
2013-05-03 19:43:12 -07:00
Vladimir Agafonkin
f3584ff527
add optional popup argument to Map closePopup
2013-05-03 16:16:25 +03:00
Vladimir Agafonkin
b9764312f1
Merge pull request #1646 from leplatrem/patch-7
...
Add Leaflet.Snap plugin
2013-05-03 03:23:03 -07:00
Mathieu Leplatre
5e34ca6ea2
Clearer description of Leaflet.Snap purpose
...
Thanks @mourner!
2013-05-03 13:04:24 +03:00
Mathieu Leplatre
fc9d767789
Add Leaflet.Snap plugin
2013-05-03 12:55:35 +03:00
Vladimir Agafonkin
b0778e6695
Merge pull request #1644 from Didji/patch-2
...
Typo fix in reference.html
2013-05-03 02:53:45 -07:00
Vladimir Agafonkin
6f4b3ef576
Merge pull request #1645 from leplatrem/patch-6
...
Add Leaflet.GeometryUtil plugin
2013-05-03 02:53:23 -07:00
Mathieu Leplatre
2f6bcc358b
Add Leaflet.GeometryUtil plugin
2013-05-03 12:52:25 +03:00
Didji
410bc4b86e
Update reference.html
...
ie7 property's description in Browser section was "true for Internet Explorer 6." instead of "true for Internet Explorer 7."
2013-05-03 12:44:49 +03:00
Vladimir Agafonkin
f2d237b01c
Merge pull request #1617 from Leaflet/setview-anim
...
Control animation in setView/panTo/setZoom/fitBounds/etc.
2013-05-03 02:12:21 -07:00
Vladimir Agafonkin
c376354fc8
Merge pull request #1642 from gumballhead/master
...
hasLayer and removeLayer by id.
2013-05-03 02:06:52 -07:00
Andrew Kirkegaard
6ea5984dc6
hasLayer and removeLayer by id.
2013-05-02 22:26:54 -05:00
John Firebaugh
c9e2453eed
Bounds-check array access in Polygon#initialize
2013-05-02 16:17:04 -07:00
Vladimir Agafonkin
67c39d5ba8
Merge pull request #1637 from domoritz/patch-1
...
Link to actual heatmap.js for Leaflet page
2013-05-01 03:43:10 -07:00
Dominik Moritz
3608f5c0d9
Link to actual heatmap.js for Leaflet page
...
Also note that the implementation in heatmap.js supports large datasets.
2013-05-01 12:27:43 +03:00
Xelio
02b93b44e4
External baselayer changes should fire 'baselayerchange' instead of 'overlayadd'
...
'baselayerchange' event should fire with layer name(use object in _layers of L.Control.Layers) instead of only layer.
2013-05-01 14:30:57 +08:00
Dave Leaver
e032046119
Mention why aria-haspopup is required in the layers control
2013-05-01 08:24:19 +12:00
Vladimir Agafonkin
df72027401
accept true as a third setView argument for compatibility
2013-04-30 17:09:55 +03:00
Vladimir Agafonkin
5ab4d4a4be
minor cleanup
2013-04-30 17:08:10 +03:00
Vladimir Agafonkin
260a869da6
accept global animate option in setView
2013-04-30 17:06:16 +03:00
Vladimir Agafonkin
8d759e6c5e
clean up handlers and panes on map remove, close #1621
2013-04-30 16:51:51 +03:00
Vladimir Agafonkin
47dd2d9371
Merge pull request #1635 from danzel/master
...
Fix layers control on WinPhone8/IE10 Touch
2013-04-30 02:39:34 -07:00
danzel
87db54b65c
Make jshint happy
2013-04-30 15:32:36 +12:00
danzel
d18f6249b2
Add aria-haspopup to layers dialog, fixes it not working on WinPhone8/IE10 Touch devices. Fixes #1539
2013-04-30 15:31:08 +12:00
Xelio
f7e18a109c
L.Control.Layers: 'overlayadd' and 'overlayremove' event should also fire on external overlay changes.
2013-04-30 01:14:17 +08:00
Vladimir Agafonkin
4224b9a5ce
Merge pull request #1633 from stuporglue/divicon_0
...
Allow value of 0 in L.DivIcon's html parameter
2013-04-29 05:25:33 -07:00
Michael Moore
c1919087fa
Allow value of 0 in L.DivIcon's html parameter
2013-04-29 07:19:10 -05:00
Vladimir Agafonkin
8c7126af26
Merge pull request #1632 from tjoekbezoer/master
...
Issue #1631 : Fixed a bug on removeEventListener
2013-04-29 05:15:52 -07:00
Daan Mortier
c6620859e4
Updated patch for issue #1631 based on feedback
2013-04-29 13:03:05 +02:00
Daan Mortier
52498f1ef9
Issue #1631 : Fixed a bug on removeEventListener
...
Bugfix for issue #1631 where removeEventListener would throw when no event listeners are registered on the object.
2013-04-29 11:53:16 +02:00
Vladimir Agafonkin
b7807dcaa7
Merge pull request #1630 from danzel/gh-pages-fix
...
Mention that the baselayerchange event is fired on the map object. Fixes #1625
2013-04-28 23:27:02 -07:00
danzel
9245ceeb22
Mention that the baselayerchange event is fired on the map object. Fixes #1625
2013-04-29 10:24:10 +12:00
Vladimir Agafonkin
b31c9d50b8
add latlng to marker mouse events data, close #1613
2013-04-24 22:34:22 +03:00
Vladimir Agafonkin
f139eea41a
fix path canvas race condition, close #1615
2013-04-24 22:29:25 +03:00
Vladimir Agafonkin
ddabd1b445
wrap tile bounds when checking against layer bounds, close #1618
2013-04-24 22:26:52 +03:00
Vladimir Agafonkin
05bbb68cd8
rename zoom/panOptions to zoom/pan in setView options
2013-04-24 18:13:36 +03:00
Vladimir Agafonkin
9660f75642
update build
2013-04-24 17:10:59 +03:00
Vladimir Agafonkin
55d95d1362
options in view change methods, ability to turn on/off animation, closes #1616
2013-04-24 16:24:56 +03:00
Vladimir Agafonkin
c6e9702a08
fix bug that prevented tile loading during pan animation
2013-04-24 13:00:42 +03:00
Vladimir Agafonkin
323245ffc3
define Leaflet as an AMD module as well, close #1364
2013-04-23 13:20:19 +03:00
Vladimir Agafonkin
a2e120285e
disable permalink icon on all h2 headers except on API page
2013-04-23 12:24:50 +03:00
Vladimir Agafonkin
33b44332fc
make subdomain in url template description clearer, close #1441
2013-04-23 12:21:50 +03:00
Vladimir Agafonkin
b61b7b4757
don't scroll to top of the map on focus, close #1228 , close #1540
2013-04-23 11:57:42 +03:00
Vladimir Agafonkin
4f15e19d17
fix Popup autoPan regression
2013-04-22 19:23:14 +03:00
Vladimir Agafonkin
94098134a6
fix regression in Map hasLayer
2013-04-22 19:20:19 +03:00
Vladimir Agafonkin
113e55c62a
better property name
2013-04-22 18:24:55 +03:00
Vladimir Agafonkin
6fa08d31c6
prevent setView after geolocation if called stopLocate, close #747
2013-04-22 18:24:11 +03:00
Vladimir Agafonkin
110bfb3a30
update build
2013-04-22 17:50:56 +03:00
Vladimir Agafonkin
557ebaad3c
cleanup, utilize factories more
2013-04-22 17:49:03 +03:00
Vladimir Agafonkin
29239891d8
minor cleanup
2013-04-22 17:20:34 +03:00
Vladimir Agafonkin
83539136a7
normalize point in Point equals and contains methods
2013-04-22 17:16:14 +03:00
Vladimir Agafonkin
2ec3dc57c0
update build
2013-04-22 17:08:19 +03:00
Vladimir Agafonkin
eafa54635b
simplify fitBounds-related code, fix typo
2013-04-22 17:06:42 +03:00
Vladimir Agafonkin
de0cd66f88
Add padding options for map.fitBounds/getBoundsZoom, close #859
...
Also make fitBounds accept ILayer, and fix bounds for fitWorld, close
#960
2013-04-22 15:21:30 +03:00
Vladimir Agafonkin
d91f56009b
add popup open and close events, close #612
2013-04-20 17:18:17 +03:00
Vladimir Agafonkin
3caa19d613
add map.openPopup(content, latlng) convenience
2013-04-20 17:08:52 +03:00
Vladimir Agafonkin
9ac57e04f4
move Map control methods to Control.js
2013-04-20 17:04:17 +03:00
Vladimir Agafonkin
7cb7993571
simplify popup methods, merge #738
2013-04-20 16:58:42 +03:00
Vladimir Agafonkin
5c539bdebb
fixed typo in GeoJSON coordsToLatLngs
2013-04-20 15:49:04 +03:00
Vladimir Agafonkin
96748cd5b0
add GeoJSON coordsToLatLng option, close #888 , close #866
2013-04-20 15:45:04 +03:00
Vladimir Agafonkin
77efbb8765
add Popup keepInView option, close #1308
2013-04-20 14:50:33 +03:00
Vladimir Agafonkin
ff214407eb
add ie and safari to jake test platforms
2013-04-20 13:44:31 +03:00
Vladimir Agafonkin
02ff217bac
improve contribution guide, update tests/coverage notes
2013-04-20 13:27:16 +03:00
Vladimir Agafonkin
6fee334ff2
Merge branch 'master' of github.com:danzel/Leaflet
...
* 'master' of github.com:danzel/Leaflet:
Add how to run the tests and get test coverage to CONTRIBUTING. Not my finest writing, but a start at least hopefully :-)
Add the output of "jake test --cov" to gitignore.
2013-04-20 13:08:48 +03:00
Vladimir Agafonkin
bd0bc4f2e5
fire load before viewreset/moveend
2013-04-20 12:07:00 +03:00
Vladimir Agafonkin
340dacde81
remove hasOwnProperty checks, close #1606
2013-04-20 11:32:23 +03:00
Vladimir Agafonkin
dfed54a00d
Merge pull request #1607 from kristerkari/fix-js-lazyeval
...
Fix regexes that break Leaflet inside a multi line comment block, fixes #1288
2013-04-19 16:43:36 -07:00
Krister Kari
dc07a68ed0
Modify or replace regexes that break javascript lazy evaluation with multi line comments
2013-04-20 02:01:56 +03:00
Krister Kari
904bf581dd
Add L.Util.trim
2013-04-20 01:57:57 +03:00
Vladimir Agafonkin
e47ca1178c
update build
2013-04-19 20:17:13 +03:00
Vladimir Agafonkin
412f047533
Merge pull request #1462 from jfirebaugh/toGeoJSON
...
Add #toGeoJSON to various layer types (#712 )
2013-04-19 09:55:40 -07:00
Vladimir Agafonkin
cdd61cebea
update build
2013-04-19 19:48:21 +03:00
Vladimir Agafonkin
cb0d15bd7e
optimize marker icon source with svgo
2013-04-19 19:47:28 +03:00
Vladimir Agafonkin
ad4f0e6184
rename retina marker image, close #1552 , close #1553
2013-04-19 19:44:18 +03:00
Vladimir Agafonkin
ba4d356266
fix tilelayer load event #1565
2013-04-19 19:38:51 +03:00
Vladimir Agafonkin
b0d3e8bc25
fix typo
2013-04-19 18:13:37 +03:00
Vladimir Agafonkin
5647f37ae6
cleanup and merge #1596 , adds Events#once
2013-04-19 17:23:45 +03:00
Vladimir Agafonkin
a5e8bc0f49
add Util.invokeEach for hash arguments in event methods
2013-04-19 17:23:14 +03:00
Vladimir Agafonkin
e01fe91a33
fix fitBounds for large bounds, close #1069 , thanks to @MaZderMind
2013-04-19 15:43:39 +03:00
Vladimir Agafonkin
5ded0ba150
more draggable cleanup
2013-04-19 15:36:18 +03:00
Vladimir Agafonkin
81e2a33f7d
cleanup draggable
2013-04-19 14:45:01 +03:00
Vladimir Agafonkin
d856e8814e
don't animate if zoom difference is too large, close #1377
...
also adds zoomAnimationThreshold map option (defaults to 4)
2013-04-19 12:47:55 +03:00
Vladimir Agafonkin
2a0e284e72
bring autopanstart event back, close #1375
2013-04-19 11:51:59 +03:00
Vladimir Agafonkin
30fe673ca2
don't remove layer grom a group if it doesn't belong to it, close #1383
2013-04-19 11:44:33 +03:00
Vladimir Agafonkin
db6d689ad8
fix lots of maxBounds issues, close #1491 , close #1475 , close #1194 , close #900 , #1333
2013-04-18 17:05:47 +03:00
Vladimir Agafonkin
0b1bc7a94c
add resize event, close #1564
2013-04-18 15:26:45 +03:00
Vladimir Agafonkin
b1a31fa5e4
fix tilelayer anim glitch, close #1548
2013-04-18 15:19:38 +03:00
Vladimir Agafonkin
55ed23c560
major changelog update
2013-04-18 12:43:40 +03:00
Vladimir Agafonkin
9b761b0ca1
more events code cleanup
2013-04-18 11:15:33 +03:00
Vladimir Agafonkin
4401e63b87
refactor and simplify events code
2013-04-17 20:12:26 +03:00
Vladimir Agafonkin
443d43cce9
Merge pull request #1599 from iirvine/clear-event-listeners
...
Events#clearAllListeners
2013-04-17 09:02:18 -07:00
iirvine
f342e7efa4
simplify
2013-04-17 08:27:30 -07:00
Vladimir Agafonkin
54d28b01d0
Merge pull request #1601 from aparshin/gh-pages-canvas
...
Extend description of L.TileLayer.Canvas
2013-04-17 05:52:07 -07:00
Alexander Parshin
8a357ad7f3
Extend description of L.TileLayer.Canvas
2013-04-17 00:29:02 +04:00
iirvine
59b5e0c003
fix jshint
2013-04-15 14:09:32 -07:00
iirvine
84ad7db070
clearEventListeners -> clearAllListeners
2013-04-15 14:09:32 -07:00
iirvine
2d5bf783fe
initial commit of #clearEventListeners
2013-04-15 14:09:32 -07:00
Vladimir Agafonkin
f25c983cbb
Merge pull request #1594 from danzel/zoom-fixes
...
Fix touch zooming while zoom animation is playing. Fixes #1591 #1571
2013-04-15 13:27:01 -07:00
danzel
989d9b9763
Fix up brace position
2013-04-16 08:25:22 +12:00
Vladimir Agafonkin
49091c0257
Merge pull request #1598 from bpavot/webview-click-fix
...
Android webview fix : Use originalEvent when needed to find timestamp
2013-04-15 10:25:20 -07:00
bpavot
fd080abffc
Android webview fix : Use originalEvent when needed to find timestamp
2013-04-15 11:53:29 +02:00
Vladimir Agafonkin
0063f8b74a
Merge pull request #1595 from glenrobertson/gh-pages
...
Added GeoJSON tile layer plugin
2013-04-14 23:37:32 -07:00
iirvine
031086681f
fix our context to the object that's registering this listener
2013-04-14 20:49:57 -07:00
iirvine
76140994e4
fixing jshint errors
2013-04-14 20:48:48 -07:00
Glen Robertson
5ba1fd53a8
Added GeoJSON tile layer to plugins.
2013-04-15 14:17:50 +12:00
danzel
b0c70f96ad
Update TouchZoomEmu with more crazy tests. Useful when debugging touch zoom behaviour
2013-04-15 11:54:43 +12:00
danzel
b36d973d14
Better fixes for touchzoom while zooming. If we got a touchmove and touchend in series before the animation frame for the touchmove fired then we'd get into a broken state.
2013-04-15 11:53:31 +12:00
iirvine
ffe1d79671
damn my coffeescript brainfarts
2013-04-14 16:30:03 -07:00
danzel
633ae89b8e
Fix touch zooming while zoom animation is playing. Fixes #1591 #1571
2013-04-15 09:57:47 +12:00
John Firebaugh
5925a43c2b
Add .npmignore
...
Without a .npmignore, the default is to ignore what's in
.gitignore, which includes dist/*.js, which should not
be npm-ignored.
2013-04-14 13:22:58 -07:00
iirvine
a469a387a1
back to first implementation to fix event leak
2013-04-13 22:11:01 -07:00
iirvine
e25f730b04
better implementation, more tests
2013-04-12 17:03:14 -07:00
iirvine
e41e8a886a
initial implementation of events#once
2013-04-12 15:21:48 -07:00
Vladimir Agafonkin
dc2532e846
Merge pull request #1587 from snkashis/patch-1
...
Fixed typo reference.html You = Use
2013-04-11 05:47:17 -07:00
Steve
5c00606a1d
Fixed typo reference.html You = Use
2013-04-11 13:50:05 +03:00
Vladimir Agafonkin
54b2887667
update build
2013-04-11 13:29:41 +03:00
Vladimir Agafonkin
b0fe4e5990
cleaner jshint config
2013-04-11 13:29:19 +03:00
Vladimir Agafonkin
c4dc595490
more strict jshinting, enforce single quotes and camelCase for consistency
2013-04-11 12:45:52 +03:00
Vladimir Agafonkin
c6cdd66e2d
add map setZoomAround, merge #1582 , close #1157
2013-04-11 12:07:07 +03:00
Ansis Brammanis
6c53aa6867
dblclicking now zooms around mouse, not centre
2013-04-10 17:09:31 -04:00
Vladimir Agafonkin
dea408ad59
Merge pull request #1581 from jfirebaugh/getLayerId
...
Permit layer stamping to be overridden
2013-04-10 09:59:41 -07:00
John Firebaugh
786faddc84
Permit layer stamping to be overridden
2013-04-10 12:28:27 -04:00
Vladimir Agafonkin
4b2495abbf
Merge pull request #1579 from AndreyChizh/patch-1
...
MapAnimationZoom -> AnimationZoom
2013-04-09 05:15:42 -07:00
Andrey Chizh
6fc5da68f0
Update deps.js
...
In module TouchZoom in deps specified old module name "MapAnimationZoom". Should be "AnimationZoom".
2013-04-09 13:51:44 +03:00
Vladimir Agafonkin
3231f92c24
Merge pull request #1573 from jfirebaugh/prepublish
...
Add prepublish script to package.json
2013-04-08 13:48:00 -07:00
Vladimir Agafonkin
386bf68386
Merge pull request #1574 from tmcw/map-initialization-exception
...
Throw an exception if a map div is not found and test for initialization exceptions
2013-04-08 13:46:53 -07:00
Vladimir Agafonkin
ce96bd3d43
Merge pull request #1575 from cschwarz/patch-1
...
Fixed zoom out on Windows 8 with Firefox
2013-04-08 13:46:23 -07:00
Christian Schwarz
48bec16f49
Fixed zoom out on Windows 8 with Firefox
...
Firefox receives wheel delta of 0.33 on zoom in and -0.33 on zoom out, which turns into Math.ceil(0.33) == 1 and Math.round(-0.33) == 0. After this fix it returns correctly -1 for zooming out.
Worked fine before and after this fix in Chrome and Internet Explorer.
2013-04-08 23:33:53 +03:00
Tom MacWright
22810aacf7
Throw an exception if a map div is not found
...
and test for initialization exceptions
2013-04-08 12:28:27 -04:00
John Firebaugh
618bb4aa77
Add prepublish script to package.json
...
Also, npm scripts are run in an environment with node_module
binaries in the path, so just "jake test" and "jake" are sufficient.
https://npmjs.org/doc/scripts.html
2013-04-08 11:25:32 -04:00
Vladimir Agafonkin
892ed86fb3
Merge pull request #1572 from jfirebaugh/browserify
...
Compatibility with browserify
2013-04-08 08:02:30 -07:00
John Firebaugh
e6998948b1
Compatibility with browserify
...
In a browserify package, `this` will refer to a node-style
exports object, not window. So just reference `window`
directly.
2013-04-08 10:49:39 -04:00
Vladimir Agafonkin
60a906a239
switch to Node 0.10 for Travis
2013-04-05 12:51:40 +03:00
Vladimir Agafonkin
6009d4ae87
move phantomjs check for touch into Leaflet
...
to allow standalone mocha-phantomjs usage on the browser reporter
2013-04-05 12:32:19 +03:00
Vladimir Agafonkin
bde0692236
always show master branch image for Travis status
2013-04-05 12:08:25 +03:00
John Firebaugh
0e9b7249d8
Convert to expect.js assertions
2013-04-04 09:47:45 -07:00
John Firebaugh
55edd44678
Add #toGeoJSON to various layer types ( #712 )
2013-04-04 09:46:18 -07:00
Vladimir Agafonkin
6c7316dfec
fix coverage reporting in Karma #1479 , close karma-runner/karma#461
2013-04-04 12:18:17 +03:00
Vladimir Agafonkin
8b9eb1bea1
Merge pull request #1479 from Leaflet/mocha
...
Mocha
2013-04-04 01:36:36 -07:00
John Firebaugh
81f21125d4
Update specs for mocha
2013-04-03 15:22:45 -07:00
John Firebaugh
a950e6873e
Manage mocha dependency with npm; update to 1.9.0
2013-04-03 15:20:15 -07:00
John Firebaugh
a8ca5a2dbf
Update mocha.js
2013-04-03 14:50:10 -07:00
Vladimir Agafonkin
80ba8d9054
remove testacular master hack (as 0.6 is now stable)
2013-04-03 14:50:10 -07:00
Tom MacWright
8691889d49
Proper default for delta
2013-04-03 14:50:10 -07:00
Tom MacWright
bf99fdb70e
Tighter tolerance for point-near check
2013-04-03 14:50:10 -07:00
Tom MacWright
a3ab4b1095
Fix mercator tests, these are broken in Leaflet master.
2013-04-03 14:50:10 -07:00
Tom MacWright
a2f7d7e834
Use mocha
2013-04-03 14:50:09 -07:00
Vladimir Agafonkin
b84be89095
Merge pull request #1568 from jfirebaugh/karma
...
testacular -> karma
2013-04-03 14:38:15 -07:00
John Firebaugh
28daa9e9b1
testacular -> karma
2013-04-03 14:12:51 -07:00
Vladimir Agafonkin
c0d01ceffe
remove testacular master hack (as 0.6 is now stable)
2013-04-03 14:12:13 -07:00
Vladimir Agafonkin
0bf5e3d555
Merge pull request #1566 from leplatrem/patch-5
...
Add Leaflet.FileLayer plugin
2013-04-03 08:17:41 -07:00
Mathieu Leplatre
c8c76e3a8f
Add Leaflet.FileLayer plugin
2013-04-03 17:56:02 +03:00
Vladimir Agafonkin
ed8947f45d
Merge pull request #1558 from Zverik/gh-pages
...
TileLayer.Grayscale for plugins.md
2013-04-01 02:12:29 -07:00
Vladimir Agafonkin
b51239a4b4
Merge pull request #1562 from AndreyChizh/patch-1
...
Module AnimationPan is defined as dependent on itself
2013-04-01 02:11:52 -07:00
Andrey Chizh
eafede40d4
Update deps.js
...
The description refers to the module dependency on itself
2013-04-01 12:01:16 +03:00
Ilya Zverev
dbb66404cf
TileLayer.Grayscale for plugins.md
2013-03-29 14:03:25 +04:00
Vladimir Agafonkin
c247dfdb2c
Merge pull request #1537 from dotCypress/master
...
Popup close button fix
2013-03-28 13:35:11 -07:00
Vladimir Agafonkin
f1c7b47fc3
Merge pull request #1556 from tmcw/leafletpip
...
Add leaflet-pip
2013-03-28 13:34:57 -07:00
Tom MacWright
91b0267569
Add leaflet-pip
2013-03-28 12:55:06 -04:00
Vladimir Agafonkin
0aed98f7d2
Merge pull request #1554 from olegsmith/master
...
Support functions in L.Util.template
2013-03-28 04:24:40 -07:00
Oleg Smith
ea926000f8
Strage behavior of inplace github editor
2013-03-28 15:23:03 +04:00
olegsmith
683642d7e4
Remove trailing whitespace in fix
2013-03-28 15:01:15 +04:00
Vladimir Agafonkin
28d047da74
update build again
2013-03-28 11:11:46 +02:00
Vladimir Agafonkin
547e9936f2
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
* 'master' of https://github.com/Leaflet/Leaflet :
fix enable/disable of marker dragging
2013-03-28 11:11:18 +02:00
Vladimir Agafonkin
28b4854332
update build
2013-03-28 11:10:58 +02:00
Vladimir Agafonkin
08a8c39088
fix moveend not always firing on drag
2013-03-28 11:10:44 +02:00
Vladimir Agafonkin
f1b57f3013
update jake (prev version was having some problems building Leaflet)
2013-03-28 11:10:25 +02:00
olegsmith
d125152c4b
Extend L.Util.template
...
Look at hash function in Wikimapia
L.tileLayer('http://{s}{hash}.wikimapia.org/?x={x}&y={y}&zoom={z}&r=7071412&type=hybrid&lng=1 ', {
hash: function (data) {
return data.x % 4 + (data.y % 4) *4;
}
, subdomains : 'i'
, maxZoom: 18
, attribution: '<a href="http://wikimapia.org " target="_blank">Wikimapia.org</a>'
}).addTo(map);
http://olegsmith.github.com/leaflet.wikimapia/
2013-03-28 11:03:57 +04:00
Vladimir Agafonkin
c12c653eaa
Merge pull request #1551 from escaped/master
...
fix enable/disable of marker dragging
2013-03-27 15:27:33 -07:00
Alexander frenzel
d904859ba3
fix enable/disable of marker dragging
2013-03-27 21:03:05 +01:00
Vladimir Agafonkin
3c13569147
update cloudmade API key on all debug pages
2013-03-22 16:27:07 +02:00
Vladimir Agafonkin
b25d89dcf9
update CloudMade API key
2013-03-22 16:25:33 +02:00
Vladimir Agafonkin
350969839d
update CloudMade register link
2013-03-22 16:25:32 +02:00
Vladimir Agafonkin
a5a8ca5486
Merge pull request #1535 from leplatrem/patch-4
...
Add Leaflet.RestoreView
2013-03-20 10:34:46 -07:00
Vitaly Domnikov
b1742194f4
Popup close button bugfix
2013-03-20 16:24:47 +02:00
Mathieu Leplatre
bd5963ecc6
Add Leaflet.RestoreView
2013-03-19 16:57:55 +01:00
Vladimir Agafonkin
7138998314
Merge pull request #1534 from lvoogdt/patch-3
...
AwesomeMarkers works with bootstrap and retina displays
2013-03-19 02:26:50 -07:00
Lennard Voogdt
8df44d56ee
AwesomeMarkers works with bootstrap and retina displays
2013-03-19 09:25:39 +01:00
Vladimir Agafonkin
b657f32020
Merge pull request #1532 from malexeev/master
...
Somewhat "safer" _getSubdomain method - now it works even when (tilePoint.x + tilePoint.y) is negative.
2013-03-18 14:26:07 -07:00
malexeev
e110c7bbfe
safer _getSubdomain
...
Note that (tilePoint.x + tilePoint.y) might be negative in some cases (custom CRS with tiled WMS).
2013-03-18 22:54:52 +02:00
Vladimir Agafonkin
a1acaffdf1
Merge pull request #1514 from danzel/featuregroup
...
Fix adding/removing events on an unstamped context
2013-03-18 12:48:11 -07:00
danzel
a6a4fe5219
Use L.stamp to always have a stamped context on removal too.
2013-03-19 08:33:26 +13:00
Vladimir Agafonkin
7b4141a5f8
Merge pull request #1530 from sfairgrieve/gh-pages
...
Added a plugin link to the Leaflet Data Visualization Framework
2013-03-18 05:49:07 -07:00
Scott Fairgrieve
835d4a5713
Added link to the Data Visualization Framework
2013-03-18 08:44:50 -04:00
Vladimir Agafonkin
a26b7e63be
Merge pull request #1528 from k4r573n/gh-pages
...
Added plugin: OSM-Geocoder
2013-03-18 02:20:55 -07:00
Karsten Hinz
69b26c0888
Added control-osm-geocoder plugin to plugins.md
2013-03-18 00:04:15 +01:00
Vladimir Agafonkin
21f7fed0e2
Merge pull request #1525 from aparshin/patch-1
...
Misprint in event name
2013-03-17 03:13:26 -07:00
Alexander Parshin
b0aaf9df82
Misprint in event name
2013-03-17 06:13:59 +04:00
Vladimir Agafonkin
fc2d62ce25
Merge pull request #1523 from lvoogdt/patch-2
...
Added Awesome-Markers plugin to plugins.md
2013-03-15 17:45:28 -07:00
lvoogdt
0b60d9de8f
Added Awesome-Markers plugin to plugins.md
2013-03-16 01:25:40 +01:00
danzel
9d4d894450
Add another events test and fix from @iirvine
2013-03-15 13:53:03 +13:00
Dave Leaver
f3cbae8012
Merge pull request #1515 from calvinmetcalf/plugin-location-changes
...
moved 2 of my plugins to a joint org
2013-03-13 12:42:46 -07:00
Calvin Metcalf
c128d519b3
moved 2 of my plugins to a joint org
2013-03-13 13:43:33 -04:00
danzel
5bbfbd9573
Fix whitespace for jshint
2013-03-13 13:08:59 +13:00
danzel
8e65fe7a89
Always stamp the context in addEventListener, makes the optimisation always apply if there is a context.
2013-03-13 10:09:09 +13:00
danzel
44cbed0b5e
Replace the FeatureGroup test with a better one in events, this one currently fails
2013-03-13 10:08:04 +13:00
danzel
5269f10885
Fix for #1495
2013-03-12 17:36:17 +13:00
danzel
e2a852639a
Add failing test case for #1495 from @iirvine
2013-03-12 17:24:46 +13:00
danzel
9300c58262
Fix copy/paste bug
2013-03-12 17:12:06 +13:00
Vladimir Agafonkin
2816c90a58
Merge pull request #1510 from leplatrem/patch-3
...
Add Leaflet.LayerIndex plugin
2013-03-08 02:38:31 -08:00
Mathieu Leplatre
badd874265
Add Leaflet.LayerIndex plugin
2013-03-08 10:50:56 +01:00
Vladimir Agafonkin
81221ae4cd
fix jshint 1.1.0 errors, update deps and build
2013-03-07 17:39:55 +02:00
Vladimir Agafonkin
2a8363b568
Merge pull request #1506 from leplatrem/patch-2
...
Add Leaflet.Spin plugin
2013-03-07 01:29:52 -08:00
Mathieu Leplatre
5643fb8a9f
Add Leaflet.Spin plugin
2013-03-07 10:27:10 +01:00
Vladimir Agafonkin
b3179548cd
Merge pull request #1501 from rassie/patch-1
...
Disable 3D CSS transforms on PhantomJS
2013-03-06 07:06:44 -08:00
Vladimir Agafonkin
14a2419225
Merge pull request #1496 from arthur-e/gh-pages
...
Added Wicket as an available plug-in to the list of plug-ins
2013-03-06 06:59:47 -08:00
Vladimir Agafonkin
fe2a7a87dc
Merge pull request #1499 from leplatrem/patch-1
...
Add Leaflet.TextPath plugin
2013-03-06 06:59:24 -08:00
Nikolai Prokoschenko
1c8e0c6901
Disable 3D CSS transforms on PhantomJS
...
PhantomJS does not support 3D CSS transform even though it's a Webkit product. This patch detects PhantomJS in the user agent and disables 3D transforms.
Details on PhantomJS support are here: https://groups.google.com/forum/#!msg/phantomjs/h7-4-CWsy1g/KX1tlf5gT5IJ
2013-03-06 13:09:35 +01:00
Mathieu Leplatre
79a15d7de2
Add Leaflet.TextPath plugin
2013-03-06 12:14:14 +01:00
arthur-e
603fecc6cd
Added Wicket to the plug-ins list (plugins.md)
2013-03-05 18:30:07 -05:00
Vladimir Agafonkin
bf54caa1e9
Merge pull request #1490 from danzel/oldie-fixes
...
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 01:36:27 -08:00
danzel
0b0cce929e
Fix opacity in oldie for the millionth time. Refs #1486
2013-03-05 09:47:46 +13:00
Vladimir Agafonkin
242919d26b
Merge pull request #1487 from danzel/zoom-fixes
...
Fix zooming on browsers without zoom animation support. Refs #1486
2013-03-04 12:44:03 -08:00
danzel
9ae07469c5
Fix zooming on browsers without zoom animation support. Refs #1486
2013-03-05 09:29:41 +13:00
Vladimir Agafonkin
cc636864e5
Merge pull request #1478 from tmcw/permalinks
...
Auto-link h2s with ids in documentation.
2013-03-01 11:31:02 -08:00
Tom MacWright
938e8833ef
Auto-link h2s with ids in documentation.
2013-03-01 14:20:24 -05:00
Vladimir Agafonkin
224810af32
Merge pull request #1476 from jwalgran/master
...
Add main to package.json
2013-03-01 01:50:03 -08:00
Justin Walgran
360fb06620
Add main to package.json
...
In order to require() and use Leaflet via browserify requires
that the package define a main entry point for the module.
2013-02-28 20:43:36 -05:00
Vladimir Agafonkin
b993f1fc4b
Merge pull request #1471 from snkashis/drag_handling
...
handle drag listeners properly to avoid errors on marker removal
2013-02-28 03:25:04 -08:00
snkashis
1df4c4a98f
work with handlers in right place
2013-02-28 11:01:26 +00:00
snkashis
71167baa52
move test location
2013-02-28 10:47:39 +00:00
snkashis
ed08a5b1dc
call disable, not removeHooks
2013-02-28 10:46:54 +00:00
snkashis
95c73a3d77
handle drag handlers properly to avoid errors if moving while removed.
2013-02-28 10:38:27 +00:00
Vladimir Agafonkin
747bd030f8
Merge pull request #1469 from tmcw/getlayers
...
Add layerGroup#getLayers and tests. Fixes #1460
2013-02-27 14:15:12 -08:00
Tom MacWright
71d17180c8
Add layerGroup#getLayers and tests. Fixes #1460
2013-02-27 17:10:19 -05:00
Vladimir Agafonkin
b7701d1d86
Merge pull request #1468 from pagameba/patch-1
...
Update src/dom/DomEvent.js
2013-02-27 12:45:07 -08:00
Paul Spencer
2ba0422e9d
Update src/dom/DomEvent.js
...
return this from removeListener when there is no handler so that chained calls still work in other places in the code such as removeHooks() inside the keyboard handler. If you call removeHooks() twice on the keyboard handler, you will get a javascript error in the second chained .off() call.
2013-02-27 13:55:04 -05:00
Vladimir Agafonkin
ff479f055e
Merge pull request #1467 from jfirebaugh/1459
...
Normalize polygon holes (fixes #1459 )
2013-02-27 08:33:53 -08:00
John Firebaugh
5e7857cdff
Normalize polygon holes ( fixes #1459 )
2013-02-27 08:12:18 -08:00
Vladimir Agafonkin
ac5d8fef0d
update build
2013-02-27 17:21:23 +02:00
Vladimir Agafonkin
42973e7e4c
Merge branch 'master' of https://github.com/Leaflet/Leaflet
...
# By John Firebaugh
# Via Vladimir Agafonkin (2) and John Firebaugh (1)
* 'master' of https://github.com/Leaflet/Leaflet :
Add Map#eachLayer (fixes #1457 )
Fix whitespace
Use devDependencies
2013-02-27 17:18:48 +02:00
Vladimir Agafonkin
f4e8735547
clean up the canvas hovering code
2013-02-27 17:17:37 +02:00
Vladimir Agafonkin
1d4e91f9fa
fix events not overwriting target/type
2013-02-27 16:34:40 +02:00
Vladimir Agafonkin
6fff98435c
Merge branch 'canvas_path_cursor' of github.com:snkashis/Leaflet into canvas-hover
...
* 'canvas_path_cursor' of github.com:snkashis/Leaflet:
mouseout firing
mistaken, unneeded test file.
don't perform if animatingZoom
dupe of 50K vector test, for canvas.
Hand cursor for canvas paths
2013-02-27 16:13:50 +02:00
Vladimir Agafonkin
a6bc979bef
Merge pull request #1458 from jfirebaugh/package.json
...
Use devDependencies
2013-02-27 02:47:46 -08:00
Vladimir Agafonkin
99abc3e01d
Merge pull request #1457 from jfirebaugh/eachLayer
...
Map#eachLayer?
2013-02-27 02:37:33 -08:00
John Firebaugh
511fbb9f44
Add Map#eachLayer ( fixes #1457 )
2013-02-26 11:39:00 -08:00
John Firebaugh
bee90ce0e5
Fix whitespace
2013-02-26 11:31:23 -08:00
John Firebaugh
d5d8b7f132
Use devDependencies
2013-02-26 11:18:30 -08:00
Vladimir Agafonkin
42904288c9
add package.json for publishing on npm
2013-02-26 18:41:59 +02:00
Vladimir Agafonkin
49ff676f9f
Merge pull request #1456 from maximeh/gh-pages
...
Add leaflet.bouncemarker to plugins page
2013-02-25 12:33:04 -08:00
Maxime Hadjinlian
173a5bf00c
Add leaflet.bouncemarker to plugins page
...
leaflet.bouncemarker make a marker bounce when its added to a map.
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
2013-02-25 21:22:08 +01:00
Vladimir Agafonkin
bba4f2ae1b
return this in LayerGroup eachLayer, close #1452
2013-02-25 19:26:35 +02:00
Vladimir Agafonkin
0a83b83237
fix whitespace
2013-02-25 12:45:33 +02:00
Vladimir Agafonkin
a169b6cb86
Merge pull request #991 from adimitrov/overlay_bounds
...
Add tileBounds option to limit tile loading to a given region
2013-02-25 02:23:11 -08:00
Vladimir Agafonkin
b913e1f2bc
Merge pull request #1453 from calvinmetcalf/providers-name
...
New link for providers plugin
2013-02-23 22:42:44 -08:00
Calvin Metcalf
31b6d0b81a
fixed link
2013-02-23 16:46:52 -05:00
Vladimir Agafonkin
e5845967cd
fil back buffer z-index issue
2013-02-22 19:03:52 +02:00
Vladimir Agafonkin
a2890d6c4b
cleanup and prettify animation code, more comments
2013-02-22 17:29:52 +02:00
Vladimir Agafonkin
9c2e7cfbd4
add Point contains method
2013-02-22 17:28:55 +02:00
Vladimir Agafonkin
4a6d4d3097
Merge pull request #1448 from muloka/patch-1
...
Added alternative heatmap layer plugin
2013-02-22 06:35:28 -08:00
Louis Galipeau
fa26e62a12
Added alternative heatmap layer plugin
2013-02-22 10:11:56 -04:00
Vladimir Agafonkin
f0a75c9d08
Merge pull request #1446 from jfirebaugh/unload
...
Fire an unload event on removal
2013-02-21 21:53:39 -08:00
John Firebaugh
46dddc895c
Fire an unload event on removal
...
Plugins that need to bind events to `window` or `document`
can attach a listener for this event and unbind their event
handlers.
However, for symmetry, unload is fired only if load has been
fired.
2013-02-21 17:31:09 -08:00
Vladimir Agafonkin
2aae4a0556
Merge pull request #1445 from jfirebaugh/zoom_style
...
Remove margin override for .leaflet-control-zoom
2013-02-21 14:15:26 -08:00
John Firebaugh
1bce0760b0
Remove margin override for .leaflet-control-zoom
...
It should have the same margins as other .leaflet-controls (10px).
2013-02-21 13:56:50 -08:00
Vladimir Agafonkin
92c55ce77b
Merge pull request #1444 from jfirebaugh/toolbar_style
...
Fix .leaflet-bar style for a single button bar
2013-02-21 13:42:20 -08:00
John Firebaugh
ade1ab2060
Fix .leaflet-bar style for a single button bar
...
Should have the same border radius on all corners.
2013-02-21 13:37:00 -08:00
Vladimir Agafonkin
92064ca43f
Merge pull request #1036 from stdavis/gh-pages-master
...
Documentation to reflect changes made in pull request #1028 . Added addit...
2013-02-21 04:41:53 -08:00
Vladimir Agafonkin
5558987272
fix geolocation accuracy bounds, add more event data, close #984 , related #584 , #987 , #1028
2013-02-21 14:41:26 +02:00
Vladimir Agafonkin
af4a4c74a3
Merge pull request #1295 from calvinmetcalf/gh-pages
...
Added sprite markers and css plugins
2013-02-21 01:38:01 -08:00
Vladimir Agafonkin
e87e010e7d
update changelog and build
2013-02-21 10:28:55 +02:00
Vladimir Agafonkin
3cc75db221
Merge pull request #1440 from danzel/zoom
...
Fix building without zoom animations enabled
2013-02-21 00:10:13 -08:00
Vladimir Agafonkin
9c9d4286a1
Merge pull request #1439 from danzel/convert_option
...
Make Polyline/Polygon not overwrite the source array
2013-02-21 00:08:48 -08:00
danzel
1681365040
Fix building without zoom animations enabled
2013-02-21 15:15:24 +13:00
mourner
16b09c758a
update changelog
2013-02-21 02:16:15 +02:00
Vladimir Agafonkin
5a22c25ab3
Merge pull request #1438 from yohanboniface/echap-boxzoom
...
Allow for cancelling a boxzoom being drawn pressing Escape key
2013-02-20 13:06:28 -08:00
Yohan Boniface
7fd4ca20fe
Allow for canceling a boxzoom being drawn pressing Escape key
2013-02-20 20:47:23 +01:00
Vladimir Agafonkin
501b179bbd
fix 404 error in TileLayer tests
2013-02-20 21:22:47 +02:00
Vladimir Agafonkin
5c18361aa2
fix typo, fix animated setView not converting latlng input
2013-02-20 20:54:12 +02:00
Vladimir Agafonkin
cf00a0113d
fix rounding error when changing zoom, close #426
2013-02-20 20:11:47 +02:00
Vladimir Agafonkin
97454596c6
fix whitespace, update build
2013-02-20 19:49:40 +02:00
Vladimir Agafonkin
36e59c2afb
minor WMS cleanup after merge
2013-02-20 19:48:33 +02:00
Vladimir Agafonkin
3063fd9192
Merge pull request #1433 from tmcw/layer-container
...
Add a public API for getContainer for TileLayer
2013-02-20 09:48:19 -08:00
Vladimir Agafonkin
874ec60aae
Merge pull request #1080 from brianhatchl/wms-tilesize-option-bug
...
fixed bug where wms tilesize option was ignored
2013-02-20 09:44:54 -08:00
Vladimir Agafonkin
06190b1ec8
Merge pull request #1434 from jfirebaugh/remove
...
Add Map#remove
2013-02-20 09:41:44 -08:00
Vladimir Agafonkin
e46de94873
add link to Leaflet.draw at the top
2013-02-20 19:19:16 +02:00
John Firebaugh
fb9450f975
Force touch support off for PhantomJS
...
PhantomJS has `'ontouchstart' in document.documentElement`, but
doesn't actually support touch.
http://code.google.com/p/phantomjs/issues/detail?id=375
https://github.com/ariya/phantomjs/pull/408
https://github.com/Leaflet/Leaflet/pull/1434#issuecomment-13843151
2013-02-20 09:17:06 -08:00
Vladimir Agafonkin
e92b79602e
Leaflet.draw post proof-reading and a couple of notes from me
2013-02-20 18:55:11 +02:00
Vladimir Agafonkin
e2e8554e1e
Merge pull request #1429 from jacobtoye/gh-pages-drawblog
...
Adds Leaflet.draw 0.2 blog post.
2013-02-20 08:43:54 -08:00
Vladimir Agafonkin
40a824fc97
refactor TileLayer animation, fix #1140 , #1437 , #52 , #1442
...
Refactored TileLayer animation so that it happens for each tile layer
independently instead of animating the parent of all tile layers. Moved
TileLayer animation code into a separate file (TileLayer.Anim.js).
Fixes loads of bugs and makes the code easier to understand.
2013-02-20 18:40:00 +02:00
jacobtoye
2257e427e7
Clear border from the controls (effect from include 2 leaflet.css versions)
2013-02-20 15:33:21 +13:00
Tom MacWright
d8fccfb3dc
Spacing.
2013-02-19 21:15:36 -05:00
jacobtoye
5204df9ed6
Fixing links
2013-02-20 15:14:39 +13:00
jacobtoye
e07330e4d1
Bring in the master version of Leaflet for this page. + fix typo
2013-02-20 15:12:42 +13:00
jacobtoye
51130a814a
Revert "Update Leaflet to master for testing [TEMP]"
...
This reverts commit c3eea648bd
.
2013-02-20 15:11:54 +13:00
John Firebaugh
6ef25866eb
Add Map#remove
...
This is a minimal implementation; it only unbinds events
and deletes the _leaflet flag from the container.
Refs #1101 .
2013-02-19 17:36:03 -08:00
Tom MacWright
8735b87980
Add public getContainer API to TileLayer, and test for it.
2013-02-19 20:05:44 -05:00
jacobtoye
fb369fdd1a
Renaming blog post to get the date right.
2013-02-20 11:19:31 +13:00
jacobtoye
edd04491d5
Remove built draw files and replacing with links gh-pages.
2013-02-20 11:18:31 +13:00
danzel
5873914062
Start on some Polyline/Polygon tests.
2013-02-20 11:03:37 +13:00
danzel
3afee7eb49
Allow overwriting the given array, for usage by spliceLatLngs.
2013-02-20 11:03:13 +13:00
snkashis
0fb7a13277
force new array
2013-02-20 10:38:44 +13:00
snkashis
57d42d1636
allow for no overwrite option in covertLatLngs
2013-02-20 10:38:43 +13:00
Vladimir Agafonkin
0b14d71d7a
Merge pull request #1427 from jfirebaugh/should
...
Omit "should" in spec descriptions
2013-02-19 12:54:33 -08:00
Dave Leaver
db2352ae9b
Merge pull request #1424 from tmcw/use-tobe
...
Use tobe instead of testing the result of an equality
2013-02-19 12:49:04 -08:00
John Firebaugh
01332ebead
Omit "should" in spec descriptions
...
The rationale is this: the spec string describes the expected
behavior unconditionally. The code examples, on the other hand,
set up an expectation that is tested with the call to the expect
method. The code examples can violate the expectation, but the
spec string does not. The value of the spec string is as clearly
as possible describing the behavior. Including “should” in that
description adds no value. (From http://rubyspec.org/style_guide/ )
2013-02-19 12:41:48 -08:00
Tom MacWright
a324759268
Use tobe instead of testing the result of an equality
2013-02-19 14:21:06 -05:00
Vladimir Agafonkin
b84b83bf93
fix setView test, #1420
2013-02-19 19:25:49 +02:00
Vladimir Agafonkin
e3d6dd688f
Merge pull request #1421 from tmcw/setview-test
...
Test setView. The setTimeout can be removed when #1420 is fixed.
2013-02-19 09:10:33 -08:00
Tom MacWright
1b03d5d0b4
Test setView. The setTimeout can be removed when #1420 is fixed.
2013-02-19 11:53:42 -05:00
Vladimir Agafonkin
8e176f48aa
Merge pull request #1419 from tmcw/test-jshint
...
Fix semicolons, breaking, whitespace, duplicate var statements.
2013-02-19 08:25:51 -08:00
Vladimir Agafonkin
3d26193d66
Prevent tile dragging in webkit, close #1406
2013-02-19 18:22:04 +02:00
Vladimir Agafonkin
aea0e3b05b
fix browser test runner, close #1418
2013-02-19 18:21:01 +02:00
Tom MacWright
0a2000166a
Fix semicolons, breaking, whitespace, duplicate var statements.
2013-02-19 11:18:15 -05:00
Vladimir Agafonkin
a0dd4a60e9
accept coordinates in form of simple objects, close #1412
2013-02-19 18:01:53 +02:00
Vladimir Agafonkin
5d41efe616
fix removeAttrubution, cover the control with tests, close #1410
2013-02-19 17:47:38 +02:00
Vladimir Agafonkin
c50410eadc
add Control getContainer, close #1409
2013-02-19 17:45:50 +02:00
Vladimir Agafonkin
d98b4ea035
throw meaningful exception on getCenter before setView, close #1395
2013-02-19 16:54:29 +02:00
danzel
c387c8ac09
Add how to run the tests and get test coverage to CONTRIBUTING. Not my finest writing, but a start at least hopefully :-)
2013-02-19 14:54:13 +13:00
danzel
66c3215a56
Add the output of "jake test --cov" to gitignore.
2013-02-19 12:02:40 +13:00
Vladimir Agafonkin
879b9f987b
make Leaflet mention in attribution much less obtrusive
2013-02-18 16:11:59 +02:00
Vladimir Agafonkin
684fd7c12f
Merge pull request #1405 from gismartware/master
...
Fix for issue #1404
2013-02-18 05:50:02 -08:00
fabriceds
2591f53a28
Fixes box-zooming in Firefox 18+
2013-02-18 14:38:11 +01:00
jacobtoye
37dd65ff6d
Minor article touch ups.
2013-02-18 15:47:38 +13:00
jacobtoye
c3eea648bd
Update Leaflet to master for testing [TEMP]
2013-02-18 15:43:04 +13:00
jacobtoye
c436dbb54e
Add in Leaflet.draw file for testing. [TEMP]
2013-02-18 15:34:47 +13:00
jacobtoye
074224656d
Rename Leaflet.draw guest post and update content.
2013-02-18 15:34:03 +13:00
snkashis
382a9965ef
mouseout firing
2013-02-17 21:25:11 -05:00
snkashis
dc5c3d9492
mistaken, unneeded test file.
2013-02-17 15:26:43 -05:00
snkashis
d010d586d0
don't perform if animatingZoom
2013-02-17 14:57:32 -05:00
snkashis
70968e06d4
dupe of 50K vector test, for canvas.
2013-02-17 14:40:25 -05:00
Vladimir Agafonkin
0b671a9b08
make zoom buttons listen to zoomlevelschange
2013-02-17 21:38:15 +02:00
snkashis
baeeddb078
Hand cursor for canvas paths
2013-02-17 14:21:27 -05:00
Vladimir Agafonkin
ee74309503
update build and changelog
2013-02-17 21:14:23 +02:00
Vladimir Agafonkin
e7376851c1
Merge pull request #1402 from snkashis/path_popups
...
allow Path.bindPopup to take existing popups as well.
2013-02-17 10:58:27 -08:00
snkashis
11195f4849
allow Path.bindPopup to take existing popups as well.
2013-02-17 13:31:27 -05:00
Vladimir Agafonkin
b94a4ea27b
update changelog
2013-02-17 18:45:36 +02:00
Vladimir Agafonkin
f12e7e65f3
Merge pull request #1400 from jfirebaugh/getTileUrl
...
Enable cleaner overriding of TileLayer#getTileUrl
2013-02-15 16:39:22 -08:00
Vladimir Agafonkin
26b026b1c3
Merge pull request #1399 from jfirebaugh/tabs_vs_spaces
...
2 space indents -> tabs
2013-02-15 16:31:22 -08:00
John Firebaugh
4f906246bf
Enable cleaner overriding of TileLayer#getTileUrl
...
Moved the called to _adjustTilePoint outside of getTileUrl,
and moved the call to _getZoomForUrl into _adjustTilePoint.
This allows getTileUrl to use x, y, z directly without any
calls to private methods.
2013-02-15 16:29:20 -08:00
John Firebaugh
e52bbd0b3a
2 space indents -> tabs
2013-02-15 16:22:45 -08:00
Vladimir Agafonkin
71ddece599
Merge pull request #1397 from tmcw/template-tests
...
Split template tests into logic groups, test for template without tokens.
2013-02-15 15:32:57 -08:00
Tom MacWright
eae5758ff4
Split template tests into logic groups, test for template without
...
tokens.
2013-02-15 17:38:11 -05:00
Dave Leaver
acf3413d7c
Merge pull request #1396 from danzel/oldie-fixes
...
Fix TileLayer opacity in IE7/8
2013-02-15 14:00:16 -08:00
danzel
aed9506ab0
TileLayer opacity fixes as per @javisantana in #1371 . Fixes #1084
2013-02-16 10:57:25 +13:00
Vladimir Agafonkin
5592467283
Merge pull request #1394 from uberbuilder/gh-pages
...
Fixed a typo in API documentation under "Custom Control Example"
2013-02-15 13:01:22 -08:00
Jeremy Iglehart
f664da6ebc
Fixed typo reference.html contructor = constructor
...
"If specify your own **contructor** for the control"
"If specify your own ***constructor*** for the control"
2013-02-15 15:44:10 -05:00
Vladimir Agafonkin
babf3320fe
Note about line endings in the contributing guide
2013-02-15 22:01:11 +02:00
Vladimir Agafonkin
703f8a3a43
Merge pull request #1384 from snkashis/svg_clicks
...
Allow clicks to pass thru non clickable paths
2013-02-15 07:38:27 -08:00
Vladimir Agafonkin
28fb2fa0e4
Merge pull request #1382 from moonlite/gh-pages-master
...
Add documentation for zoomlevelschange-event and add some missing </td>'s
2013-02-15 07:35:38 -08:00
Vladimir Agafonkin
3cef077128
Merge pull request #1385 from snkashis/bind_popup_option
...
Allow previously created popups to be used with bindPopup
2013-02-15 07:35:03 -08:00
Vladimir Agafonkin
b42559d816
Merge pull request #1386 from snkashis/click_while_open
...
Don't fade in a currently shown popup when clicking marker again
2013-02-15 07:31:35 -08:00
snkashis
1c38b896ba
Don't fade in a currently shown marker popup
2013-02-14 23:27:21 -05:00
snkashis
ae07e792af
Allow previously created popups to be used with bindPopup
2013-02-14 23:04:53 -05:00
jacobtoye
331b8bbab4
Adding initial draw for Leaflet.draw blog post.
2013-02-15 16:24:49 +13:00
snkashis
7472550087
Allow clicks to pass thru non clickable paths
2013-02-14 22:17:34 -05:00
Mattias Bengtsson
2f6b6d79ba
Add some missing (but not strictly mandatory) </td>'s
2013-02-15 01:34:29 +01:00
Mattias Bengtsson
30ab98e3ae
Document the zoomlevelschange event
2013-02-15 01:27:28 +01:00
Vladimir Agafonkin
a948379db8
Merge pull request #1376 from moonlite/zoomlevelschange-event
...
Zoomlevelschange event
2013-02-14 03:35:57 -08:00
Mattias Bengtsson
cbee6851c8
Don't expose getZoomLevels.
2013-02-14 12:00:08 +01:00
Vladimir Agafonkin
d8ef52b1b1
Merge pull request #1374 from oslek/move-events
...
Move events
2013-02-14 02:31:25 -08:00
Mattias Bengtsson
3a834d35cd
Add tests for the zoomlevelschanged-event.
2013-02-14 03:07:32 +01:00
Mattias Bengtsson
efe0c6f6ea
Fire zoomlevelschange event when zoomlevels are updated.
...
This is triggered when you remove a layer from a map with greater
zoom level coverage than the remainding layers or when you add a tilelayer
with greater zoomlevel coverage than the previous set of layers had.
2013-02-14 03:04:10 +01:00
oslek
c3ccf01a29
prevent extra movestart on inertia drag
2013-02-13 13:35:40 -08:00
Vladimir Agafonkin
b8b8d7b351
Merge pull request #1373 from snkashis/marker_popups
...
Allow popups that are bound to markers to have new content set
2013-02-13 13:29:28 -08:00
oslek
f7301fa267
fire dragend before moveend for consistency
2013-02-13 13:25:02 -08:00
oslek
2c11fdfa6d
prevent false move events in invalidateSize
2013-02-13 12:38:33 -08:00
snkashis
633e21d043
include conditional before trying to set content of popup
2013-02-13 14:08:45 -05:00
snkashis
dbd57c0b7b
Allow popups that are bound to markers to have new content set
2013-02-13 14:06:48 -05:00
Vladimir Agafonkin
52f61bf55a
Merge pull request #1372 from snkashis/zoom_with_layerswitch
...
Update zoom control buttons with proper state on baselayer switch
2013-02-13 07:27:12 -08:00
snkashis
a25cc9fb37
remove handler too
2013-02-13 10:21:29 -05:00
snkashis
3c5161feba
determine button disabled state on baselayer change
2013-02-13 10:19:37 -05:00
Vladimir Agafonkin
c2379a335d
Merge pull request #1367 from jacobtoye/MovePolylineEdit
...
Remove polyline edit
2013-02-11 13:11:33 -08:00
jacobtoye
0e0831c2c9
Removing editable polyline/polygon example.
2013-02-11 13:18:18 +13:00
jacobtoye
8440f5ba7c
Remove PolyEdit from the dependencies file for building.
2013-02-11 13:17:39 +13:00
jacobtoye
e13d5faa80
Remove Polyline.Edit file.
2013-02-11 13:17:11 +13:00
Vladimir Agafonkin
3bb34f3f55
Merge pull request #1365 from joschka/fix-viewport-offset
...
Fix viewport offset calculation in Firefox (fixes issue #1322 )
2013-02-09 12:47:17 -08:00
Joschka
06bb571095
Fix viewport offset calculation in Firefox (issue #1322 )
2013-02-09 18:51:00 +01:00
Vladimir Agafonkin
4249921e57
Merge pull request #1359 from danzel/fix-events
...
Change _propagateEvent to be careful that it doesn't overwrite e.layer
2013-02-08 04:08:38 -08:00
danzel
513c6ca4cd
Change _propagateEvent to be careful that it doesn't overwrite e.layer if it is already set. Allows markers to be in multiple FeatureGroups and have the events come through correctly. See the test for details.
...
Fixes Leaflet.markercluster#128 ( https://github.com/Leaflet/Leaflet.markercluster/issues/128 )
2013-02-08 14:44:28 +13:00
Vladimir Agafonkin
bef8ab6a24
fix package.json version to make Travis happy
2013-02-07 22:31:44 +02:00
Vladimir Agafonkin
4492d8f92d
update Jakefile comment
2013-02-07 19:00:15 +02:00
Vladimir Agafonkin
efbdfd89a7
update changelog with 0.5.1 info
2013-02-06 16:06:06 +02:00
Vladimir Agafonkin
3d75852a90
Merge branch 'gh-pages' of https://github.com/Leaflet/Leaflet into gh-pages
...
# By Phillip Smith (1) and Yohan Boniface (1)
# Via Vladimir Agafonkin (2) and Yohan Boniface (1)
* 'gh-pages' of https://github.com/Leaflet/Leaflet :
Add getWest/South/East/North to reference
Bump leaflet links to 0.5
2013-02-06 16:03:28 +02:00
Vladimir Agafonkin
d80551d1dc
update links to 0.5.1
2013-02-06 16:03:22 +02:00
Vladimir Agafonkin
865953816d
Merge branch 'stable' into gh-pages
...
# By Vladimir Agafonkin (3) and danzel (1)
* stable:
bump version to 0.5.1 and update build
backport the geojson featurecollection arrays fix
Make setRadius and updateStyle({radius: 123 }) work.
add generated coverage to gitignore in stable
2013-02-06 15:56:00 +02:00
Vladimir Agafonkin
c327fa89ee
add a couple of DomUtil tests, #1347
2013-02-05 17:01:01 +02:00
Vladimir Agafonkin
f01e32d764
fix specs sometimes failing
2013-02-05 17:00:38 +02:00
Vladimir Agafonkin
5e05068478
complete LatLng and LatLngBounds tests, #1347
2013-02-05 15:21:40 +02:00
Vladimir Agafonkin
84d537b804
fix L.latLng factory not passing null through
2013-02-05 14:26:32 +02:00
Vladimir Agafonkin
17cf297c9b
complete geometry tests to 100% #1347
2013-02-05 13:51:27 +02:00
Vladimir Agafonkin
94a69bec1e
fix Point factory not passing null through
2013-02-05 12:38:13 +02:00
Vladimir Agafonkin
ed8dc9f4cd
improve core specs #1347
2013-02-04 18:31:14 +02:00
Vladimir Agafonkin
9addb1409d
Merge pull request #1346 from yohanboniface/gh-pages
...
Add getWest/South/East/North to reference
2013-02-04 05:57:08 -08:00
Yohan Boniface
4e9490e71b
Add getWest/South/East/North to reference
2013-02-04 14:35:21 +01:00
Vladimir Agafonkin
872a027b77
update changelog once more
2013-02-04 15:17:24 +02:00
Vladimir Agafonkin
b2318374bc
Merge pull request #1345 from calvinmetcalf/1314-coffeescript-classes
...
Enable class inheratence in CoffeeSCript
2013-02-04 05:14:20 -08:00
Vladimir Agafonkin
59ed1bd414
update changelog and build
2013-02-04 15:12:00 +02:00
Calvin Metcalf
c3ee79b01d
enable coffeescript classes
2013-02-04 08:00:02 -05:00
Vladimir Agafonkin
98a950ff53
cleanup #1227 pull
2013-02-04 14:40:28 +02:00
Vladimir Agafonkin
72ad6912e6
Merge pull request #1227 from jerel/patch/android-webview
...
A bug in Android WebView triggers two clicks at once.
2013-02-04 04:34:19 -08:00
Vladimir Agafonkin
297d746a46
make test task less verbose
2013-02-04 14:30:49 +02:00
Vladimir Agafonkin
86cfce1771
merge #1340 , fix whitespace
2013-02-04 13:42:27 +02:00
Vladimir Agafonkin
80f107cba3
Merge pull request #1318 from yohanboniface/add_lbrt_getters
...
Add LatLngBounds.getLeft/getBottom/getRight/getTop
2013-02-04 02:45:06 -08:00
Vladimir Agafonkin
22c2511e61
Merge pull request #1342 from danzel/circlemarker
...
Fix CircleMarker issue from #1297
2013-02-03 14:05:56 -08:00
danzel
6b51780e79
Make setRadius and updateStyle({radius: 123 }) work.
2013-02-04 09:51:27 +13:00
danzel
0390a86e7f
More CircleMarker tests, move them where they should be.
2013-02-04 09:49:37 +13:00
danzel
ded525fb06
Fix #1297 CircleMarker setRadius not working if called before adding to map.
2013-02-03 15:35:12 +13:00
danzel
b905708f24
Test cases for #1297 circleMarker setRadius issue.
2013-02-03 15:34:32 +13:00
Eldar Djafarov
e4492b6f10
Fix: SpecHelper should be first
2013-02-02 10:59:30 -02:00
Vladimir Agafonkin
c8f9ca42ce
Merge pull request #1339 from phillipadsmith/patch-1
...
Bump leaflet links to 0.5
2013-02-02 02:53:57 -08:00
Eldar Djafarov
071bb587b8
use master testacular only if --cov
2013-02-02 05:48:14 -02:00
Eldar Djafarov
2da36a2851
test coverage initial commit
2013-02-02 05:29:20 -02:00
Phillip Smith
a6de1de8f2
Bump leaflet links to 0.5
...
Just updating the leaflet links -- css, js -- to point to 0.5 instead of 0.4.
2013-02-01 12:23:10 -06:00
Vladimir Agafonkin
d1eb21850c
cleanup package.json
2013-02-01 17:21:52 +02:00
Vladimir Agafonkin
839940981e
add travis build status to readme
2013-02-01 15:48:56 +02:00
Vladimir Agafonkin
08f0e90c70
minor comment fixes
2013-02-01 15:17:11 +02:00
Vladimir Agafonkin
e773742a40
Merge pull request #1336 from edjafarov/travis-integration
...
Travis integration up and running another try
2013-02-01 05:15:15 -08:00
Eldar Djafarov
776be6dcbd
travisci integration
2013-02-01 11:04:33 -02:00
Vladimir Agafonkin
08f770fcc2
Merge pull request #1053 from inpursuit/enhancement/3
...
Allow pointer-events to be set via options passed to shape
2013-01-31 08:37:43 -08:00
Vladimir Agafonkin
b2c0de16ac
update build
2013-01-31 17:59:13 +02:00
Vladimir Agafonkin
619698f6fb
minor whitespace cleanup
2013-01-31 17:32:16 +02:00
Vladimir Agafonkin
ef02f60387
merge #1141 and clean it up
2013-01-31 17:29:40 +02:00
Vladimir Agafonkin
7370a3fc0f
fix minor error in layers control tutorial, close #932
2013-01-31 16:07:18 +02:00
Vladimir Agafonkin
2ebe67f110
cleanup testacular config
2013-01-31 15:44:55 +02:00
Vladimir Agafonkin
687246128c
update Jasmine to 1.3.1
2013-01-31 14:31:53 +02:00
Vladimir Agafonkin
959cb3c6a1
add CloudMade and CartoDB to users on the frontpage
2013-01-31 13:33:12 +02:00
Vladimir Agafonkin
db499a8314
minor contribution guide update
2013-01-31 13:25:18 +02:00
Vladimir Agafonkin
7977220830
don't require testacular for other jake tasks
2013-01-31 13:17:42 +02:00
Vladimir Agafonkin
0d3aa59f9c
cleanup leaflet-include.js
2013-01-31 12:59:41 +02:00
Vladimir Agafonkin
2ecc304687
Merge pull request #1330 from edjafarov/master
...
my #1326 pull broke debug html pages. Pls merge the fix that adds deps script to all of those.
2013-01-31 02:34:51 -08:00
Eldar Djafarov
5985bffea0
Fix debug html pages after #1326
2013-01-31 08:29:39 -02:00
Vladimir Agafonkin
a63c90159b
Merge pull request #1326 from edjafarov/master
...
add testacular runner for jasmine tests
2013-01-31 02:07:17 -08:00
Eldar Djafarov
82b327d9f5
use global deps file instead of ustom list
2013-01-30 18:01:32 -02:00
Eldar Djafarov
c8c19d3b6f
Make getFiles more consistent
2013-01-30 16:48:22 -02:00
Eldar Djafarov
c4b8139ee8
fix code style
2013-01-30 16:41:13 -02:00
Vladimir Agafonkin
a8763e665b
Merge remote-tracking branch 'origin/control-design'
...
# By Vladimir Agafonkin (4) and jacobtoye (2)
# Via Vladimir Agafonkin (1) and jacobtoye (1)
* origin/control-design:
Removing unnecessary ie only styles.
Using hex color instead of rgba to support oldie.
make toolbar styles more generic
simplify toolbar classes
rename top/bottom to first/last in control classes, thanks @yohanboniface
improve zoom control design (refining @jacobtoye's work)
2013-01-30 17:23:17 +02:00
Eldar Djafarov
7e537eb954
enable testacular runner
2013-01-30 12:06:19 -02:00
Vagrant
88ba9dd0c8
Merge branch 'master' of git://github.com/Leaflet/Leaflet
...
* 'master' of git://github.com/Leaflet/Leaflet:
Escape URI component in getParamString
update build and changelog
hasLayer not checking for null Return false when checking for a null object in L.Map.hasLayer, in response to issue #1282 .
Fix js typo
Add hasLayer to LayerGroup Add the method hasLayer to LayerGroup, return false when not present or checking for a null layer.
condition on one line
Revert "whitespace fix?"
whitespace fix?
whitespace again
Trying to fix whitespace
Simplify features check
Handle arrays of feature collections
2013-01-30 10:56:22 -02:00
Vladimir Agafonkin
b661c7bd44
Merge pull request #1313 from jacobtoye/control-design
...
IE fixes for new control styles.
2013-01-29 02:22:59 -08:00
jacobtoye
d42f9e966b
Removing unnecessary ie only styles.
2013-01-29 14:01:10 +13:00
jacobtoye
93f46bf656
Using hex color instead of rgba to support oldie.
2013-01-29 14:00:26 +13:00
Yohan Boniface
4f59140253
Eat our own food
2013-01-28 01:09:26 +01:00
Yohan Boniface
4b5746ffbc
Use getWest/South/East/North instead of getLeft/Bottom/Right/Top
2013-01-28 01:04:09 +01:00
Vladimir Agafonkin
39f9e2be10
Merge pull request #1317 from yohanboniface/escape_uri_component
...
Escape URI component in getParamString
2013-01-27 12:37:32 -08:00
Vladimir Agafonkin
f7738b2c0f
Merge pull request #1316 from yohanboniface/gh-pages
...
Suggestion to add Leaflet.EditInOSM in plugins list
2013-01-27 12:31:33 -08:00
Yohan Boniface
69b925b057
Add LatLngBounds.getLeft/getBottom/getRight/getTop
2013-01-27 12:12:02 +01:00
Yohan Boniface
c432c4eb24
Escape URI component in getParamString
2013-01-26 17:47:28 +01:00
Yohan Boniface
42dbb1a221
Add Leaflet.EditInOSM in plugins list
2013-01-26 17:37:01 +01:00
Vladimir Agafonkin
4551633b9c
update build and changelog
2013-01-23 15:45:45 +02:00
Vladimir Agafonkin
9bdab60182
make toolbar styles more generic
2013-01-23 15:34:44 +02:00
Vladimir Agafonkin
0554098460
simplify toolbar classes
2013-01-23 15:16:42 +02:00
Vladimir Agafonkin
ecce54ca54
Merge pull request #1305 from rvlasveld/add_hasLayer_LayerGroup_to_docs
...
Add hasLayer of LayerGroup to documentation
2013-01-22 02:17:39 -08:00
Roemer Vlasveld
fcaef5011d
Add hasLayer of LayerGroup to documentation
...
In response to issue #1282 this method is added. Pull request #1300
adds the method to the class.
2013-01-22 11:05:42 +01:00
Vladimir Agafonkin
3c0dacd603
Merge pull request #1303 from jacobtoye/gh-pages
...
Update Leaflet.label plugin link
2013-01-22 01:53:41 -08:00
jacobtoye
c135eaa386
Updating Leaflet.label plugin location.
2013-01-22 13:55:40 +13:00
Vladimir Agafonkin
140cace2a7
Merge pull request #1300 from rvlasveld/add_hasLayer_to_layerGroup
...
Add has layer to layer group
2013-01-21 14:29:07 -08:00
Vladimir Agafonkin
7bff6c5f2c
Merge pull request #1302 from rvlasveld/fix_hasLayer_check_for_null
...
hasLayer not checking for null
2013-01-21 14:28:30 -08:00
Roemer Vlasveld
109fd06ae6
hasLayer not checking for null
...
Return false when checking for a null object in L.Map.hasLayer, in
response to issue #1282 .
2013-01-21 23:22:01 +01:00
Roemer Vlasveld
75fa5b087f
Fix js typo
2013-01-21 22:46:18 +01:00
Roemer Vlasveld
82d4535180
Add hasLayer to LayerGroup
...
Add the method hasLayer to LayerGroup, return false when not present or checking for a null layer.
2013-01-21 22:36:24 +01:00
Vladimir Agafonkin
0c66b0b20d
Merge pull request #1296 from smeijer/gh-pages
...
Added GeoSearch plugin to plugins.md
2013-01-21 07:17:46 -08:00
Vladimir Agafonkin
a000304473
Merge pull request #1299 from snkashis/fix_feat_collects
...
Handle arrays of feature collections, #1298
2013-01-21 07:17:26 -08:00
snkashis
5524db2816
condition on one line
2013-01-21 10:14:42 -05:00
Vladimir Agafonkin
57c0ac408e
rename top/bottom to first/last in control classes, thanks @yohanboniface
2013-01-21 17:04:58 +02:00
Vladimir Agafonkin
b5c9a16ffb
improve zoom control design (refining @jacobtoye's work)
2013-01-21 16:55:48 +02:00
snkashis
65aad99297
Revert "whitespace fix?"
...
This reverts commit 9856a66864
.
2013-01-20 20:18:48 -05:00
Steve
9856a66864
whitespace fix?
2013-01-20 20:06:52 -05:00
Steve
c0210009df
whitespace again
2013-01-20 19:39:01 -05:00
Steve
03a775c69b
Trying to fix whitespace
2013-01-20 19:38:12 -05:00
Steve
52b445a36d
Simplify features check
2013-01-20 19:35:18 -05:00
snkashis
c43e72da16
Handle arrays of feature collections
2013-01-20 19:13:43 -05:00
Eldar Djafarov
e1a3e97349
testacular port
2013-01-20 05:04:06 -02:00
Vladimir Agafonkin
1628796ecb
Merge pull request #1285 from jieter/doc
...
L.TileLayer.redraw() does return this.
2013-01-19 06:05:57 -08:00
smeijer
7eef0f5e18
Added GeoSearch plugin
2013-01-19 03:31:30 +01:00
Calvin Metcalf
fe0dd40cb3
Finish the sentence
2013-01-18 20:07:21 -05:00
Calvin Metcalf
e09dcc40bf
Added sprite markers and css plugins
2013-01-18 20:04:36 -05:00
Vladimir Agafonkin
4056f4c504
Merge pull request #1294 from calvinmetcalf/IconPath
...
Wrong default icon path on old IE in certain cases.
2013-01-18 10:49:28 -08:00
Calvin Metcalf
f26da9f9be
only mention the path, and ternery
2013-01-18 13:35:07 -05:00
Calvin Metcalf
c3cb132463
we want it reletive not from the base
2013-01-18 12:46:16 -05:00
Calvin Metcalf
82869206e2
ie7 fix
2013-01-18 12:41:11 -05:00
Vladimir Agafonkin
186f03b3f9
Merge pull request #1292 from mpetazzoni/patch-1
...
Add leaflet-gpx to plugins page
2013-01-18 09:29:04 -08:00
Maxime Petazzoni
fecdf09b96
Add leaflet-gpx to plugins page
...
Add the new leaflet-gpx plugin for GPX track layers and GPX parsing
to the list of contributed layer providers.
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
2013-01-18 08:58:17 -08:00
Vladimir Agafonkin
80413f4040
update build
2013-01-18 17:44:11 +02:00
Vladimir Agafonkin
353d03586a
update changelog
2013-01-18 17:43:56 +02:00
Vladimir Agafonkin
292d2b3633
merge snkashis polygon fix
2013-01-18 17:43:31 +02:00
Vladimir Agafonkin
ecdc7cf74c
Merge pull request #1230 from yohanboniface/gh-pages
...
Suggestion to add Leaflet.Storage in plugins list
2013-01-18 07:33:46 -08:00
Vladimir Agafonkin
10bd63a6a6
update changelog, bump version
2013-01-18 17:30:53 +02:00
Vladimir Agafonkin
76f8d0762d
Merge pull request #1287 from jieter/master
...
TileLayer.Canvas now returns this.
2013-01-18 07:25:37 -08:00
Vladimir Agafonkin
5fccd34a54
Merge pull request #1286 from calvinmetcalf/layerControlEvents
...
Layer control events for overlays
2013-01-18 07:25:22 -08:00
Vladimir Agafonkin
2fb4d673a1
Merge pull request #1290 from yohanboniface/docstring_typo
...
Typo in Polyline docstring
2013-01-18 05:24:18 -08:00
Yohan Boniface
44a7c6e0d8
Typo in Polyline docstring
2013-01-18 12:48:43 +01:00
Vladimir Agafonkin
1030596328
index, features and plugin page updates
2013-01-18 12:29:19 +02:00
Vladimir Agafonkin
b2d2422337
update changelog
2013-01-17 18:32:05 +02:00
Vladimir Agafonkin
89ae70b32e
add link to 0.5 blog post
2013-01-17 16:50:07 +02:00
Vladimir Agafonkin
9cc33e2cf3
update download page and add 0.5 release post
2013-01-17 16:48:32 +02:00
Vladimir Agafonkin
851a85eb2e
lots of docs updates for 0.5
2013-01-17 15:55:13 +02:00
Vladimir Agafonkin
ce316f99d3
Merge branch 'master' into gh-pages-master
2013-01-17 14:14:20 +02:00
Jan Pieter Waagmeester
12d04f5c59
TileLayer.Canvas.redraw() now returns this.
2013-01-17 09:39:06 +01:00
Jan Pieter Waagmeester
5115a0b1a7
TileLayer.Canvas now returns this as well.
2013-01-17 09:36:43 +01:00
Calvin Metcalf
c0e4241f36
rename events
2013-01-16 22:00:55 -05:00
Calvin Metcalf
88f1e121ee
overlay events
2013-01-16 18:20:20 -05:00
Jan Pieter Waagmeester
0284399790
L.TileLayer.redraw() does return this.
2013-01-16 23:15:21 +01:00
Vladimir Agafonkin
1e5d10c5e7
Merge branch 'master' into gh-pages-master
2013-01-16 17:17:07 +02:00
Vladimir Agafonkin
664491d4be
merge gh-pages
2013-01-16 17:17:03 +02:00
Vladimir Agafonkin
b03f073988
merge origin
2013-01-16 17:12:23 +02:00
Vladimir Agafonkin
17e3caf661
switch to OSM tiles on the front page
2013-01-15 17:01:36 +02:00
Vladimir Agafonkin
1a1fb5af44
minor formatting fix
2013-01-15 17:00:55 +02:00
Vladimir Agafonkin
477020aea7
Merge pull request #1175 from danzel/gh-pages-master
...
Add L.Icon iconRetinaUrl/shadowRetinaUrl options documentation
2013-01-15 02:31:46 -08:00
Vladimir Agafonkin
e6d103a5cc
Merge pull request #1280 from bbecquet/gh-pages
...
Add Leaflet.PolylineDecorator to the plugin page
2013-01-14 15:12:09 -08:00
Benjamin Becquet
ee39a44314
Fix plugin description
2013-01-14 23:53:07 +01:00
Benjamin Becquet
b115bd8058
Add plugin PolylineDecorator to the list
2013-01-14 23:46:40 +01:00
Yohan Boniface
41d0e3e7f1
Merge branch 'gh-pages' of git://github.com/CloudMade/Leaflet into gh-pages
2013-01-14 00:17:56 +01:00
Vladimir Agafonkin
f54f79e9ec
Merge pull request #1276 from jacobtoye/gh-pages
...
Update Leaflet.draw plugin link
2013-01-13 13:16:19 -08:00
jacobtoye
b0bf16d1ec
Update plugin link to new location.
2013-01-14 10:04:10 +13:00
Vladimir Agafonkin
1f9b4db847
Merge pull request #1275 from bencevans/patch-2
...
Update leaflet-locationfilter plugin link
2013-01-13 11:16:59 -08:00
Ben Evans
4937dce148
Update leaflet-locationfilter plugin link
2013-01-13 15:48:00 +00:00
Vladimir Agafonkin
4cfef573aa
Merge pull request #1269 from danzel/gh-pages
...
Update Leaflet.markercluster link
2013-01-11 13:31:57 -08:00
danzel
bc2ee40b32
Update Leaflet.markercluster link
2013-01-12 10:28:43 +13:00
Vladimir Agafonkin
728b8e08b8
fix star button with regards to new repo url
2013-01-11 13:50:36 +02:00
Vladimir Agafonkin
ff03b7038d
update links to point to the new repo url
2013-01-11 13:48:54 +02:00
Vladimir Agafonkin
e5c93fa5ed
Merge pull request #1260 from jieter/gh-pages
...
Remove LatLngBounds reference Bounds documentation
2013-01-08 02:44:31 -08:00
Jan Pieter Waagmeester
ad1833a3aa
Remove LatLng from the Bounds documentation
2013-01-07 15:01:07 +01:00
Yohan Boniface
abe8ea681d
Merge branch 'gh-pages' of git://github.com/CloudMade/Leaflet into gh-pages
2013-01-03 17:38:33 +01:00
Vladimir Agafonkin
da2d3f71ba
Merge pull request #1256 from joker-x/patch-1
...
Added geoCSV plugin for Leaflet to plugins.md
2013-01-03 02:10:32 -08:00
Iván Eixarch
29596dc9e4
Added geoCSV plugin for Leaflet
...
http://joker-x.github.com/Leaflet.geoCSV/
2013-01-03 11:01:43 +01:00
Yohan Boniface
7f6c517eb4
Merge branch 'gh-pages' of git://github.com/CloudMade/Leaflet into gh-pages
2013-01-02 10:43:10 +01:00
Vladimir Agafonkin
9005ff93b2
Merge pull request #1253 from ismyrnow/gh-pages
...
Add Leaflet-semicircle to plugin list
2012-12-31 16:16:22 -08:00
Ishmael Smyrnow
a8c85fc7d0
Add Leaflet.FunctionalTileLayer to plugin list.
2012-12-31 16:22:38 -05:00
jerel
c63e3721cb
This modifies the Android WebView phantom click workaround.
...
Previously it was blocking when an element had multiple click listeners
because those events were fired rapidly. Since Android fires its second
click at approximately 300ms after the first we do a check to make sure
that at least 100ms has elapsed but not more than 400ms.
2012-12-27 00:40:41 -06:00
Yohan Boniface
f4bec9436d
Add Leaflet.Storage in plugins list
2012-12-22 18:09:37 +01:00
jerel
0919b25cd6
This makes sure we only do the Android duplicate click workaround on Android
2012-12-21 08:37:13 -06:00
jerel
cf94612f6b
Fixes #1041 , Android WebView triggers two clicks at once. This calls
...
L.DomEvent.stop(event) on the second if two clicks are triggered within 400ms
of each other. Double click is unaffected however.
There are other workarounds that focus on _fireMouseEvent(), however I had to
resolve it at the click event level as my map, markers, controls, were all
affected.
2012-12-21 01:54:15 -06:00
Vladimir Agafonkin
93547a9677
front page cleanup and improvements
2012-12-20 17:57:21 +02:00
Vladimir Agafonkin
ae8fa31c97
Merge pull request #1211 from erictheise/gh-pages
...
adding Rrose to the plugin directory under "Controls and Interaction"
2012-12-11 12:52:39 -08:00
Eric Theise
80b4f342ca
adding Rrose to the plugin directory under "Controls and Interaction"
2012-12-11 12:15:56 -08:00
Vladimir Agafonkin
689c6a16ac
Merge pull request #1203 from mattiasbengtsson/gh-pages
...
Leaflet.zoomslider and Leaflet.Pancontrol got their own web pages
2012-12-06 02:08:24 -08:00
Mattias Bengtsson
9d95587cf5
Leaflet.zoomslider and Leaflet.Pancontrol got their own web pages
2012-12-06 10:04:04 +01:00
Scott Harvey
9b7c005ccf
Removing temporary swap file that has accidentally added to previous commit
2012-12-04 14:09:00 +00:00
Scott Harvey
e85a6a7aff
Added the getPopup function to L.Marker
2012-12-04 12:21:33 +00:00
Vladimir Agafonkin
7a7790ed97
Merge pull request #1191 from jieter/gh-pages
...
Add Leaflet-semicircle to plugin list.
2012-12-01 03:43:44 -08:00
Jan Pieter Waagmeester
7f56b159b5
Add Leaflet-semicircle to plugin list
2012-11-30 18:02:14 +01:00
Vladimir Agafonkin
f063a5823a
Merge pull request #1190 from moonlite/moonlite/gh-pages-master
...
Add Leaflet.MultiTileLayer to plugin list
2012-11-29 23:27:36 -08:00
Mattias Bengtsson
754877422e
Add Leaflet.MultiTileLayer to plugin list
2012-11-30 07:54:45 +01:00
Vladimir Agafonkin
685d3fd19a
Merge pull request #1172 from calvinmetcalf/gh-pages
...
Added pouchDB plugin
2012-11-29 06:45:50 -08:00
Vladimir Agafonkin
708409f994
Merge pull request #1179 from danzel/gh-pages
...
Add leaflet.utfgrid to plugins
2012-11-27 04:45:59 -08:00
danzel
3b46c41ec0
Add leaflet.utfgrid to plugins
2012-11-27 17:05:47 +13:00
danzel
630f0f2f27
Add L.Icon iconRetinaUrl/shadowRetinaUrl options documentation
2012-11-26 15:08:35 +13:00
Calvin Metcalf
dcade644fc
added leaf-pouch plugin
2012-11-24 17:25:39 -05:00
jfgirard
d23af35310
fix undefined error use cases
2012-11-20 06:38:11 -05:00
Vladimir Agafonkin
94f41bb719
fix mouseover/mouseout for Map in docs
2012-11-18 17:43:38 +04:00
snkashis
7a6f2c2e7c
filter out the last point of a polygon to account for GeoJSON compatibility
2012-11-16 19:33:41 -05:00
Vladimir Agafonkin
6484e3a27f
Merge pull request #1146 from Norkart/gh-pages
...
Adding link to a new Minimap plugin
2012-11-14 07:07:26 -08:00
Robert Nordan
a74d1773d1
Added Leaflet.MiniMap to plugins page
...
This adds a link to our new Minimap plugin for Leaflet. Should I announce it on the Google group as well or is it enough adding it here?
2012-11-14 15:59:04 +01:00
Vladimir Agafonkin
c722ea4492
Merge branch 'master' into gh-pages-master
2012-11-13 17:20:40 +02:00
jfgirard
60d0d439f1
code convention
2012-11-12 13:34:31 -05:00
jfgirard
471816120b
use a property for index length because its slow to get the first property or get the length of a hash.
2012-11-12 13:22:28 -05:00
jfgirard
ab85108836
Path CANVAS adds a click event if clickable but do not clear it on remove. This adds the necessary remove listener.
2012-11-12 11:11:16 -05:00
jfgirard
db8056df45
store the event listeners using a hash if the context have a leaflet_id.
...
When removing a layer,the slowest part was to remove the event from the map. For each event, the removeEventListener method had to loop the whole list. With thousand of layers, it become very slow to do. With a hash used has an index to find event listeners for a given leaflet id, its no more an issue.
2012-11-12 11:10:03 -05:00
Vladimir Agafonkin
d57b5c0755
Merge pull request #1137 from domoritz/gh-pages
...
Mask canvas plugin
2012-11-11 09:43:45 -08:00
Dominik Moritz
809735a9db
add mask canvas plugin
2012-11-11 17:26:09 +01:00
Vladimir Agafonkin
e3c6d3624a
Merge pull request #1119 from domoritz/gh-pages
...
Locate control plugin
2012-11-10 06:50:52 -08:00
Vladimir Agafonkin
a64a9f3333
Merge pull request #1132 from atogle/gh-pages
...
Add Leaflet.AnimatedMarker plugin
2012-11-09 06:57:11 -08:00
Aaron Ogle
57cecf3354
Add Leaflet.AnimatedMarker plugin.
2012-11-09 09:43:33 -05:00
Vladimir Agafonkin
539ae472fd
Merge pull request #1130 from calvinmetcalf/patch-1
...
added leaflet-ajax plugin
2012-11-08 14:22:15 -08:00
Calvin Metcalf
8744d74fa5
added leaflet-ajax plugin
...
added link to plugin that extents L.GeoJSON to allow ajax loading of the geojson
2012-11-08 17:14:45 -05:00
Vladimir Agafonkin
6863ce4513
merge master
2012-11-07 18:48:38 +02:00
Vladimir Agafonkin
7491c276c4
Merge pull request #1124 from robpvn/patch-1
...
Update Map reference docs with baselayerchange
2012-11-07 06:29:44 -08:00
Robert Nordan
ec2bdaacbb
Update Map reference docs with baselayerchange
...
baselayerchange is a new event that has landed in master, so it needs to be documented for easy reference.
2012-11-07 15:25:36 +01:00
Vladimir Agafonkin
36b7ecc0f0
much better code font on Mac
2012-11-05 20:58:42 +02:00
Dominik Moritz
c98dc289c4
Added link to locate control plugin
2012-11-04 15:11:27 +01:00
Vladimir Agafonkin
f568edf2c3
Merge pull request #1118 from orta/patch-1
...
Fixed a typo in index.md (deveper -> developer)
2012-11-04 01:41:03 -08:00
Orta
d03b4838c3
Fixed a typo in index.md (deveper -> developer)
2012-11-04 15:39:57 +07:00
Vladimir Agafonkin
11fae709f6
Merge pull request #1113 from jieter/gh-pages-master
...
Adding Leaflet.encoded to plugins page
2012-11-01 13:52:43 -07:00
Jan Pieter Waagmeester
35db4f81f7
Adding Leaflet.encoded to plugins page
2012-11-01 20:20:32 +01:00
Vladimir Agafonkin
35e86751ce
improve contributing section on front page
2012-10-31 16:59:52 +02:00
Vladimir Agafonkin
2b17da0502
improve copy text on the front page
2012-10-31 16:23:26 +02:00
alexanderd
1c597e4cf4
Use proper factory call for bounds option
2012-10-31 13:06:33 +02:00
alexanderd
d5c1e4d251
Better parameter handling for TileLayer bounds
2012-10-27 23:10:13 +03:00
mourner
25b6670d05
fix twitter button alignment
2012-10-26 12:06:53 +03:00
mourner
8df59e97d5
hide twitter count
2012-10-26 12:04:47 +03:00
mourner
5d01611d4e
rename leaflet.cloudmade.com -> leafletjs.com
2012-10-26 11:56:51 +03:00
Vladimir Agafonkin
98de0b407b
update CNAME with leafletjs.com
2012-10-26 11:37:06 +03:00
Vladimir Agafonkin
ee4541de57
Update blog post notice
2012-10-26 10:08:35 +03:00
Vladimir Agafonkin
3ad92c4167
fix link on download page to 0.4.5
2012-10-26 10:04:22 +03:00
Vladimir Agafonkin
a1e73f4ddf
update blogpost
2012-10-25 15:44:59 +03:00
Vladimir Agafonkin
fe9bed5374
small blog post fix 2
2012-10-25 15:19:48 +03:00
Vladimir Agafonkin
845cc3bb0a
small blog post fix
2012-10-25 15:18:07 +03:00
Vladimir Agafonkin
8716146dae
changelog link in blog post
2012-10-25 15:15:19 +03:00
Vladimir Agafonkin
5cf5a69850
0.4.5 release and new post
2012-10-25 15:12:23 +03:00
alexanderd
ceeb1f8a93
Rename TileLayer.options.tileBounds to bounds
2012-10-21 03:47:06 +03:00
Brian Hatchl
0a2697c4b6
fixed bug where wms tilesize option was ignored when setting
...
wms params width and height
2012-10-19 13:57:18 -04:00
Vladimir Agafonkin
c402217dc9
add leaflet-locationfilter plugin
2012-10-17 19:11:17 +03:00
Vladimir Agafonkin
d2d11855b3
update "used by" block on frontpage
2012-10-17 19:05:24 +03:00
Adam Stull
a22ce7ee50
Allow pointer-events to be set via options passed to shape
2012-10-09 13:31:02 -04:00
Vladimir Agafonkin
f7229cef82
Merge pull request #1045 from jacobtoye/gh-pages
...
Fix eachLayer typo
2012-10-08 09:06:55 -07:00
Vladimir Agafonkin
c7e583eb5f
Merge pull request #1044 from jacobtoye/gh-pages-master-decouplepopup
...
Documentation to go with pull #1038
2012-10-08 09:06:40 -07:00
jacobtoye
db0f3b808d
Fix eachLayer typo.
2012-10-08 13:56:02 +13:00
jacobtoye
e7eefd8bae
Documenting new L.Path 'remove' event.
2012-10-08 09:52:26 +13:00
jacobtoye
6ad2361c8c
Documented L.Path.unbindPopup() method.
2012-10-08 09:50:58 +13:00
jacobtoye
3a616575bc
Documenting new marker events.
2012-10-08 09:40:43 +13:00
Vladimir Agafonkin
cf987acd1e
Merge pull request #1017 from jacobtoye/gh-pages-labelplugin
...
Updated label plugin link and description.
2012-10-05 12:15:00 -07:00
Scott Davis
aa5cddb72f
Documentation to reflect changes made in pull request #1028 . Added additional properties to the LocationEvent.
2012-10-04 07:09:51 -06:00
jacobtoye
a23d8d5d27
Updated label plugin link and description.
2012-09-25 11:53:11 +12:00
Vladimir Agafonkin
a5111c546f
fix scale docs typos
2012-09-11 15:36:31 +03:00
Vladimir Agafonkin
62a1bc2748
fix ie regression
2012-09-11 15:31:02 +03:00
Vladimir Agafonkin
561d544d95
Merge branch 'master' into gh-pages
2012-09-11 15:29:18 +03:00
Vladimir Agafonkin
6906111599
Merge pull request #992 from domoritz/gh-pages-master
...
Added documentation for isValid from #972 .
2012-09-11 05:14:50 -07:00
Dominik Moritz
f6e28fe1ce
Added documentation for isValid from #972 .
2012-09-11 12:52:28 +01:00
Vladimir Agafonkin
bfd67e9ca1
Merge pull request #967 from brunob/gh-pages
...
add leaflet-search plugin
2012-09-11 03:46:42 -07:00
Alexander Dimitrov
03f48cc859
Add tile bounds option to limit tile loading to a given region
2012-09-11 11:59:33 +03:00
brunob
8f88334f88
Revert "fix forkme ribbon z-index"
...
This reverts commit c2974fc0ea
.
2012-09-02 19:05:16 +02:00
brunob
d321f32c4f
add leaflet-search plugin
2012-09-02 19:02:50 +02:00
Vladimir Agafonkin
deb6b422c3
Merge pull request #934 from joealfonso/gh-pages-master
...
Changed 'eachLayers' to 'eachLayer' (typo)
2012-08-22 09:16:14 -07:00
Joe Alfonso
09160e9735
Changed 'eachLayers' to 'eachLayer' (typo)
2012-08-22 11:51:10 -04:00
Vladimir Agafonkin
742170e010
Merge pull request #930 from joealfonso/gh-pages-master
...
Changed "imerial" to "imperial" (typo)
2012-08-21 15:01:27 -07:00
Joe Alfonso
f3352a667a
Changed "imerial" to "imperial" (typo)
2012-08-21 17:54:59 -04:00
Vladimir Agafonkin
5a76949a55
minor docs updates and fixes
2012-08-20 15:46:00 +03:00
Vladimir Agafonkin
73f6ae0030
more clustering updates
2012-08-20 15:34:40 +03:00
Vladimir Agafonkin
8d3b55c3c3
Dave's post editing
2012-08-20 15:29:54 +03:00
Vladimir Agafonkin
689a51d050
remove older post file
2012-08-20 14:51:00 +03:00
Vladimir Agafonkin
7c4c87bbc5
Merge branch 'gh-pages' of https://github.com/danzel/Leaflet into daves-post
2012-08-20 13:07:51 +03:00
brunob
c2974fc0ea
fix forkme ribbon z-index
2012-08-17 11:26:28 +02:00
danzel
5f1bf63f28
Link the download page
2012-08-17 10:11:39 +12:00
danzel
f88c310209
Use a div instead of an iframe for the map. Mention some more features. We work in IE6.
2012-08-17 10:11:39 +12:00
danzel
7902582a4d
More work on markercluster post
2012-08-17 10:11:38 +12:00
danzel
9ef9348e79
Working on marker clusterer post
2012-08-17 10:11:37 +12:00
danzel
f682a2e83e
Make blog post author and authorsite customisable
2012-08-17 10:11:37 +12:00
Vladimir Agafonkin
f1dc1e1ddc
Merge pull request #912 from brunob/gh-pages
...
add heatmap layer plugin
2012-08-16 09:25:51 -07:00
brunob
365bebf8c1
oops, correct the author
2012-08-16 18:06:58 +02:00
brunob
e2fc5999ea
add heatmap layer plugin
2012-08-16 17:31:55 +02:00
danzel
f08262e542
More work on markercluster post
2012-08-16 14:26:49 +12:00
danzel
5eb78d02f0
Working on marker clusterer post
2012-08-15 17:13:23 +12:00
danzel
26eb7dbe77
Make blog post author and authorsite customisable
2012-08-15 16:08:26 +12:00
Vladimir Agafonkin
34bfc2eeb8
Merge branch 'master' into gh-pages
2012-08-10 18:45:27 +03:00
Vladimir Agafonkin
afe1add278
restore the GitHub buttons
2012-08-09 17:19:40 +03:00
mourner
9cd0ab6427
remove markdotto github button that broke everything
2012-08-09 01:12:05 +03:00
Vladimir Agafonkin
20530e3d88
fix choropleth example in Opera more
2012-08-08 14:23:19 +03:00
Vladimir Agafonkin
eb03c6b267
fix choropleth hover for Opera too
2012-08-08 14:05:39 +03:00
Vladimir Agafonkin
69df53248e
fix choropleth examples hover issue in IE
2012-08-08 12:22:27 +03:00
Vladimir Agafonkin
6fc2d96dda
update with 0.4.4
2012-08-07 18:47:24 +03:00
Vladimir Agafonkin
fb165dbc6f
Merge branch 'master' into gh-pages
2012-08-07 18:45:45 +03:00
Vladimir Agafonkin
c4756638fe
fix Texas Tribune links
2012-08-07 18:16:00 +03:00
Vladimir Agafonkin
f15dc88a4f
add 0.4.3 blog post, minor tutorials update
2012-08-07 18:09:59 +03:00
Vladimir Agafonkin
6b4d64a320
Added new choropleth map tutorial
2012-08-07 17:45:47 +03:00
Vladimir Agafonkin
f847e07c06
update references to 0.4.3
2012-08-07 13:01:56 +03:00
Vladimir Agafonkin
76e76d02c2
add Wall Street Journal link to frontpage
2012-08-07 13:01:39 +03:00
Vladimir Agafonkin
f41c68f418
update docs with 0.4.3 changes
2012-08-07 12:44:50 +03:00
Vladimir Agafonkin
917add095f
merge master
2012-08-07 12:32:52 +03:00
Vladimir Agafonkin
cb115ba8ec
Merge branch 'gh-pages-master' into gh-pages
2012-08-07 12:29:55 +03:00
Vladimir Agafonkin
adedbd7107
Merge pull request #876 from erictheise/gh-pages
...
Two typos
2012-08-06 05:25:54 -07:00
Eric Theise
f6efb08b4a
Update reference.html
...
Fixing typos ("preciously" should be "previously"), the default values of offset for L.Popup are (0,6), not (0,0).
2012-08-06 08:59:08 -03:00
Vladimir Agafonkin
ffa20b558c
update download page with 0.4.2
2012-08-01 14:27:57 +03:00
Vladimir Agafonkin
f58a5b0c5b
update blogpost with 0.4.2
2012-08-01 14:26:22 +03:00
Vladimir Agafonkin
fae9ceee36
update cdn links to 0.4.2
2012-08-01 14:22:32 +03:00
Vladimir Agafonkin
0f68e16104
Merge branch 'stable' into gh-pages
2012-08-01 14:20:23 +03:00
Vladimir Agafonkin
e37f4fd9f3
fix typo in layers control link
2012-07-31 17:50:54 +03:00
Vladimir Agafonkin
e94052de42
update docs for #857
2012-07-31 11:19:09 +03:00
Vladimir Agafonkin
293000e259
update about 0.4.1
2012-07-31 11:14:25 +03:00
Vladimir Agafonkin
46eb40de6f
update about 0.4.1
2012-07-31 11:11:04 +03:00
Vladimir Agafonkin
aed9d473d1
Merge branch 'master' into gh-pages-master
2012-07-31 11:01:11 +03:00
Vladimir Agafonkin
dc4a3a9a1b
add MapMarker to plugins list
2012-07-30 16:58:58 +03:00
Vladimir Agafonkin
2aeebe6473
fix ugly marker shadows on iE8
2012-07-30 12:53:08 +03:00
Vladimir Agafonkin
bb77dd4bf8
Merge branch 'master' into gh-pages
2012-07-30 12:33:39 +03:00
Vladimir Agafonkin
9638ef239b
merge gh-pages-master
2012-07-30 11:30:55 +03:00
Vladimir Agafonkin
4a7eecbec9
final polishing
2012-07-30 11:17:10 +03:00
Vladimir Agafonkin
adc139f07e
minor plugins page fix
2012-07-30 10:35:16 +03:00
Vladimir Agafonkin
09261e4168
Merge pull request #848 from aparshin/boundary-canvas-plugin
...
Add TileLayer.BoundaryCanvas plugin description into plugins.md
2012-07-29 23:25:00 -07:00
Alexander Parshin
be1ac7aff6
Add TileLayer.BoundaryCanvas plugin description into plugins.md
2012-07-30 03:50:44 +04:00
mourner
dbd875d960
minor fixes
2012-07-30 01:42:15 +03:00
mourner
9559344d3d
minor fixes
2012-07-30 01:34:53 +03:00
mourner
4b8e9e4a29
add disquis comments to posts
2012-07-30 01:34:17 +03:00
mourner
9303b35d21
Merge branch 'master' into gh-pages-master
2012-07-30 00:38:09 +03:00
mourner
7061590784
add developer blog and release post
2012-07-29 02:20:15 +03:00
mourner
754e46c9b2
improve GeoJSON example
2012-07-28 14:32:45 +03:00
mourner
61bbb8bae7
Merge branch 'master' into gh-pages-master
2012-07-28 14:03:13 +03:00
Vladimir Agafonkin
bb99bd1944
Merge pull request #842 from JasonSanford/gh-pages-master
...
GeoJSON Tutorial for 0.4
2012-07-28 03:59:08 -07:00
Jason Sanford
facdcbfbdf
Finishing up GeoJSON tutorial.
2012-07-28 00:41:12 -06:00
Vladimir Agafonkin
81746a8aae
update features
2012-07-27 18:34:24 +03:00
Vladimir Agafonkin
e57cce2678
document keyboard events, highlight focused maps
2012-07-27 17:59:28 +03:00
Vladimir Agafonkin
db005f92d3
Merge branch 'master' into gh-pages-master
2012-07-27 15:29:09 +03:00
Vladimir Agafonkin
4da5ae5e20
add keyboard nav docs
2012-07-27 15:18:52 +03:00
Vladimir Agafonkin
72c81f0f67
update docs and other minor things
2012-07-27 13:19:51 +03:00
Vladimir Agafonkin
5509c7375d
Merge branch 'master' into gh-pages-master
2012-07-27 13:19:21 +03:00
Jason Sanford
57c13390e9
Style tutorial
2012-07-26 16:50:57 -06:00
Jason Sanford
bbe6a94a81
Explaining the filter option.
2012-07-26 15:43:24 -06:00
Vladimir Agafonkin
5d57d208fe
minor style tweaks
2012-07-26 16:58:48 +03:00
Vladimir Agafonkin
8f329343f5
fix sample maps border and margins
2012-07-26 16:12:20 +03:00
Vladimir Agafonkin
862fe30438
add crs and projection docs, API docs now 100% COMPLETE!!!
2012-07-26 15:53:46 +03:00
Vladimir Agafonkin
97edb8d88d
minor download page edits
2012-07-26 14:53:24 +03:00
Vladimir Agafonkin
1ed9a6c7ce
add draggable and transition docs
2012-07-26 14:39:06 +03:00
Vladimir Agafonkin
40a6fc1d10
update layers control
2012-07-26 12:17:40 +03:00
Vladimir Agafonkin
b3d751818c
fix jekyll error
2012-07-26 12:16:38 +03:00
Vladimir Agafonkin
ee452bb2e5
Merge branch 'master' into gh-pages-master
2012-07-26 11:49:53 +03:00
Jason Sanford
0907b1b8da
More work on GeoJSON tutorial. Lots has changed with this layer.
2012-07-26 01:33:37 -06:00
Jason Sanford
f70c08ca8a
Adding bus geojson in its own layer to show default styling.
2012-07-26 00:58:26 -06:00
Jason Sanford
b33d75f351
Merge branch 'gh-pages-master' of github.com:JasonSanford/Leaflet into gh-pages-master
2012-07-26 00:47:42 -06:00
Jason Sanford
f3b8789af3
Don't show bus route segments under construction.
2012-07-26 00:46:22 -06:00
Jason Sanford
9571286494
Convert 16th st bus to FeatureCollection of LineStrings with much less vertices
2012-07-26 00:45:55 -06:00
Vladimir Agafonkin
522c831010
update custom icons example, minor fixes
2012-07-25 19:50:59 +03:00
Vladimir Agafonkin
404c6963f5
Merge branch 'master' into gh-pages-master
2012-07-25 19:39:55 +03:00
Vladimir Agafonkin
97b43a3e98
update mobile example
2012-07-25 18:59:36 +03:00
Vladimir Agafonkin
6b2184821e
improve download page more
2012-07-25 16:24:11 +03:00
Vladimir Agafonkin
9c253a627c
update "used by" links
2012-07-25 14:02:10 +03:00
Vladimir Agafonkin
24dd02aacc
improve download page
2012-07-25 13:15:33 +03:00
Vladimir Agafonkin
62e75978b8
showcase companies on frontpage #400
2012-07-25 13:05:51 +03:00
Vladimir Agafonkin
f1a8f609d0
temporary fix for github icon
2012-07-25 12:04:57 +03:00
mourner
46eb027c76
news flash on frontpage
2012-07-25 01:09:31 +03:00
Vladimir Agafonkin
6bdf50f415
finish quick start update
2012-07-24 18:37:33 +03:00
Vladimir Agafonkin
fd3fbf8419
minor quick start fix
2012-07-24 14:07:28 +03:00
Vladimir Agafonkin
31633ffcee
update quick start guide
2012-07-24 13:57:31 +03:00
Vladimir Agafonkin
3bf097ff0a
officially recommend great plugins :)
2012-07-24 11:34:54 +03:00
Vladimir Agafonkin
d95761cb42
make the frontpage map a little bigger
2012-07-24 10:49:22 +03:00
Vladimir Agafonkin
ffdcf1d8f8
minor front-page improvements
2012-07-24 10:41:48 +03:00
mourner
7f812ad9ec
improve features page, more styling
2012-07-24 01:41:55 +03:00
Vladimir Agafonkin
b2ec1e086f
add transformation and domevent docs, improve styles
2012-07-23 19:20:29 +03:00
Vladimir Agafonkin
b8b161d7a2
more docs updates, ilayer and icontrol docs at last!
2012-07-23 17:22:08 +03:00
Vladimir Agafonkin
8827c66c6c
improve docs html formatting
2012-07-23 12:45:52 +03:00
Vladimir Agafonkin
cff5d65528
color method arguments
2012-07-23 12:45:18 +03:00
Vladimir Agafonkin
5806d6bc6d
add lineutil and polyutil docs
2012-07-23 12:15:00 +03:00
Vladimir Agafonkin
94c027c208
separate layout for tutorials
2012-07-23 10:20:49 +03:00
Jason Sanford
850685329e
Merge branch 'master' of git://github.com/CloudMade/Leaflet into gh-pages-master
2012-07-22 15:30:07 -06:00
mourner
4ee1ee8b9c
more docs updates, jekyllize remaining pages
2012-07-21 01:11:26 +03:00
mourner
30a5caee4d
more docs updates
2012-07-20 23:15:21 +03:00
mourner
7d6af0fad3
more docs updates and additions
2012-07-20 20:10:30 +03:00
Vladimir Agafonkin
a2d7c9819e
more docs updates
2012-07-19 17:11:26 +03:00
Vladimir Agafonkin
92e9d43071
update docs snippets
2012-07-19 11:39:36 +03:00
Vladimir Agafonkin
726213e701
minor tweaks
2012-07-19 11:32:09 +03:00
Vladimir Agafonkin
fb307af274
more files to ignore by Jekyll
2012-07-19 11:12:10 +03:00
Vladimir Agafonkin
4d776737ab
add docs todo for 0.4
2012-07-19 11:11:48 +03:00
mourner
d8eef8fb8b
nicer style for plugins page
2012-07-19 02:08:47 +03:00
mourner
5933cb31df
minor fixes
2012-07-19 02:00:36 +03:00
mourner
fea0a68067
add remaining plugins
2012-07-19 01:55:21 +03:00
Vladimir Agafonkin
539b44e0aa
initial plugins list
2012-07-18 19:12:01 +03:00
Vladimir Agafonkin
c89e855a94
remove logo easter egg, causing hover animation problems
2012-07-18 17:32:12 +03:00
Vladimir Agafonkin
c2a687be29
update readme regarding docs and jekyll
2012-07-18 17:31:24 +03:00
Vladimir Agafonkin
2d42e4d002
merge master
2012-07-18 17:29:45 +03:00
Vladimir Agafonkin
1a5f5a487a
capitalize titles
2012-07-18 16:41:48 +03:00
Vladimir Agafonkin
779a1ed492
improve highlighting
2012-07-18 16:41:35 +03:00
Vladimir Agafonkin
eb5b0e8dca
animation adjustments
2012-07-18 13:43:23 +03:00
Vladimir Agafonkin
26664a44ae
Merge branch 'master' of github.com:CloudMade/Leaflet into gh-pages-master
2012-07-18 13:21:52 +03:00
Vladimir Agafonkin
9e095ed5ad
add sublime project files to gitignore
2012-07-18 13:20:06 +03:00
Vladimir Agafonkin
b4f509abd3
minor style improvements, logo easter egg
2012-07-18 11:25:20 +03:00
mourner
eecf619855
initial blog and plugins pages
2012-07-18 00:41:26 +03:00
mourner
1290a31447
add social icons, improve title
2012-07-18 00:32:50 +03:00
Vladimir Agafonkin
b8c40ee93a
partially convert custom icons example to markdown
2012-07-17 18:26:08 +03:00
Vladimir Agafonkin
f3f67a267a
more layout improvements, plugins/blog links
2012-07-17 16:56:49 +03:00
Vladimir Agafonkin
855f3d6104
add forum link
2012-07-17 16:04:55 +03:00
mourner
fa83b7a034
minor header improvement
2012-07-17 01:26:48 +03:00
mourner
d354b3fcb7
more layout improvements
2012-07-17 01:11:39 +03:00
mourner
e27bc8db19
improve social buttons in layout
2012-07-16 23:56:58 +03:00
mourner
45e9884257
remove outdated files
2012-07-16 23:56:37 +03:00
Vladimir Agafonkin
604c77419a
initial jekyll conversion
2012-07-16 20:21:00 +03:00
Vladimir Agafonkin
e8adf9f919
Merge pull request #804 from hayley/patch-1
...
typo where maxWidth should've been minWidth
2012-07-14 11:00:06 -07:00
hayley
fc69e43ab5
typo where maxWidth should've been minWidth
2012-07-14 12:27:53 -05:00
Vladimir Agafonkin
48b090e6bd
Merge branch 'master' into gh-pages-master
2012-07-13 16:30:02 +03:00
Vladimir Agafonkin
ebf491db89
add last point polygon note, closes #684
2012-07-13 15:10:28 +03:00
Vladimir Agafonkin
25a20644ab
more docs fixes
2012-07-12 16:05:49 +03:00
Vladimir Agafonkin
ecf45d888e
Merge branch 'gh-pages' into gh-pages-master
2012-07-12 15:57:38 +03:00
Vladimir Agafonkin
c09715736d
Merge branch 'master' into gh-pages-master
2012-07-12 15:57:18 +03:00
Vladimir Agafonkin
9df26ae739
fix geojson example code so that it works
2012-07-12 15:33:52 +03:00
Vladimir Agafonkin
82f389d9cc
more docs updates, including new geojson reference
2012-07-12 15:12:20 +03:00
Vladimir Agafonkin
342b333681
Merge branch 'master' into gh-pages-master
2012-07-12 15:07:27 +03:00
Vladimir Agafonkin
20993a0cf6
lots of docs updates regarding the new syntax
2012-07-12 14:27:58 +03:00
Vladimir Agafonkin
eb9c1bfc4f
tweak docs col widths to make it nicer
2012-07-12 11:22:58 +03:00
mourner
73cf121a2a
add missing heading in docs
2012-07-12 01:32:00 +03:00
mourner
8769c43b3b
fix link color on examples
2012-07-12 01:29:44 +03:00
mourner
ec30171f4f
minor tweaks
2012-07-12 01:21:04 +03:00
mourner
4994095ff2
docs styling tweaks
2012-07-12 01:18:00 +03:00
mourner
5fec0c5c37
more docs cleanup
2012-07-12 01:00:34 +03:00
Vladimir Agafonkin
a08d7bcb6e
bring cdn links back!
2012-07-11 14:51:24 +03:00
Vladimir Agafonkin
8fd1ee8d53
update docs toc
2012-07-11 14:47:00 +03:00
Vladimir Agafonkin
3b625cef8f
lots of styling and some corrections to #793
2012-07-11 14:34:39 +03:00
Vladimir Agafonkin
97f5bcc9d0
update highlight.js to latest version
2012-07-11 14:33:56 +03:00
Vladimir Agafonkin
fe3ef98c49
minor updates to #793
2012-07-11 11:53:01 +03:00
Vladimir Agafonkin
ee99b53309
Merge pull request #793 from jieter/gh-pages-master
...
Documentation for Util and DomUtil.
2012-07-11 01:25:41 -07:00
Jan Pieter Waagmeester
10adb5a7d0
Fixing (I think most) documentation issues mentioned in #793 + some other small changes.
2012-07-10 23:30:39 +02:00
Jan Pieter Waagmeester
41beff7218
Adding documentation for Util and DomUtil
2012-07-10 17:45:43 +02:00
Vladimir Agafonkin
91c72b1fcc
website improvements
2012-07-06 12:42:00 +03:00
Vladimir Agafonkin
2e09dee49a
update index and features
2012-07-05 17:50:09 +03:00
Vladimir Agafonkin
5546720b37
Merge remote-tracking branch 'origin/gh-pages' into gh-pages-master
2012-07-05 17:02:03 +03:00
Vladimir Agafonkin
6197323e69
merge master
2012-07-05 17:00:30 +03:00
Vladimir Agafonkin
15ae002e07
Merge pull request #781 from JasonSanford/gh-pages-master
...
FeatureGroup#getBounds docs
2012-07-04 23:42:04 -07:00
Jason Sanford
0aef827156
FeatureGroup#getBounds method documentation
2012-07-04 19:01:56 -06:00
Vladimir Agafonkin
2cd03f5343
minor frontpage update
2012-07-02 17:11:23 +03:00
Vladimir Agafonkin
fc4396c65b
minor update
2012-06-27 15:43:38 +03:00
Vladimir Agafonkin
339e9b71da
examples -> tutorials
2012-06-27 13:37:29 +03:00
Vladimir Agafonkin
1ae87be634
update titles on examples
2012-06-27 13:36:57 +03:00
Vladimir Agafonkin
e95d4692fe
Improve homepage
2012-06-27 13:33:33 +03:00
Vladimir Agafonkin
25a1af4b56
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
2012-06-27 11:32:04 +03:00
Vladimir Agafonkin
a7143fe421
fix browser link in docs
2012-06-24 18:27:31 +03:00
Vladimir Agafonkin
e9c13d4f0f
remove OOP example link (documented in reference)
2012-06-24 13:24:37 +03:00
Vladimir Agafonkin
ab8355ebff
extensive L.Class docs
2012-06-24 13:22:11 +03:00
Vladimir Agafonkin
aa9d390ade
merge gh-pages
2012-06-24 00:04:32 +03:00
Vladimir Agafonkin
b18fe43f5a
L.Browser docs
2012-06-24 00:03:14 +03:00
Vladimir Agafonkin
cb2f1e291a
noConflict docs
2012-06-23 22:35:38 +03:00
Vladimir Agafonkin
123b7d4a71
update icon docs
2012-06-23 22:20:26 +03:00
Vladimir Agafonkin
540f9ae792
Merge branch 'gh-pages' into gh-pages-master
2012-06-23 19:25:57 +03:00
Vladimir Agafonkin
cb981afe3e
more docs updates
2012-06-23 19:25:30 +03:00
Vladimir Agafonkin
3296756335
more docs updates
2012-06-23 18:30:49 +03:00
Vladimir Agafonkin
6861d1c9e3
minor docs updates
2012-06-23 17:45:31 +03:00
Vladimir Agafonkin
a29fada86b
merge gh-pages
2012-06-23 17:32:22 +03:00
Vladimir Agafonkin
9b2dc9e0ad
Link to master docs branch
2012-06-23 17:26:04 +03:00
Vladimir Agafonkin
6e01148bfe
large docs update and cleanup
2012-06-23 17:22:24 +03:00
Vladimir Agafonkin
b93d7d1ae1
add gitignore
2012-06-23 14:01:57 +03:00
Vladimir Agafonkin
ffc1081058
Merge pull request #745 from danzel/gh-pages-master
...
gh-pages-master - Add option description for markerZoomAnimation
2012-06-21 23:32:38 -07:00
danzel
5fe8e8bc16
Add markerZoomAnimation L.Map Option documentation. Will go rename the option in master, this name is better (matches others)
2012-06-22 09:26:56 +12:00
danzel
b8e3cc3b65
Fix up whitespace
2012-06-22 09:05:55 +12:00
mourner
aeff7ac336
update features
2012-06-21 16:15:18 +03:00
mourner
496315568b
Merge branch 'gh-pages' of https://github.com/JasonSanford/Leaflet into gh-pages-master
2012-06-21 15:28:38 +03:00
mourner
8d75c7ca12
update examples according to master changes 2
2012-06-21 15:18:41 +03:00
mourner
99f96aa588
update examples according to master changes
2012-06-21 15:14:15 +03:00
mourner
8e4ed9b819
Merge branch 'master' into gh-pages-master
2012-06-21 15:04:19 +03:00
mourner
825d3670de
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
2012-06-21 15:03:06 +03:00
Konstantin.Myakshin
b65e95f96b
Trigger popupopen/close on markers too.
2012-06-18 22:35:54 +03:00
mourner
3af44954cd
bring marker icon back (oops!)
2012-05-14 11:57:25 +03:00
Vladimir Agafonkin
00a190d6f9
Merge pull request #666 from Guiswa/gh-pages
...
Documentation tweaks
2012-05-10 07:17:50 -07:00
Aaron King
82201b7f7c
Fix broken link.
2012-05-04 14:17:12 -07:00
Aaron King
04720a4910
Add documentation for getLatLng() and getRadius() methods in L.Circle.
2012-05-04 14:13:05 -07:00
Aaron King
245fac5148
Remove duplicate doctype declaration
2012-05-04 14:05:45 -07:00
Vladimir Agafonkin
0b4457e626
Update examples/quick-start.html
2012-04-24 22:31:21 +03:00
Vladimir Agafonkin
d507cfb6c0
Update download.html
2012-04-24 22:28:30 +03:00
Vladimir Agafonkin
68d3b81aa8
Remove CDN links
2012-04-24 22:27:46 +03:00
Vladimir Agafonkin
23690df560
Update wording on the website
2012-03-26 11:15:06 +03:00
Jason Sanford
68fb5568a3
Update docs showing that LatLngBounds can be passed to extend a LatLngBounds.
2012-03-03 14:52:23 -07:00
mourner
6c64b7fdc6
Merge branch 'gh-pages' of github.com:CloudMade/Leaflet into gh-pages
2012-02-28 11:10:39 +02:00
mourner
a9df675d07
Fixing copy thanks to @mroswell
2012-02-28 11:10:23 +02:00
Vladimir Agafonkin
1b6e87eb8d
Merge pull request #540 from JasonSanford/gh-pages
...
Documenting Rectangle, VERSION
2012-02-26 13:23:55 -08:00
Jason Sanford
7f7acc4422
Documenting VERSION
2012-02-26 14:21:08 -07:00
Jason Sanford
2d35803a3e
Documenting Rectangle
2012-02-26 14:16:41 -07:00
mourner
ddf00a1386
html template for docs
2012-02-26 13:45:44 +02:00
mourner
d76a0d7a5f
update quick start example
2012-02-25 13:03:29 +02:00
mourner
f0e2e02eba
update features page
2012-02-25 12:46:14 +02:00
mourner
4e496be4ce
add CDN links on the download page
2012-02-25 12:18:00 +02:00
mourner
caf5ac938c
Change some links on the main page
2012-02-21 17:27:15 +02:00
mourner
a9f5a4a1ac
Add UserVoice widget to all pages
2012-02-21 17:14:40 +02:00
Vladimir Agafonkin
794b2b745f
Merge pull request #503 from JasonSanford/gh-pages
...
Adding some documentation
2012-02-19 11:17:15 -08:00
Jason Sanford
b89daef135
Pixels for unit of radius in CircleMarker.
2012-02-17 07:06:32 -07:00
Jason Sanford
4a3444c810
Documenting setRadius method for Circle and CircleMarker. Addresses #349 .
2012-02-16 22:51:54 -07:00
Jason Sanford
a7968ba236
Documenting LatLngBounds.toBBoxString method. Closes #414 .
2012-02-16 22:38:41 -07:00
mourner
65aa143d78
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
2012-02-15 11:28:23 +02:00
mourner
8e0277d909
Merge branch 'master' into gh-pages
2012-02-15 11:27:55 +02:00
Vladimir Agafonkin
717c64d89f
Merge pull request #486 from JasonSanford/gh-pages
...
Adding documentation for LatLngBounds.equals method
2012-02-14 10:30:42 -08:00
Jason Sanford
e2200764a4
Adding LatLngBounds equals method documentation.
2012-02-14 11:09:26 -07:00
Jason Sanford
66aa85a970
Happy New Year\!
2012-02-14 11:05:42 -07:00
mourner
9ba1fcc2ca
update download link to 0.3.1
2012-02-14 17:27:47 +02:00
mourner
01d5b5a1fe
Merge branch 'master' into gh-pages
2012-02-14 17:26:10 +02:00
mourner
3466fb95c6
better mobile look of the pages
2012-02-14 17:02:29 +02:00
mourner
47308176ff
improve main example and wording on index/features, use a better OSM copyright
2012-02-14 14:21:20 +02:00
mourner
0088575089
change download stable link to 0.3
2012-02-13 16:28:45 +02:00
mourner
91bbe5edae
merge master
2012-02-13 16:26:46 +02:00
mourner
15f0466e1c
Fixed Android vector layers regression, Closed #416 , #407 , #182
2012-02-13 12:13:33 +02:00
mourner
8a5154f9d9
Added Layers Control docs, closed #330
2012-02-12 17:27:31 +02:00
mourner
5ab2ec2cbd
Merge branch 'master' into gh-pages
2012-02-12 15:17:36 +02:00
mourner
d6e30fb17a
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
...
Conflicts:
dist/leaflet-src.js
dist/leaflet.js
2012-02-12 15:16:50 +02:00
mourner
839396ca78
merge last changes
2012-02-12 15:15:03 +02:00
mourner
2ec421749f
Merge branch 'master' into gh-pages
2012-02-03 20:34:26 +02:00
mourner
5611745b1e
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
2012-02-03 20:33:56 +02:00
mourner
47b0a33a8a
update social buttons
2012-02-03 20:33:34 +02:00
Vladimir Agafonkin
71c2d82c2e
Merge pull request #464 from mortenbekditlevsen/gh-pages
...
Updated reference documentation
2012-02-03 03:22:59 -08:00
Morten Ditlevsen
f16a05d184
Update reference documentation with LatLng.distanceTo, Bounds.intersects, LatLngBounds.intersects, TileLayer option reuseTiles, TileLayer.Canvas.redraw, Icon iconUrl=null option
2012-02-03 12:13:05 +01:00
Vladimir Agafonkin
ef2e83ee87
Merge pull request #456 from zedd45/gh-pages
...
Documentation Update to resolve issue #454
2012-02-01 12:41:56 -08:00
Chris Keen
7b44384bcd
update documentation for map.hasListeners to map.hasEventListeners
2012-02-01 14:42:39 -05:00
mourner
453aed8072
Merge branch 'master' into gh-pages
2011-12-15 14:01:45 +02:00
Vladimir Agafonkin
e83ad261fd
Merge pull request #393 from chosak/gh-pages
...
Add map events for popup open/close
2011-12-13 08:09:05 -08:00
mourner
85e720513c
Update build instructions
2011-12-12 22:39:43 +02:00
mourner
0a4682aa2d
Merge branch 'master' into gh-pages
2011-12-02 19:12:29 +02:00
Andy Chosak
2f816ef5a5
Doc updates for master pull request #373 .
2011-11-25 22:21:42 -05:00
mourner
d432e562b5
compatibility notice
2011-10-28 15:18:03 +03:00
mourner
9a456b14e3
cleanup
2011-10-27 17:39:05 +03:00
mourner
e38ca2cc06
make layers control example simpler
2011-10-27 17:30:57 +03:00
mourner
e555ce44b0
merge master
2011-10-27 17:26:09 +03:00
mourner
39f90699f7
clean up and rewrite the layers example
2011-10-27 16:37:48 +03:00
Vladimir Agafonkin
b1be3e7f0b
Merge pull request #329 from JasonSanford/gh-pages
...
Layers Control Example
2011-10-27 05:51:52 -07:00
Jason Sanford
63b6bfd0df
Adding a LayerGroup to the Layers Control example.
2011-10-21 10:46:44 -06:00
Jason Sanford
6890a6591f
Merge branch 'gh-pages' of git://github.com/CloudMade/Leaflet into gh-pages
2011-10-21 09:06:27 -06:00
Jason Sanford
5db7185c35
Merge branch 'master' of github.com:JasonSanford/Leaflet into gh-pages
2011-10-21 08:59:47 -06:00
mourner
6da0f1eb3b
minor cleanup
2011-10-14 17:41:17 +03:00
mourner
ae17553f56
Fixed Circle rendering with incorrect radius, closed #331
2011-10-14 17:40:14 +03:00
Jason Sanford
e6e3e9bfc4
Added a sentence about base layers being mutually exclusive.
2011-10-13 19:17:22 -04:00
Jason Sanford
9050757253
Adding Layers Control example page and image to link from main examples page.
2011-10-13 19:08:21 -04:00
Jason Sanford
3974c6ce58
Layers Control example.
2011-10-13 14:31:50 -04:00
Jason Sanford
e64241328d
Merge branch 'master' of git://github.com/CloudMade/Leaflet
2011-10-06 09:08:29 -06:00
mourner
d0d6b0815e
docs minor cleanup
2011-10-05 16:29:36 +03:00
mourner
3cfe5d7897
update docs for locate-related methods
2011-10-05 16:27:02 +03:00
mourner
f807088328
Merge branch 'master' into gh-pages
2011-10-05 16:05:43 +03:00
Vladimir Agafonkin
477ae34694
Merge pull request #320 from JasonSanford/gh-pages
...
Path clickable option Documentation
2011-10-04 00:09:00 -07:00
Jason Sanford
7fc9ff1202
Adding Path clickable option documentation.
2011-10-04 00:38:27 -06:00
mourner
b22102841d
Minor geojson example edits
2011-09-30 13:34:06 +03:00
Vladimir Agafonkin
17ec851a02
Merge pull request #316 from JasonSanford/gh-pages
...
GeoJSON Examples
2011-09-30 03:12:24 -07:00
Jason Sanford
160427ec31
Merge branch 'gh-pages' of git://github.com/CloudMade/Leaflet into gh-pages
2011-09-29 08:47:42 -06:00
Jason Sanford
e71e42fd3e
Changing JavaScript coding convention.
2011-09-29 08:30:48 -06:00
Jason Sanford
fc96f08dfa
GeoJSON examples complete.
2011-09-28 09:24:36 -06:00
Jason Sanford
e18e1fa7a2
Adding image for main examples page.
2011-09-27 23:38:05 -06:00
Jason Sanford
f813568a2d
More progress on geojson example.
2011-09-27 19:20:16 -06:00
mourner
677c2fedcf
Merge branch 'master' into gh-pages
2011-09-23 18:22:21 +03:00
Jason Sanford
6bfe2a6a41
Styling the GeoJSON features a bit. Styles are based on a "style" object in the GeoJSON properties.
2011-09-21 23:05:00 -06:00
Jason Sanford
a86ea1a8c3
Adding GeoJSON MultiPolygon (one with a donut hole) to example.
2011-09-21 22:50:23 -06:00
Jason Sanford
f095752134
Getting started with a GeoJSON example page.
2011-09-21 00:08:12 -06:00
Jason Sanford
ddd0fd16d7
debug page for geojson was broken. Missing "color" property for MultiPolygon.
2011-09-20 22:50:47 -06:00
mourner
833fee53bb
update highlight.js and leaflet build
2011-09-20 17:20:00 +03:00
mourner
af9a653abe
Merge branch 'master' into gh-pages
2011-09-20 17:12:22 +03:00
Vladimir Agafonkin
940cae12b0
Merge pull request #254 from JasonSanford/gh-pages
...
Documentation changes related to new getBounds method
2011-08-17 04:54:13 -07:00
Jason Sanford
f04412b4e3
Adding "getBounds" documentation for Polyline.
2011-08-16 14:44:04 -06:00
Mourner
27e9336c60
Merge branch 'master' into HEAD
2011-08-15 18:37:40 +03:00
Jason Sanford
8acab197f9
Adding "getBounds" method documentation for L.Path.
2011-08-14 22:49:56 -06:00
Jason Sanford
9fb1d7d1e4
Adding "getLatLngs" method documentation for L.Polyline.
2011-08-14 22:44:20 -06:00
Jason Sanford
3fe506ceb4
Fix geojson-options link
2011-08-14 22:36:05 -06:00
mourner
52329bd82a
Merge branch 'master' into HEAD
2011-07-20 22:39:02 +03:00
Mourner
137188c6ff
Merge branch 'master' into HEAD
2011-07-20 16:28:53 +03:00
Mourner
2d41ad1e72
update build with Layers control
2011-07-20 14:11:23 +03:00
Mourner
9912457cfd
minor docs update, update features
2011-07-13 15:10:13 +03:00
Mourner
f6cde4a1a5
Merge branch 'master' into HEAD
2011-07-13 14:54:27 +03:00
Mourner
881c7989d9
Merge remote branch 'origin/gh-pages' into HEAD
2011-07-06 11:38:07 +03:00
Vladimir Agafonkin
ed07e31fde
Merge pull request #170 from JasonSanford/gh-pages
...
Docs for Path.setStyle
2011-07-06 00:34:29 -07:00
Jason Sanford
e6c8d1b12c
Adding setStyle docs for Path.
2011-07-05 21:19:08 -06:00
Mourner
9d1e2f0053
Merge branch 'master' into HEAD
2011-07-05 12:53:45 +03:00
Vladimir Agafonkin
cea254c5db
Merge pull request #158 from JasonSanford/gh-pages
...
Docs for map.getBounds()
2011-06-24 00:10:16 -07:00
Jason Sanford
c0d20fcda7
Adding docs for map.getBounds()
2011-06-23 22:42:56 -06:00
Mourner
6dbb8dcef2
use documentFragment when adding tiles, closes #152
2011-06-23 14:27:43 +03:00
Mourner
b0ac337d44
minor docs update, closes #145
2011-06-23 14:03:02 +03:00
Mourner
11dd1d6027
Merge branch 'master' into HEAD
2011-06-23 14:00:27 +03:00
Mourner
bd62d6f092
Merge branch 'master' into HEAD
2011-06-22 19:07:37 +03:00
Mourner
f226c5b932
Merge branch 'master' into HEAD
2011-06-22 19:03:57 +03:00
Vladimir Agafonkin
74b9792a1f
Merge pull request #153 from JasonSanford/gh-pages
...
minZoom, maxZoom documentation for Map
2011-06-22 08:15:12 -07:00
Jason Sanford
cbe6df2518
Adding minZoom/maxZoom documentation for Map.
2011-06-22 09:00:10 -06:00
mourner
5e0d9a7bd2
update download link to 0.2.1
2011-06-18 13:37:55 +03:00
Mourner
6d6caa4fd1
update download links
2011-06-17 19:54:37 +03:00
Mourner
d94d2621d4
Merge branch 'master' into HEAD
2011-06-17 19:45:27 +03:00
Mourner
157e5f058f
initial geojson example work
2011-06-17 19:45:04 +03:00
Mourner
2aee0be776
layergroup and featuregroup docs
2011-06-17 19:28:27 +03:00
Mourner
d61849cf9d
parse string coordinates in GeoJSON, closes #136
2011-06-17 16:42:57 +03:00
Mourner
705b28bbcd
Merge branch 'master' into HEAD
2011-06-17 15:53:02 +03:00
Mourner
36007f8593
Merge branch 'master' into HEAD
2011-06-17 14:10:44 +03:00
Mourner
ec9c6f93c8
add twitter follow button
2011-06-17 14:04:48 +03:00
Mourner
5a43278b8a
Merge branch 'master' into HEAD
2011-06-17 13:51:16 +03:00
mourner
e1034aa5dc
update features
2011-06-17 02:09:56 +03:00
mourner
f2c32b9e2a
add google analytics code
2011-06-17 01:56:11 +03:00
mourner
44dca450fc
Merge branch 'master' into HEAD
2011-06-17 00:32:10 +03:00
Vladimir Agafonkin
5d5759665f
Merge pull request #133 from JasonSanford/gh-pages
...
Updating CircleMarker documentation
2011-06-16 13:02:04 -07:00
Mourner
72413e1599
Merge branch 'master' into HEAD
2011-07-16 16:16:45 +03:00
Jason Sanford
090eff81e2
Updating CricleMarker documentation (radius passed in path options object).
2011-06-16 13:19:29 -06:00
Mourner
1e7e732ad9
Revert "CSS cleanup (thanks to CSSLint)"
...
This reverts commit 6e27aeddb5
2011-06-16 15:01:19 +03:00
Mourner
6e27aeddb5
CSS cleanup (thanks to CSSLint)
2011-06-16 15:00:51 +03:00
Mourner
ad5fd996a0
Merge branch 'master' into HEAD
2011-06-16 13:57:34 +03:00
Vladimir Agafonkin
1ebabc57be
Merge pull request #129 from JasonSanford/gh-pages
...
setLatLng method documentation for Circle, CircleMarker
2011-06-16 00:10:50 -07:00
Jason Sanford
fa07ec9c11
Adding "setLatLng" documentation for L.CircleMarker. I'm assuming this will work because CircleMarker extends Circle
2011-06-15 23:39:57 -06:00
Jason Sanford
21f39ded2d
Adding "setLatLng" documentation for L.Circle.
2011-06-15 23:33:37 -06:00
Mourner
eeef2460cd
update geojson docs
2011-06-15 12:18:47 +03:00
Mourner
1d7e23375a
geojson docs
2011-06-15 11:56:45 +03:00
Mourner
2ce83227f6
Merge branch 'master' into HEAD
2011-06-14 12:15:23 +03:00
mourner
454a2a9215
Merge branch 'master' into HEAD
2011-06-14 00:39:02 +03:00
Vladimir Agafonkin
61c67448cd
Merge pull request #120 from JasonSanford/gh-pages
...
Documentation for new options parameter for L.Map.locate
2011-06-13 14:36:53 -07:00
Jason Sanford
78a465570b
Adding options to L.Map.locate that follows the PositionOptions spec for the W3C Geolocation API. You can now pass "enableHighAccuracy" and "maximumAge" to get fresh, accurate positions.
2011-06-13 15:15:43 -06:00
mourner
b6e222f815
Fixed regression related to global map variable, closes #117
2011-06-13 22:15:43 +03:00
mourner
a8521b552f
Merge branch 'master' into HEAD
2011-06-12 12:12:20 +03:00
mourner
da6204c8cf
multipolyline and multipolygon docs
2011-06-10 22:02:00 +03:00
mourner
e0313befea
placeholders for docs
2011-06-10 20:22:44 +03:00
mourner
6a5492a619
Merge branch 'master' into HEAD
2011-06-10 19:52:29 +03:00
Mourner
06c6ee16d3
Merge branch 'master' into HEAD
2011-06-10 12:15:28 +03:00
Mourner
7081349c62
update changelog
2011-06-08 19:34:11 +03:00
Mourner
50c7e92e09
fix webkit memory leak, closes #107
2011-06-08 19:32:14 +03:00
Mourner
5d2c204cc4
update link in copyright notice
2011-06-08 15:48:34 +03:00
Mourner
e447bbb125
fix non-async canvas tile layers
2011-06-07 16:27:12 +03:00
Mourner
4f506868c5
Merge branch 'master' into HEAD
2011-06-03 17:43:21 +03:00
Mourner
8ec5cff4e1
fix typo
2011-06-01 16:50:18 +03:00
Mourner
fadc4b132a
Merge branch 'master' into HEAD
2011-05-31 20:29:37 +03:00
Mourner
4243458670
Merge branch 'master' into HEAD
2011-05-31 16:11:34 +03:00
Mourner
87ab22177c
update CRS docs
2011-05-31 12:48:02 +03:00
Mourner
357273d952
CRS docs
2011-05-31 12:45:36 +03:00
Mourner
b1713373b6
Merge branch 'master' into HEAD
2011-05-31 12:37:27 +03:00
Mourner
f3d3b4f997
Merge branch 'master' into HEAD
2011-05-31 12:36:16 +03:00
Mourner
e77b463540
Merge branch 'master' into HEAD
2011-05-31 12:00:57 +03:00
mourner
d7acf4f452
merge messed-up master, restore doc files :(
2011-05-31 01:57:34 +03:00
mourner
c41c8d70c1
Merge remote branch 'origin/gh-pages' into HEAD
2011-05-31 00:52:11 +03:00
mourner
46545bd93c
crs option
2011-05-31 00:51:48 +03:00
Mourner
df3bd4f3dc
TileLayer.Canvas docs
2011-05-30 15:13:43 +03:00
Mourner
7bae977c49
Merge branch 'master' into HEAD
2011-05-30 13:58:42 +03:00
Mourner
d8b008148a
Marker setLatLng docs
2011-05-26 12:03:29 +03:00
Mourner
716c5d1727
update bounds/latlngbounds docs
2011-05-26 11:58:58 +03:00
Mourner
275e3754d6
Merge branch 'master' into HEAD
2011-05-26 11:57:22 +03:00
Mourner
0221151957
new polyline methods docs
2011-05-25 19:11:45 +03:00
Mourner
69761d2de3
Merge branch 'master' into HEAD
2011-05-25 19:02:49 +03:00
Mourner
2ffdbabf36
Merge branch 'master' into HEAD
2011-05-23 12:32:49 +03:00
Mourner
1c2696eeaf
fix map occasionally breaking while zooming on iOS, fixes #32
2011-05-23 12:26:27 +03:00
Mourner
2e459e734e
add Opera to the list of supported browsers
2011-05-20 16:37:35 +03:00
Mourner
3787bc622f
Merge branch 'master' into HEAD
2011-05-20 16:35:08 +03:00
Mourner
2ca14e6882
Merge branch 'master' into HEAD
2011-05-20 11:20:06 +03:00
Mourner
560e048aab
Merge branch 'master' into HEAD
2011-05-19 19:31:08 +03:00
Mourner
e932016bad
map/marker dragstart/drag/dragend event docs
2011-05-19 17:39:47 +03:00
Mourner
63cc9dff1a
Merge branch 'master' into HEAD
2011-05-19 17:30:08 +03:00
Mourner
41a84e44ea
update geolocation example
2011-05-19 17:29:37 +03:00
Mourner
16c1037c4d
wms docs, update geolocation docs
2011-05-19 17:17:38 +03:00
Mourner
8b9f456635
update quick start example to accomodate circle changes
2011-05-19 16:41:16 +03:00
Mourner
bc299e6305
Merge branch 'master' into HEAD
2011-05-19 16:37:45 +03:00
Mourner
83b6e0dad4
new example: custom icons!
2011-05-18 14:54:58 +03:00
Mourner
c8c18fc779
L.Icon documentation
2011-05-18 14:02:56 +03:00
Mourner
201d4ca306
changelog link
2011-05-18 12:15:05 +03:00
Mourner
7a10a66f2b
Merge branch 'master' into HEAD
2011-05-17 14:20:32 +03:00
Vladimir Agafonkin
4042a9bb41
Update features with WMS support
2011-05-16 11:41:30 -07:00