{"_id":"@aesqe/mapboxgl-minimap","_rev":"1-73dd1c893ded934d13abce7dd139c5e7","name":"@aesqe/mapboxgl-minimap","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aesqe/mapboxgl-minimap","version":"1.0.0","description":"## Demo [Demo on GitHub pages](http://aesqe.github.io/mapboxgl-minimap/)","main":"mapboxgl-control-minimap.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aesqe/mapboxgl-minimap.git"},"keywords":["mapbox","mapboxgl","minimap"],"author":{"name":"aesqe"},"license":"MIT","bugs":{"url":"https://github.com/aesqe/mapboxgl-minimap/issues"},"homepage":"https://github.com/aesqe/mapboxgl-minimap#readme","gitHead":"b4e189259e8f3b527ab61e2a2b6b121d94205bc3","_id":"@aesqe/mapboxgl-minimap@1.0.0","_nodeVersion":"12.9.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-mjcMXQmicx3Czg2yZlwpCiJfuiZLaYB6YKRNik4OsNCnxBRj3v31FR72FM/7xYV9vwk6NZxmqlXvBBtaOy46DQ==","shasum":"3e9d356702f282c0e407e7f3d9c9eb98a43375c5","tarball":"https://registry.npmjs.org/@aesqe/mapboxgl-minimap/-/mapboxgl-minimap-1.0.0.tgz","fileCount":4,"unpackedSize":10152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfXOGxCRA9TVsSAnZWagAAaBYP/jBzbX8C81f1nN1f/Dgr\n4BqSKW9/nDS5NdOD24r2VFI4lhvXCXSvNVgRkfIJxsBfQdRErqEQDfIR4MST\nXAIGIQ1DtuKuPGkcJ5Bcx0lecoFs4HqLNHtZLAxdJNw4tZpbKjYI+gdi1a8c\n430+5rs3xMc7gZV3+oItXlSmYj6Q1rUbNsRVrt8cc1h/6pNtZAADM8UtZ4jf\nbt4LOJt5d3RugMVBH/sWBkvB+ELLr6qESC5Hc8e14pMgEGm62GT5YlB8oT+X\nAigOY/kZccpZpAiAQAwBLkACjrBbxVvnnbzw6uTSa5Y7N6bZfDSzonca/exu\nx/gIm7iaoo8wNCPnLjkHlngmPindtBh9yQmMaPiif+ahnFrQwrST608Ua0Lj\nCFdIbSw7bWiUwVIOuQi4F8XSf2MiZdPSKLpZ6WIIm6wEw63MO7DEPKRkoWTu\n0y7k6ChGmVfelNV63zYKl72LmHsHLBSyCKxyKxkiWkiDN6hMrJkMX8uwei0/\n40aIoevZaE0XbckZ65X8gb6Cf+kKANNzj9qTmm6xRkjT6bnzK9Np/fisLwF4\n4G7iB7dLETR14o4qxx8Ku9f8wxPwTw6HIPOxRNXoyDo5OruPQZpqO0faBIGE\nYmcPJq2mYosjd1fppOuD9GrBl1W4O0OSwcmvOTNTvopXRZZc3sd/nlNuOfi9\n9JFZ\r\n=UkLi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhKVU8Jn1Wyt6gn8JNjECsZM62xQQU1xZTG7JkCM1fCAiEAihJo3fB2uAbyDkOexCMk+aBhm95jQOqFE5KWysGEp5g="}]},"maintainers":[{"name":"aesqe","email":"aesqe@skyphe.org"}],"_npmUser":{"name":"aesqe","email":"aesqe@skyphe.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mapboxgl-minimap_1.0.0_1599922609109_0.7356843787457827"},"_hasShrinkwrap":false}},"time":{"created":"2020-09-12T14:56:49.052Z","1.0.0":"2020-09-12T14:56:49.234Z","modified":"2022-04-04T11:49:39.636Z"},"maintainers":[{"name":"aesqe","email":"aesqe@skyphe.org"}],"description":"## Demo [Demo on GitHub pages](http://aesqe.github.io/mapboxgl-minimap/)","homepage":"https://github.com/aesqe/mapboxgl-minimap#readme","keywords":["mapbox","mapboxgl","minimap"],"repository":{"type":"git","url":"git+https://github.com/aesqe/mapboxgl-minimap.git"},"author":{"name":"aesqe"},"bugs":{"url":"https://github.com/aesqe/mapboxgl-minimap/issues"},"license":"MIT","readme":"# Mapbox GL Minimap Control\n\n## Demo\n[Demo on GitHub pages](http://aesqe.github.io/mapboxgl-minimap/)\n\n**--- work in progress; overall performance can probably be improved ---**\n\n## How to use it\n\n```javascript\nvar map = new mapboxgl.Map({\n\tcontainer: \"map\",\n\tstyle: \"mapbox://styles/mapbox/streets-v8\",\n\tcenter: [-73.94656812952897, 40.72912351406106],\n\tzoom: 7\n});\n\nmap.on(\"style.load\", function () {\n\tmap.addControl(new mapboxgl.Minimap(), 'top-right'); // Possible values are bottom-left, bottom-right, top-left, top-right\n});\n```\n\n## Options\n\n```javascript\n{\n\tid: \"mapboxgl-minimap\",\n\twidth: \"320px\",\n\theight: \"180px\",\n\tstyle: \"mapbox://styles/mapbox/streets-v8\",\n\tcenter: [0, 0],\n\tzoom: 6,\n\n\t// should be a function; will be bound to Minimap\n\tzoomAdjust: null,\n\n\t// if parent map zoom >= 18 and minimap zoom >= 14, set minimap zoom to 16\n\tzoomLevels: [\n\t\t[18, 14, 16],\n\t\t[16, 12, 14],\n\t\t[14, 10, 12],\n\t\t[12, 8, 10],\n\t\t[10, 6, 8]\n\t],\n\n\tlineColor: \"#08F\",\n\tlineWidth: 1,\n\tlineOpacity: 1,\n\n\tfillColor: \"#F80\",\n\tfillOpacity: 0.25,\n\n\tdragPan: false,\n\tscrollZoom: false,\n\tboxZoom: false,\n\tdragRotate: false,\n\tkeyboard: false,\n\tdoubleClickZoom: false,\n\ttouchZoomRotate: false\n}\n```\n\n## Compatibility\n\nThe latest version should be compatible with maboxgl 0.54.0\n","readmeFilename":"README.md"}