{"_id":"leaflet.marker.slideto","_rev":"6-c498b1034d9e2939c60065c616e1c77c","name":"leaflet.marker.slideto","description":"A plugin for LeafletJS to smoothly move (slide) markers to a new location.","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"leaflet.marker.slideto","version":"0.1.0","description":"A plugin for LeafletJS to smoothly move (slide) markers to a new location.","main":"Leaflet.Marker.SlideTo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo.git"},"keywords":["leaflet","marker","animation"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","gitHead":"469c551f6256bf51438ceb3f9630f84b059499d1","_id":"leaflet.marker.slideto@0.1.0","_shasum":"2164d641c3d5fc4ed679bdb7fd917280730d7aa6","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"2164d641c3d5fc4ed679bdb7fd917280730d7aa6","tarball":"https://registry.npmjs.org/leaflet.marker.slideto/-/leaflet.marker.slideto-0.1.0.tgz","integrity":"sha512-M9AGgmzDbpIEVO9nCFnbxMeBCbWBJ9oE9mR9EriP/RbEfuKb6opBwmhCaJBsuHUJSTpLMOEgTf+UQaFZUj9Acg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVHMk5ytEQKMCGp59Icw92OQ2IhVQMCIRjguVarD+ErAiEAoo3QlGpBpcrv0r+SAt1F5B5oLM192mLS2n5KMzCQ+XY="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/leaflet.marker.slideto-0.1.0.tgz_1472655301597_0.8135249738115817"},"directories":{}},"0.2.0":{"name":"leaflet.marker.slideto","version":"0.2.0","description":"A plugin for LeafletJS to smoothly move (slide) markers to a new location.","main":"Leaflet.Marker.SlideTo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo.git"},"keywords":["leaflet","marker","animation"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","gitHead":"71e8deffcdbe379499880684418aa6fb9dbb9b50","_id":"leaflet.marker.slideto@0.2.0","_shasum":"0191a7134c85ab57d1dd8efefc90abbe529888e9","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"0191a7134c85ab57d1dd8efefc90abbe529888e9","tarball":"https://registry.npmjs.org/leaflet.marker.slideto/-/leaflet.marker.slideto-0.2.0.tgz","integrity":"sha512-MtO/WWwReaj87CUGT1EHdFUVO1IcBrNg9P31G0cyY9bU5V3LRYPuxA+NOBBimwoEb3DAE/sQcpJSOcAioRXbvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6kLJ0KQdSgInm9DsTttq7cXuLhsW4K9vXQzyOwL1/EwIgZOkBb356GD+vyIyLEMg+idsfLKvVkh6H/nA4n4P0MMk="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/leaflet.marker.slideto-0.2.0.tgz_1477572129335_0.2251433120109141"},"directories":{}},"0.3.0":{"name":"leaflet.marker.slideto","version":"0.3.0","description":"A plugin for LeafletJS to smoothly move (slide) markers to a new location.","main":"Leaflet.Marker.SlideTo.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo.git"},"keywords":["leaflet","marker","animation"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","gitHead":"8c6b83d4baad780febd98994e87b6d3723318c92","bugs":{"url":"https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo/issues"},"homepage":"https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo#readme","_id":"leaflet.marker.slideto@0.3.0","_nodeVersion":"14.13.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-BQwOy5CuDBuEXIbeJ1mjO9SqlY3au65LhWJ1hjkwQYy/XhOhaF7kIF3+0DRasONIvbFYL+QwQ2/QjEjDUZgn4A==","shasum":"01c3d84bb111b75339aa6cb99fb1b2f0a8f72ee1","tarball":"https://registry.npmjs.org/leaflet.marker.slideto/-/leaflet.marker.slideto-0.3.0.tgz","fileCount":4,"unpackedSize":6000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1H5BCRA9TVsSAnZWagAA4n0P/j7RI+O8z7jENzLiME8o\nW3JRSOMhdDSi/ogICoSbF6Gw1AFgwcP5f2Jqw3qc9fnskS2myRjlx223MTYH\nE9kRFfe/4eYPWtSTX9KJSwwLe0E13jbv+UINduWq0zOau5r5Rt/1hKLL9xqM\nhjgmvDcS8M0asx6sY+9YgdbMSAm7HBSvoh3NuUkfvogSPCG1Z9AlgidrGcQQ\nBGP175tGC1pms5Krh6wnD6MuFJokboyJ5atH/G5UQaXxd5DtfjnXeRxF3WKb\nWiRaX+0o887i2+CkE6vSPofjIfhPobhqgJfuVH6jq4ymfKcR7SRjvaxAQV7I\niiPLV785LuXLeF4mWaoLNCMIZ/uHim6/DJYvke/KCS4UCqq4SQ8LQK6Ygqi3\n2el3d6u/x70R1lXwicdyOQ+85ARsL9FrFYTFYPnteUiHKtJKxfZfQxibGhJm\nPAXRb0z69xrzECq2tat36wX3R+gShlij3r1weQ8MMz61EMlH3vp/FfJbtt3y\nDKwPqW9B+dWTwnrT2wQyWxs+8axZ5TZbjlqnzvkTokMmCdsf7yUIJ9Ej6YKL\nLl8lRIn3c9s02RbHlvyudTeXp8TvTQD03uzflDRrVaMjZDA/5RzSWqNGwJMW\nDKorqOSUueVX8+AigE8mBv91PV4t4r2Ed+HkWCXHU/7+/OPaECrVR9R/FV4l\nBA8O\r\n=YOTH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNHxdziI5KJvCG9a4SJb0QxfpkXsxFfeREa7u5smuoXAiAhUXcGt93NvhQEh6k0X+WRPmO9cp+r/Zr1FFAMa1Xh6g=="}]},"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet.marker.slideto_0.3.0_1641315904674_0.5422482698932776"},"_hasShrinkwrap":false}},"readme":"# Leaflet.Marker.SlideTo\n\nA plugin for [LeafletJS](http://www.leafletjs.com) to smoothly move (slide) markers to a new location.\n\nTested with Leaflet 1.0.0-rc3. Do not expect this to work in Leaflet 0.7.x.\n\nSee the [demo](http://ivansanchez.gitlab.io/Leaflet.Marker.SlideTo/demo.html).\n\n### API\n\nThis plugin adds two new methods to all `L.Marker`s, `L.Circle`s and `L.CircleMarker`s:\n* `.slideTo(latlng, slideOptions)`.\n* `.slideCancel()`\n\nThe `slideTo` method will start moving the marker (or circle) towards `latlng`, taking\nsome time to do so, using a linear animation.\n\nTwo options are available:\n* `duration` is the number of milliseconds the slide animation will last.\n* `keepAtCenter` is a boolean, whether the map center will follow the marker for the duration of the animation. If set to true, the map's dragging handler will be disabled momentarily.\n\n```\nvar marker = L.marker([10,10]);\n\nmarker.slideTo(\t[20, 20], {\n\tduration: 2000,\n\tkeepAtCenter: true\n});\n\n```\n\nThe `slideCancel` method will stop the sliding animation (if applicable). Running\n`setLatLng` or dragging the marker will also stop the animation.\n\n### Installation through `npm`\n\n```\nnpm install leaflet.marker.slideto\n```\n\n(Idem for `yarn add`)\n\n### Usage through unpkg\n\n```\n<script src='https://unpkg.com/leaflet.marker.slideto@0.2.0/Leaflet.Marker.SlideTo.js'></script>\n```\n\n### Legalese\n\n\n\"THE BEER-WARE LICENSE\":\n<ivan@sanchezortega.es> wrote this file. As long as you retain this notice you\ncan do whatever you want with this stuff. If we meet some day, and you think\nthis stuff is worth it, you can buy me a beer in return.\n\n\n","maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"time":{"modified":"2022-06-19T11:16:55.052Z","created":"2016-08-31T14:55:03.397Z","0.1.0":"2016-08-31T14:55:03.397Z","0.2.0":"2016-10-27T12:42:11.669Z","0.3.0":"2022-01-04T17:05:05.048Z"},"keywords":["leaflet","marker","animation"],"repository":{"type":"git","url":"git+https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo.git"},"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","readmeFilename":"README.md","homepage":"https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo#readme","bugs":{"url":"https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo/issues"}}