{"_id":"leaflet-loading","_rev":"13-0686ec8842e366063b4d6727999778ff","name":"leaflet-loading","description":"A simple loading control for Leaflet","dist-tags":{"latest":"0.1.24"},"versions":{"0.1.15":{"name":"leaflet-loading","version":"0.1.15","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"c40f0b2cd3598bedec535acfe18c44fd1d06de4e","_id":"leaflet-loading@0.1.15","_shasum":"a963d70380f2cadc4bac2928a0368783dfc1c12d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.10.33","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"dist":{"shasum":"a963d70380f2cadc4bac2928a0368783dfc1c12d","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.15.tgz","integrity":"sha512-70HVBl56FRWqQkIgggltbMrw4YTYkC+uTFM75TNMr2sQxi1/kpgx10r7xkoaWK+3cZwTWqyetCfbQuIBRwzn2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIxWK9049pb90N75j5gYCxF6Fv/r51S9x5qWwFAO5l0gIhAMDDnlE98nuUhTiVclcCudUZ+JbswZZQ9A+5xh71eZIZ"}]}},"0.1.17":{"name":"leaflet-loading","version":"0.1.17","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"3b4c930c356d0784c52cfe0b68f1bce6e2a21226","_id":"leaflet-loading@0.1.17","_shasum":"4c54220ed4708c9dcbd1e6bf69f63452e5c1c9d0","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"4c54220ed4708c9dcbd1e6bf69f63452e5c1c9d0","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.17.tgz","integrity":"sha512-DCBlPGXVkX/cJCIdqtLUPzpAKWxdrNQuL9Wx6ETVcIrSk0e0jR8HVKTkrRkoHAw0BH4l763/PlkO5ZXTB1lmkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD65ocmsc3w7pc5/1W7QGoud2zG3K6LrknQbqlqgHlpIAIhAJFgQeP+rU0zAj25JaofOrBDdbL9jJs4m/59g0WEyzXE"}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}]},"0.1.18":{"name":"leaflet-loading","version":"0.1.18","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"829a00896cf618ef7a8656f9d889e891297ceefc","_id":"leaflet-loading@0.1.18","_shasum":"32fde2954236337b792db0f4f1d761269b7805e4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"32fde2954236337b792db0f4f1d761269b7805e4","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.18.tgz","integrity":"sha512-yE2BAWkVSSvLp8dMXD8g3gC4/PHrTkvypAwosrIqoWUVQa+RNNX6Kx5I/nsdN2n31RFRDNja7V+NgyTsiiAFRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqt+usMcmC2SxSDMrJkpTuW2gfTs/NRLQBHNSrO3rtegIgPr0tgKPMKg4O9bzLZvT356AcxwDvncvOBFBQFvxBgEU="}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.18.tgz_1461420763331_0.6092549134045839"}},"0.1.19":{"name":"leaflet-loading","version":"0.1.19","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"3bce4f6af35626bf4020f44f434c8fe09c6ec5d3","_id":"leaflet-loading@0.1.19","_shasum":"18aac32798ae82ddd2a1817ef40cdb636404f506","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"18aac32798ae82ddd2a1817ef40cdb636404f506","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.19.tgz","integrity":"sha512-ig0GgxMlkLiKkCRinRQaQ9wT5ISOZvrTccXm8rZKmZZ30dax4kjS2BwkjrCWEtJs9FXu8YOVRW3vkbPoaXFL+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFa4QXrOsZCILMSrbPBWmg9NQObVfh6e2kXPdTZdAxrNAiB+Idz6m9SLMHIaEQZiyrEvziXTKPfeCE8/kBca+izuvg=="}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.19.tgz_1462387026471_0.05369115248322487"}},"0.1.20":{"name":"leaflet-loading","version":"0.1.20","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"b0b5f52fa101684fa46e2801d8535acde512dbb1","_id":"leaflet-loading@0.1.20","_shasum":"c3bdcff68139d0164614587a8c9ef6ec26a35ff9","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"c3bdcff68139d0164614587a8c9ef6ec26a35ff9","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.20.tgz","integrity":"sha512-o45ymM66K90eoxE/1zFdCLhH1rHGzfaTHPSOutGD+aiVaNY4JaoHMoh1VIDQK2BCA/9nNM6SHk+ctO9WtcEIig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiQb5+VYfVdE2kOzRLKcWiCZEyHNNAEuHJ9zD78EXftQIhAPErYcR9bPFV6Q+2tytndG92j49YBAMTqPhBnCHDdC3C"}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.20.tgz_1462455297588_0.3092109728604555"}},"0.1.21":{"name":"leaflet-loading","version":"0.1.21","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"bac0a594878166fff924a6d8e9b139886a85167b","_id":"leaflet-loading@0.1.21","_shasum":"be9744b99657b916543445e3b062a428cedee4f7","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"be9744b99657b916543445e3b062a428cedee4f7","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.21.tgz","integrity":"sha512-5+equIZE9Fr8Dx4aUbQ6oGMckN37WZHbE028S5Fko0/rMcao0Z2RC0lB8ZFDo45tZPg/vc3aBULiv92ER6EVug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0QN0lFgRYJ6MxXc5RN+hBOy+AVA68B8FMWNmUMUBLgAiEA4NjD/RqcYPA4v+Caz8TCpX5UI+Kdsult0eVCBxayuAI="}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.21.tgz_1467122576889_0.12757318397052586"}},"0.1.22":{"name":"leaflet-loading","version":"0.1.22","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"d91781d29a7f9da71b2666aee5f94511ff64cf2b","_id":"leaflet-loading@0.1.22","_shasum":"86f38509763f0dc02387257a9ad2d99701f89e88","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"86f38509763f0dc02387257a9ad2d99701f89e88","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.22.tgz","integrity":"sha512-HFg/laF8/0VknuN5i1d4+tEjvWTgCEGqA1Xa626APzi+W22HOcFL5lXwrxYIWHeQkghqqzxHA6KW9Uulx1AxDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZbYh7/k8uN07rSibHJ/4LVE4M1lqDDgOMnpdH3nDw3QIhAO4Ujon2obOEglvh1nMrPaVF+U8AfQcn9ZshvDBx7Qg0"}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.22.tgz_1468934872832_0.9719078210182488"}},"0.1.23":{"name":"leaflet-loading","version":"0.1.23","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"d310a51662eee50078276bca7deda7a30df0ca2e","_id":"leaflet-loading@0.1.23","_shasum":"aa31f0d45bdb7488ddb3fc7d9f0c80fb1f4445c8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"aa31f0d45bdb7488ddb3fc7d9f0c80fb1f4445c8","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.23.tgz","integrity":"sha512-oFPyJTsCQE04IvcARy8jQp7AObr+QL7LxeLzBUkDQ/qwn+iN2qSIqKTUo9H9o09eQtfROlfhwXGtx4W9qMFrWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhG9RuYxN+2Nv6SxVZRnMNMlEWVGhKxTvW2geA7k2LCAiAPds//WuO4skaELdrOcFDNVUr0RlF5qJd9HPlUBnePLA=="}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.23.tgz_1475540032040_0.1744635123759508"}},"0.1.24":{"name":"leaflet-loading","version":"0.1.24","description":"A simple loading control for Leaflet","main":"src/Control.Loading.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"keywords":["leaflet","map","maps","gis","geoweb","loading"],"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"license":"MIT","bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","gitHead":"a1329ac02d709e9b63416b5cb09cea861a37fb4a","_id":"leaflet-loading@0.1.24","_shasum":"eafdfc188718eb13d3cf7b9226c4c06b16e92919","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"ebrelsford","email":"ebrelsford@gmail.com"},"dist":{"shasum":"eafdfc188718eb13d3cf7b9226c4c06b16e92919","tarball":"https://registry.npmjs.org/leaflet-loading/-/leaflet-loading-0.1.24.tgz","integrity":"sha512-svOFGs01hbjJpRVY6L6HpaQeLuHIFOmXtGARg3cUzH/lYu2xpRtkYScmDgsQa4vUw4qKS0XvZck0u1E/rRliQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHmBKbBhLwGV4tFKFPfZETjIfJyd+kDLmankqqG8PaAtAiBXeSnl3mXz03l9j08F79XYz6awMEilhid0e6JUYLC/Cw=="}]},"maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/leaflet-loading-0.1.24.tgz_1484765795881_0.6910849995911121"}}},"readme":"Leaflet.loading\n===============\n\nLeaflet.loading is a simple loading control for [Leaflet][]. An unobtrusive\nloading indicator is added below the zoom control if one exists. The indicator\nis visible when tiles are loading or when other data is loading, as indicated by\nfiring custom events on a map. The indicator can be an image, or a [spin.js][]\nspinner (image-less).\n\n\n## Usage\n\nLeaflet.loading is only tested on Leaflet version 0.6 or greater. It will almost\ncertainly not work with older versions of Leaflet. Of course we intend to\nsupport Leaflet 1.0, and we have tested against the latest release (beta 2).\nPlease create an issue if you find that any part of this project is not\ncompatible with Leaflet 1.0.\n\nInclude `Control.Loading.js` and `Control.Loading.css`, then create a map with\n`loadingControl: true` in its options.\n\nBy default, Leaflet.loading includes a base64-encoded animagted loading image in\n`Control.Loading.css`. You can customize this by changing `background-image` for\nthe selector `.leaflet-control-loading`. The simplest case would be adding a 16\nx 16 loading gif in `.leaflet-control-loading`.\n\nYou can also set `spinjs: true` in the options, and load [spin.js][] to use that\ninstead of an image. A spin.js options object can be passed as the spin key when\ninitializing the control.\n\nWhichever method you use, make sure you only use one.\n\nOnce the above is complete you will have a loading indicator that only appears\nwhen tiles are loading.\n\nIf you want to show the loading indicator while other AJAX requests or something\nelse is occurring, fire the `dataloading` event on your map when you begin\nloading and `dataload` when you are finished loading. Please note that there is\n[an issue](https://github.com/ebrelsford/Leaflet.loading/issues/26) with the\nway this control tracks these events and that this will be re-worked in a\nfuture version.\n\n### Options\n\n - **position**: (string) Where you want the control to show up on the map (standard\n   Leaflet control option). Optional, defaults to `topleft`\n - **separate**: (boolean) Whether the control should be separate from the zoom\n   control or not, defaults to false.\n - **zoomControl**: (L.Control.Zoom) The zoom control that the control should be\n   added to. This is only necessary when adding a loading control to a zoom\n   control that you added manually and do not want a separate loading control.\n - **delayIndicator**: (float) The number of milliseconds to wait before\n   showing the loading indicator. Defaults to `null` (no delay).\n - **spinjs**: (boolean) Enable the use of [spin.js][]. Optional, defaults to\n   `false`\n - **spin**: (object) A [spin.js][] options object. Optional, defaults to\n\n    ```\n    {\n        lines: 7,\n        length: 3,\n        width: 3,\n        radius: 5,\n        rotate: 13,\n        top: \"83%\"\n    }\n    ```\n\n\n## Demos\n\nSee Leaflet.loading in action (zoom or pan to make tiles load):\n\n - Using the [simplest setup][simple], with the loading indicator attached to\n   the zoom control.\n - With the loading indicator [separate][] from the zoom control.\n - With the loading indicator and zoom control on the [top right][topright] of\n   the map.\n - The [simplest example using spin.js](http://ebrelsford.github.io/Leaflet.loading/spinjs.html) instead of an image\n - Combined with a [fullscreen control][combined] (e.g. [leaflet.fullscreen][]).\n\n\n## License\n\nLeaflet.loading is free software, and may be redistributed under the MIT\nLicense.\n\n\n [Leaflet]: https://github.com/Leaflet/Leaflet\n [spin.js]: https://github.com/fgnass/spin.js/\n [simple]: http://ebrelsford.github.io/Leaflet.loading/simple.html\n [separate]: http://ebrelsford.github.io/Leaflet.loading/separate.html\n [topright]: http://ebrelsford.github.io/Leaflet.loading/topright.html\n [combined]: http://ebrelsford.github.io/Leaflet.loading/combined.html\n [leaflet.fullscreen]: https://github.com/brunob/leaflet.fullscreen\n","maintainers":[{"name":"ebrelsford","email":"ebrelsford@gmail.com"}],"time":{"modified":"2022-06-19T11:13:52.028Z","created":"2015-02-17T03:34:16.291Z","0.1.15":"2015-02-17T03:34:16.291Z","0.1.17":"2016-01-14T18:40:11.013Z","0.1.18":"2016-04-23T14:12:45.083Z","0.1.19":"2016-05-04T18:37:07.710Z","0.1.20":"2016-05-05T13:35:00.129Z","0.1.21":"2016-06-28T14:02:59.363Z","0.1.22":"2016-07-19T13:27:53.926Z","0.1.23":"2016-10-04T00:13:53.505Z","0.1.24":"2017-01-18T18:56:36.712Z"},"homepage":"https://github.com/ebrelsford/Leaflet.loading","keywords":["leaflet","map","maps","gis","geoweb","loading"],"repository":{"type":"git","url":"git+https://github.com/ebrelsford/Leaflet.loading.git"},"author":{"name":"Eric Brelsford","email":"ebrelsford@gmail.com","url":"http://ebrelsford.github.io/"},"bugs":{"url":"https://github.com/ebrelsford/Leaflet.loading/issues"},"license":"MIT","readmeFilename":"README.md"}