{"_id":"leaflet.icon.glyph","_rev":"10-b7c702756a1bdc00db2f8939108b1571","name":"leaflet.icon.glyph","description":"Allows you to put glyphs from icon fonts into your LeafletJS markers.","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"leaflet.icon.glyph","version":"0.1.0","description":"Allows you to put glyphs from icon fonts into your LeafletJS markers.","main":"Leaflet.Icon.Glyph.js","repository":{"type":"git","url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph.git"},"keywords":["leaflet","icon font"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","bugs":{"url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph/issues"},"gitHead":"808616e25e53da52ce80d82517709afedd116114","_id":"leaflet.icon.glyph@0.1.0","scripts":{},"_shasum":"e54057286a9f455720e7ed685dab9dd5eb04e5a7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"e54057286a9f455720e7ed685dab9dd5eb04e5a7","tarball":"https://registry.npmjs.org/leaflet.icon.glyph/-/leaflet.icon.glyph-0.1.0.tgz","integrity":"sha512-cxPZk1YHCuI4IDU9nCdy61pqYVvx6GQgGI7gq6KYEYZu7lgUrEnjkU4fIEgO5ZSyGgICZKCvU+XvuJ21ywnNEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2zUSCgj7LQJ1phpSUv3tSWNOeMqw5YSwhw6kjrVw0yAIhANkl9VD4heGGfuEr5K4HK9hTQXo2zdyrSCkFNOZU3V9N"}]},"directories":{}},"0.1.1":{"name":"leaflet.icon.glyph","version":"0.1.1","description":"Allows you to put glyphs from icon fonts into your LeafletJS markers.","main":"Leaflet.Icon.Glyph.js","repository":{"type":"git","url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph.git"},"keywords":["leaflet","icon font"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","bugs":{"url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph/issues"},"gitHead":"33d6c2bc049b022dacf1b25c8c3630ae69d6d7bd","_id":"leaflet.icon.glyph@0.1.1","scripts":{},"_shasum":"868ad3e4485ceeb5e759e0ce3896b8dfe64fa43c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"868ad3e4485ceeb5e759e0ce3896b8dfe64fa43c","tarball":"https://registry.npmjs.org/leaflet.icon.glyph/-/leaflet.icon.glyph-0.1.1.tgz","integrity":"sha512-dN8Y9GzYW81QY8ssical398FHCGckpA7Twyz03MEKugUqlJ7YtGN8njT/BGHs5Ves3pIrzDO8tEnhNtamoJDoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICX2TOOIMk4lhzXzopBEGjQOlAAfuDFM3MG5SUpk1QdGAiALvRuBNndCiH5YaBs5bQRlzT+7VXJjnUEmFlaZbF74zA=="}]},"directories":{}},"0.2.0":{"name":"leaflet.icon.glyph","version":"0.2.0","description":"Allows you to put glyphs from icon fonts into your LeafletJS markers.","main":"Leaflet.Icon.Glyph.js","repository":{"type":"git","url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph.git"},"keywords":["leaflet","icon font"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","bugs":{"url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph/issues"},"gitHead":"4ef2ead763613b6aa195cf3af5d3585da7077be1","_id":"leaflet.icon.glyph@0.2.0","scripts":{},"_shasum":"aadf17d4399819973aae2124b321676d8c5d33d9","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"dist":{"shasum":"aadf17d4399819973aae2124b321676d8c5d33d9","tarball":"https://registry.npmjs.org/leaflet.icon.glyph/-/leaflet.icon.glyph-0.2.0.tgz","integrity":"sha512-fV9dirosUB1E/NstJi0WQzVfzKVva7OYy3lfDxFJ6iu8wGurnxHYJ3lQMhwmrIkBhTysY4mOXbBPI1AQnr9uHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyNECtlYUsWUYymNIcZv1Zk0FQRp5oSoPR8vS1KZmEZAIhAPILWOdM0GJQgLzx8TkbY1YbDDoG6yJV0YsrKVa6SB4b"}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/leaflet.icon.glyph-0.2.0.tgz_1456326026947_0.5134941602591425"},"directories":{}},"0.2.1":{"name":"leaflet.icon.glyph","version":"0.2.1","description":"Allows you to put glyphs from icon fonts into your LeafletJS markers.","main":"Leaflet.Icon.Glyph.js","repository":{"type":"git","url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph.git"},"keywords":["leaflet","icon font"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","bugs":{"url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph/issues"},"_id":"leaflet.icon.glyph@0.2.1","dist":{"shasum":"2e1bc790bc459c9a6d36ad50dbc5373ad9d44697","integrity":"sha512-a4uT38ydOgmrMXmAtAdyNhAfdz5yiTBlVVfZ+SI6f+gPFzdROvAN8b+LgfjTlOU2Jjbq5XvPXI6QKMsxnob+kQ==","tarball":"https://registry.npmjs.org/leaflet.icon.glyph/-/leaflet.icon.glyph-0.2.1.tgz","fileCount":8,"unpackedSize":54758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcORdRCRA9TVsSAnZWagAA0Z0P/2A2apdtbpB0Cwq0vBuR\nIrEIBVy5JykqxFhufx1PqqN5vitlHuJiXgJJtK9ftVRKoTezg7C2qke2GBU9\nXFPwW5JZgPi8UpNr8+E7AI0vUD6aZJzcb+IXXyMFT1rB2F4Q4hdF7Qq7DOTv\nA2/04/pzVq8ismGjV47sEKPEWiPL8+EZMH5nWW68MJZmsxIHqepGuam8/z62\n+r1Fe16xzGVgsDloXZZZZwffXY0eJw6ZIq+umgUDP956XbUtSnfoEXyRGbVk\nHruvTmvh0XSujuEzqTsFeq6KwAZ0UiRQHhHpCs4h085mAZtydupp7gyR09GQ\nGD2tVEtw7fEtjHuBm8+wxeboCOiQeYRlFo4rI3aAOi193FLPZf10bd7q6kl4\nQMOZfw7RNg5xQAKlsgBCFnXw8WcrMOtUXTqC9ABbpqfCAnbifJ+qNHLgc4t2\nMypKYbzcfZyscsW5EUGpfg4vIZowTbv28EYTZz+9Thu2jMUft3LPh9J3pQgn\ntro0Q4kJwnBSTW6Zuf21e5xIdkHLvxEdNTBS1dLSE1AqOr7bD70XneivsSEF\nqJ1FnoSVdpAypMufIov3EAHSsSlseGITVADaJmGnTbc5YC4MRbzSbEg32KVd\nfn54noPw8F4C04C0Hf47p1auqbWcgvDUmzme8jgTEmsPUGywvnEZ5LIUj0aI\nJBN7\r\n=LAjz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnKTpo0Ycm+Kn9QqK6V4GTEGO6yHdeEgDvIIMu5RKDUAiAfrbP3GFeKRBQgTaMgmRbUPuceidL5P6Si9mPTTLRFtg=="}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet.icon.glyph_0.2.1_1547245392468_0.42969273428515886"},"_hasShrinkwrap":false},"0.3.0":{"name":"leaflet.icon.glyph","version":"0.3.0","description":"Allows you to put glyphs from icon fonts into your LeafletJS markers.","main":"Leaflet.Icon.Glyph.js","repository":{"type":"git","url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph.git"},"keywords":["leaflet","icon font"],"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"license":"Beerware","bugs":{"url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph/issues"},"_id":"leaflet.icon.glyph@0.3.0","dist":{"shasum":"9151a2c1be87aedc3984bc273c39e47e45220929","integrity":"sha512-kCZGgyAd0pY0EgM70XE7sNTBqXVr2mgcfbCtxq/5uWP7Hk2QTJ8DYcUHvHMqcooZqp1QjUua/uagutopKEcGMg==","tarball":"https://registry.npmjs.org/leaflet.icon.glyph/-/leaflet.icon.glyph-0.3.0.tgz","fileCount":8,"unpackedSize":54769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+55lCRA9TVsSAnZWagAAiIAP/0fM+uneGzYgIGFsj5si\npjSvLtbkSN0D5BNCXW5qJ2CERaAkuNSs0ZlfYx8xYIQoYb3Mz1uJbVeU/qAR\nj12S8B6OwPG4KVK4BUkODpR/OGWaks2stM9PYlbPptuSZouQ4GMdY8X6o0vI\n3LHDZdhcNtBL7zI4YuJciF3wwT13bviCMpA2uRCiFhdAznwUt0dg1/G8IRwJ\nMK8f4OVlyILILY19uxWXBySkmpEVVVbDqqGBq7MHVi2oqLV4EZWy61kO2Ifz\nbchehBnMvbdxusidRNgK75Ibv9p8Dj+xsFyPd2NNJV6ZxufOjp7tQtMIz4zs\nj4sgjmjxVKjOmABTBM+cAmHixSXmXrpE7EuiA5xV8oqnidTw6lrxB074rdxA\nFkQm0qDvJYmgM7jBj42YmMpjNyqpu+eocS2AE2fTFzaapnhQzr4AqcYaO6yK\n0mqlC22C37gmgdKd1n34QNjtNg3qsZdveDuk/+qxm8TyG91PoheTEKz2Vh3E\nUvbRe1/y6jX5LmR29PWAiBpRpEi8VRSi2eHHS+3aZHMwaqb+y5f88uP/NajG\nF70AE7LFY6zPV5DjOHeo06JEyoIOwblAKY+RloxCz2EGZpZIQMwbMjJBOXLd\nFXDAyJV99u/vzr5UstHxfZU3b2hYtDbJ6Akiw3AmX5poYCtKdvM2lNxTCUo/\nVw/e\r\n=KUxl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfNfEIf0zxSGiBQFctOlBeSeVrX0J6aK+NqIYhE2QazAIgBVWdfIVHETCxA/ajSydk7a8o1OsM26P4XeBq4ddRxMo="}]},"maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"_npmUser":{"name":"ivansanchez","email":"ivan@sanchezortega.es"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/leaflet.icon.glyph_0.3.0_1593548388702_0.08879170401487002"},"_hasShrinkwrap":false}},"readme":"\n# Leaflet.Icon.Glyph\n\nAllows you to put glyphs from icon fonts into your LeafletJS markers.\n\nThis is very similar to other LeafletJS plugins such as AwesomeMarkers or\nMakiMarkers. The main difference is that Leaflet.Icon.Glyph does not need any\nCSS to be set up, and should work with any bootstrap-style icon fonts.\n\nThis means hundreds of glyphs at your disposal.\n\n\n## Demo\n\n![Glyph icons demo](https://leaflet.github.io/Leaflet.Icon.Glyph/demo.png)\n\nLive demo at [https://leaflet.github.io/Leaflet.Icon.Glyph/demo.html](https://leaflet.github.io/Leaflet.Icon.Glyph/demo.html)\n\nThe demo shows:\n* Plain glyphs (iconless)\n* <a href='https://materialdesignicons.com/'>Material design icons</a>\n* <a href='http://getbootstrap.com/components/#glyphicons'>Glyphicons-halflings from Bootstrap</a>\n* <a href='https://fontawesome.com'>Font Awesome</a>\n* <a href='http://metroui.org.ua/font.html'>Metro UI icon font</a>\n* <a href='https://github.com/github/octicons'>Github's Octicons</a>\n* <a href='https://github.com/iconic/open-iconic'>Iconic Open</a>\n* <a href='https://github.com/mapshakers/mapkeyicons'>Mapkey Icons</a>\n\n\n## Usage\n\nLoad the script (alongside whatever icon fonts you need):\n\n```html\n\t<script type=\"text/javascript\" src=\"Leaflet.Icon.Glyph.js\"></script>\n```\n\nThen, if your icon glyphs look like this in HTML:\n```html\n<i class=\"mdi mdi-package\"></i>\n```\n\nInstantiate the marker icons like this in your Javascript+Leaflet code:\n\n```js\nvar marker = L.marker(latlng, {\n\ticon: L.icon.glyph({\n\t\tprefix: 'mdi',\n\t\tglyph: 'package'\n\t})\n});\n```\n\nIf you want to show a glyph from a \"normal\" font (e.g. an \"A\"), just set an empty prefix:\n\n```js\nvar marker = L.marker(latlng, {\n\ticon: L.icon.glyph({\n\t\tprefix: '',\n\t\tglyph: 'A'\n\t})\n});\n```\n\nThe [demo page](https://leaflet.github.io/Leaflet.Icon.Glyph/demo.html) shows how to use a few different icon typefaces and plain glyphs, check it out for inspiration!\n\n## Options\n\nAn instance of `L.Icon.Glyph` supports the options of `L.Icon`, plus:\n\n```js\n\nvar icon = L.icon.glyph({\n\n\tclassName: '',\n\t// Akin to the 'className' option in L.DivIcon\n\n\tprefix: '',\n\t// CSS class to be used on all glyphs and prefixed to every glyph name\n\n\tglyph: '',\n\t// Name of the glyph\n\n\tglyphColor: 'white',\n\t// Glyph colour. Value can be any string with a CSS colour definition.\n\n\tglyphSize: '11px',\n\t// Size of the glyph, in CSS units\n\n\tglyphAnchor: [0, 7],\n\t// Position of the center of the glyph relative to the center of the icon.\n\n\tbgPos: [0, 0]\n\t// Akin to the 'bgPos' option in L.DivIcon. Use when using a sprite for the\n\t// icon image.\n\n\tbgSize: [800, 100]\n\t// Forces the size of the background image. Use when using a sprite for the\n\t// icon image in \"retina\" mode.\n});\n```\n\n\n## Subclassing\n\nIf you're using a set of font icons extensively, or a custom icon image, it might\nbe easier to subclass `L.Icon.Glyph` into your own icon class:\n\n```js\nL.Icon.Glyph.MDI = L.Icon.Glyph.extend({\n\toptions: {\n\t\tprefix: 'mdi',\n\t\ticonUrl: '/path/to/your/icon/image.png',\n\t\ticonSize: [30, 50]\n\t}\n});\n\n// Factory\nL.icon.glyph.mdi = function(options) { return new L.Icon.Glyph.MDI(options); };\n\nvar marker = L.marker(latlng, {\n\ticon: L.icon.glyph.mdi({ glyph: 'package' })\n});\n```\n\n\n\n## Legalese\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","maintainers":[{"name":"ivansanchez","email":"ivan@sanchezortega.es"}],"time":{"modified":"2022-06-19T11:16:45.058Z","created":"2015-12-03T09:01:59.425Z","0.1.0":"2015-12-03T09:01:59.425Z","0.1.1":"2015-12-03T11:48:08.047Z","0.2.0":"2016-02-24T15:00:28.036Z","0.2.1":"2019-01-11T22:23:12.640Z","0.3.0":"2020-06-30T20:19:48.823Z"},"keywords":["leaflet","icon font"],"repository":{"type":"git","url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph.git"},"author":{"name":"Iván Sánchez Ortega","email":"ivan@sanchezortega.es"},"bugs":{"url":"https://github.com/IvanSanchez/Leaflet.Icon.Glyph/issues"},"license":"Beerware","readmeFilename":"README.md","users":{"eruditecat":true,"sdgcwoods":true}}