{"_id":"leaflet-imageoverlay-rotated","_rev":"10-a5c6e9eef3c499ba7460e4d7a71c22b4","name":"leaflet-imageoverlay-rotated","description":"Displays rotated/slanted image overlays in Leaflet","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"leaflet-imageoverlay-rotated","version":"0.1.0","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0-rc.1"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","gitHead":"877fadd662b531c92bde9b5ee883fbca33afd5ec","_id":"leaflet-imageoverlay-rotated@0.1.0","scripts":{},"_shasum":"ef27d59723c960d0300a010b98ff77585b67d3fd","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"ef27d59723c960d0300a010b98ff77585b67d3fd","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.1.0.tgz","integrity":"sha512-FW8neJidhDQdttmsmaFeU80wT82jh2r2223cs1UK9RzBmZKgJ1l0C4wKgYWnm65s3q7u5PzIPM4v+6nx/V6BKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/VoK4bR3XVIVgoDKLhVWBL5yendZhXVLpzQkExz27kAiB5Ip7YDly+DkCBIuNI8heLWa+jfbIzqKOmMdS5MDj3hw=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/leaflet-imageoverlay-rotated-0.1.0.tgz_1461917328126_0.06234011263586581"},"directories":{}},"0.1.1":{"name":"leaflet-imageoverlay-rotated","version":"0.1.1","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0-rc.1"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","gitHead":"13381b952056309a4669a77d02d0f1a0bb447cf4","_id":"leaflet-imageoverlay-rotated@0.1.1","scripts":{},"_shasum":"c0a72e606b44259ec5d6feaba18403d3e03a694b","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"c0a72e606b44259ec5d6feaba18403d3e03a694b","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.1.1.tgz","integrity":"sha512-B/6Ai1gmD6tJlmOslOqzLMDrHkb1zedtvoFcsyK/e5iEEGez6GRGx63IM2A71HeWr//vCt2CiwCrppBJ5sSeHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk8KUf8GZxtcphNDCUVI/farszkCj6GslloVNqQ+X4ZQIgM2ns4qmAxuWLaOaYk2ZEYknpm8zfzPPVmShESUnaw8A="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/leaflet-imageoverlay-rotated-0.1.1.tgz_1479807648928_0.23493608576245606"},"directories":{}},"0.1.2":{"name":"leaflet-imageoverlay-rotated","version":"0.1.2","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","_id":"leaflet-imageoverlay-rotated@0.1.2","dist":{"shasum":"39b60324ad180b83c80db6765a84716c80d8fc8c","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.1.2.tgz","integrity":"sha512-D9bQuduR3wexW1V+n17B5gvbgnx981OsaJXj/kpwIRun4Wg6P5EHn3GAic3m++MPJ1XGjWJjmW3NwRIdzpZEqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDblJuySKn2ztTiyQBkHSxa89q9q5K3E9Io0hLrD3aqKAIhANGYUAx00GtnRyIcI0jpRlXhkkfJbH84TGZBSbaMdThi"}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-imageoverlay-rotated-0.1.2.tgz_1507567253027_0.5107121365144849"},"directories":{}},"0.1.3":{"name":"leaflet-imageoverlay-rotated","version":"0.1.3","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","_id":"leaflet-imageoverlay-rotated@0.1.3","dist":{"shasum":"6a8b0805d9718ae168f66de4d5bd3f5db1487b0c","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.1.3.tgz","fileCount":9,"unpackedSize":13354,"integrity":"sha512-Gf0ncvqpQGldTY85cE4tN7XBenGVwFBdFHWPAEI9N/SE+6GEgDKVKEOojjKvLifvmXJerc3FXU7c7RtYIC37tQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3btkzkYTQl3hFPQQYiuhmNp+fXrCIGEAkUYDvYTTg0gIhALyOQxDMX+zYvmWEsxYWNTT/7vyXQ8lKhE0zpKYQiRf3"}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-imageoverlay-rotated_0.1.3_1528984176199_0.5067485038719064"},"_hasShrinkwrap":false},"0.1.4":{"name":"leaflet-imageoverlay-rotated","version":"0.1.4","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","_id":"leaflet-imageoverlay-rotated@0.1.4","dist":{"shasum":"2bee14ea0e279adb5cd7dde55890c598a0f94465","integrity":"sha512-x6eLbfpB9iNCeLoTpFb8bhR9/AfSH+38PMgaJrnPA4dkm/rFWG8tq4x8JdFjZTlmmQTZHJVjJKwZfX9niTje5w==","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.1.4.tgz","fileCount":6,"unpackedSize":9966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJceTtgCRA9TVsSAnZWagAAc9wP/jb83cdx2JNUuQhBHw3w\nHgPIK/J1Qz8Mmrvd3RCu+SFq9oQqmKGlMAu8jVyicPP8evhpi2VBZjX1gA2W\nV2zlHPYIh0IV6A+iuk/iCxxe3s/VPt+hkW/pWE07EcshVKRZr2fogMPKClZT\nlZcsyyBoxZo0WzMVjia4OrwqB6CpJGJ51wlTXydtp9nAWeAugQ/652EUElG7\ndNdNrtlB/+YEISK9nQuU/Xc3bfC/s7Z6J+Zeub8Xiax3Gr798hUphahsCPMH\n9r1+5rG0C9/8OpqytAVssS0de35O3Q5/12KbClL47wytFzuRGZhopAFTroDe\ndD+5EOBcFU4DR/dYtl0wyDFgL9hmPYunFfKdg/nat0XzUyMhe0sASOi3+rHu\nYsQjAbtNNO7LftdZfxuQAMUy4JwhB6Hz4esvi56+OcYCGgZzYB8B7Z1kUHxD\n2FYKDl6O9X0IvLCPffgIdrkVMcEXOUNQjogTyhABhfOxydFFI0l38+U6Ktti\nron5RtRaac4PHFuvJtyFV0HIeqth3sszPGQirl7bT1pkFy2Ha20WQA5Loa50\nxx2JPq4y3I7XpgRQi7B1S58uA6A3Rz6zASz/KwAn5TWQAHbU6qcBPqQfsWxS\nxBGQbqWl7VlfSzy9n1IF7jKBr0Iie/bUZIxcKSFGnxoNEeUkNumvEIzdlxoM\nJiQh\r\n=3DOb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDanStddMpsZKv1+sHgBKF061jSjDvS0u6d+kVsuORbAiBrKIjrUpMS8FgzQu7w6WiR0t4HxhsZM6UEHNrPdvdIhg=="}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-imageoverlay-rotated_0.1.4_1551448927197_0.06881681671302053"},"_hasShrinkwrap":false},"0.2.0":{"name":"leaflet-imageoverlay-rotated","version":"0.2.0","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","_id":"leaflet-imageoverlay-rotated@0.2.0","dist":{"shasum":"336b76895862a69afe04c6f1ab6f0ff21cc65697","integrity":"sha512-RPdD6/bcjrjUGabYSAIWFkBVZ2/Pxmdg4IiFXYnOr3IRvjr/sCs/Sye+t9SGu2bx8KFs7aVm9b61VOWL4krBhw==","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.2.0.tgz","fileCount":6,"unpackedSize":10009,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNyuJCRA9TVsSAnZWagAA6YIP/iiFYegQ6301dhCEyKGI\n095UTcLy/2DindPdNFQoSmdY4yAv2abr2HQ5qvep01Ztnkwk/CMVOg18hK+U\nzAgMSWVjGA4Svjiai2o6+HXCXOLbbuAVpDgZl8jJdNs/Cih9GsT6cQPOn92F\nwFKfClHNtHkOkYomIvX2BUDeYCCI/buSJo9Yt0Zw7BiV1c9zRaXFhTLW19GZ\nBEKgNTcabysKmB15N2Qs1T9rWNrau/k17P2ec/Aj9jqsKG3BeUBW7eR0gYUC\nLlwQYrC7IdZGvU+VZw+ogyTbi2Yl0CQeu91ni8es8Do/O0t8yIh7wJueSF/e\ncYi1jOPTfDe/UqDQIcGxEN+yBWb7f77okMpPSEt3TvKtgVMKOXsGeOGqnj7h\nKJZttZF7unFLaGsIXi2GI8KGYI5CRpNsSvQfVC6QgnkuJUI2djj8tFy5LGhj\noszdzdSQH1eWhjP9TiNNA7n0/+2qRPGRiCRTUw0SMUTfnagrre2g5b0+KZga\ng9Aa7W8tGfOipasJUpQkvHAaH0cBdsq0uqdNXe/CpYQB7HL5r5VoZDZoyqX5\njj2dEgGqzR00ukMou0EsQBdJEcMSSZfMKCGgNCEr6/jTHJG0WHLaD1+d5hNr\nuyTBtH76YRD+iYhchN6UOtn+CJKy8Ruwmy3OrcCxpXX6fouiuTTd1eN8tmMf\n8mD5\r\n=WU4K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFBtqBYNxHq4NBtGFdTRpzBvtUR3dH03oj+wDiubSPAHAiBszbngxdn46F07cOXtye9TWf25H3t44KENb4kjTGglPQ=="}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-imageoverlay-rotated_0.2.0_1563896713253_0.7552898128302017"},"_hasShrinkwrap":false},"0.2.1":{"name":"leaflet-imageoverlay-rotated","version":"0.2.1","description":"Displays rotated/slanted image overlays in Leaflet","main":"Leaflet.ImageOverlay.Rotated.js","dependencies":{"leaflet":"^1.0.0"},"devDependencies":{},"keywords":["leaflet"],"authors":["Iván Sánchez Ortega <ivan@mazemap.com>","Julius Buset Asplin <julius@mazemap.com>"],"license":"Beerware","_id":"leaflet-imageoverlay-rotated@0.2.1","dist":{"shasum":"70c6f88049aeff2b57ecda6d0437b1b9058c9a2e","integrity":"sha512-8MsrIuW/aXI0EjDXgJSJJ67nqVNQJsP/glmND9g6yc6t+zQgdPUbTRHC65jSs/IBwzwyhggnDgDuydalcEX+ew==","tarball":"https://registry.npmjs.org/leaflet-imageoverlay-rotated/-/leaflet-imageoverlay-rotated-0.2.1.tgz","fileCount":6,"unpackedSize":10288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdObx/CRA9TVsSAnZWagAA4C8QAIHNxPoQkeYMIW8+1Y5D\nb/dl+j46czAqhTw5ZNXf0ibJezWc8cjAsm1smQraJGjSTxx2RWelK3GMfXQA\n5E+sIo+FcOGDe+JnRc4DTkCOA8fFquPBxzmvBjojPw0XSpwbqkq0zORciGwo\nhQndvr4RK+Alm/wK3GkAgw+qU4/hUmgVzyrliXTaw+nC9c3YOhRgvFkeiZNO\noUw3A+AM9z/3+cKPKFojqxeHAo9rdd20DlmIvsPxMcmGsPY3LTulPomtyYfR\nbmHiWUkeP/JOyXa5A2dnw/4cSie2TE9Yciy7Ei76JORZe7GjkWAh8zaN5tFV\nvxpPO73895XReExqub60dvV5hQ/5zoGq/p7Eri9B/U0/Mh3Lx9oWvwEYH59L\n0mJCaidQq4HVKdsqczLjAF0guY0Qw6oQ2GzYvQnfPkIONtK8gb/c/sAoGYzV\n8LeanbeJiO2W4rLYD2BEmuKSpBBdy3Rh1nICIjjGcVJfYN+GesAvrAJnG+d5\nGhrwrFCwHG1Rq8xFCHj9Hutyxs/4YqRNZxDhKmB/KqPS0CGpfY/em0SJQ8D/\n7SPj+ebrXCDy/oTIAPxhrmJDOHwbpkj7kcb6PnivRJnptVv6Z1DX397G4+BG\ngvbpftY608fZaFy1w3XP/RWZrIvlGiuIe6Tn9uiB5DBT/5J3a5szh2mK3V3M\n7ZaY\r\n=Y/d8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEMnRjiYUaucurE2FhBwekR1TIowFTAKrqjvwNYWkC9LAiAwmRacfgaNPxAKXv7JrP8/0weowbTqqWV/fbAa7yqkjQ=="}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet-imageoverlay-rotated_0.2.1_1564064895013_0.1325848070764868"},"_hasShrinkwrap":false}},"readme":"\n# Leaflet.ImageOverlay.Rotated\n\nDisplay rotated and skewed images in your LeafletJS maps.\n\n\nThis LeafletJS plugin adds a new class, `L.ImageOverlay.Rotated`, subclass of\n[`L.ImageOverlay`](http://leafletjs.com/reference.html#imageoverlay). The main\ndifference is that the position of `L.ImageOverlay` is defined by a `L.LatLngBounds`\n(the `L.LatLng`s of the top-left and bottom-right corners of the image),\nwhereas `L.ImageOverlay.Rotated` is defined by **three** points (the `L.LatLng`s\nof the top-left, top-right and bottom-left corners of the image).\n\nThe image will be rotated *and* skewed (as the three corner points might not form\na 90-degree angle).\n\n## Demo\n\nhttp://ivansanchez.github.io/Leaflet.ImageOverlay.Rotated/demo.html\n\n\n### Usage\n\nTo instantiate a `L.ImageOverlay.Rotated`, specify the image URL, the three corner\npoints, and any `L.ImageOverlay` options in the `L.imageOverlay.rotated` factory\nmethod, for example:\n\n```js\nvar topleft    = L.latLng(40.52256691873593, -3.7743186950683594),\n\ttopright   = L.latLng(40.5210255066156, -3.7734764814376835),\n\tbottomleft = L.latLng(40.52180437272552, -3.7768453359603886);\n\nvar overlay = L.imageOverlay.rotated(\"./palacio.jpg\", topleft, topright, bottomleft, {\n\topacity: 0.4,\n\tinteractive: true,\n\tattribution: \"&copy; <a href='http://www.ign.es'>Instituto Geográfico Nacional de España</a>\"\n}).addTo(map);\n```\n\n`topleft`, `topright` and `bottomleft` are instances of `L.LatLng`, corresponding\nto the locations of the corners of the image. These three `L.LatLng`s might not\nneccesarily be at the top or at the left of each other.\n\nAlternatively, the first parameter to the constructor can be an instance of\n[HTMLImage](https://developer.mozilla.org/docs/Web/API/HTMLImageElement).\n\n\nAdditionally, the `reposition` method allows to reset the `LatLng`s for the corner\npoints, effectively moving the image:\n\n```js\noverlay.reposition(updatedTopLeft, updatedTopRight, updatedBottomLeft);\n```\n\n\n### Using the code in other projects\n\nThe classic way: copy the `Leaflet.ImageOverlay.Rotate.js` file and include it\nin your webpage.\n\n`npm install leaflet-imageoverlay-rotated` can be used to include this project\nas a dependency. The `package.json` file will allow webpack/browserify to work\nits magic.\n\nThere is also some support for Bower (in the form of a `bower.json` file), but\nBower is being deprecated, so NPM is preferred.\n\nThis plugin has been tested only with Leaflet 1.0.0-beta and 1.0.0-rc1. Don't\nexpect it to work with 0.7.x.\n\n\n### Legalese\n\nThe code for this plugin is under a Beerware license:\n\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\n\nThe demo uses an historical building plan dated from 1863, from the archives of the\n[Instituto Geográfico Nacional de España](http://www.ign.es). These images\nare [available under a non-commercial license](http://centrodedescargas.cnig.es/CentroDescargas/cambiarMenu.do?destino=infoCondicionesLicencia).\n\n\n\n","maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"time":{"modified":"2022-06-19T11:13:33.018Z","created":"2016-04-29T08:08:51.312Z","0.1.0":"2016-04-29T08:08:51.312Z","0.1.1":"2016-11-22T09:40:49.469Z","0.1.2":"2017-10-09T16:40:54.003Z","0.1.3":"2018-06-14T13:49:36.249Z","0.1.4":"2019-03-01T14:02:07.309Z","0.2.0":"2019-07-23T15:45:13.346Z","0.2.1":"2019-07-25T14:28:15.144Z"},"keywords":["leaflet"],"license":"Beerware","readmeFilename":"README.md"}