├── .npmignore ├── .gitignore ├── dist ├── images │ ├── leaflet-search │ │ ├── imagesloader.gif │ │ └── imagessearch-icon.png │ ├── leaflet-minimap │ │ └── dist │ │ │ ├── imagestoggle.png │ │ │ └── imagestoggle.svg │ ├── leaflet.fullscreenicon-fullscreen.png │ ├── leaflet.fullscreenicon-fullscreen-2x.png │ ├── leaflet-pegman │ │ └── maps.gstatic.com │ │ │ ├── api-3cb_scout5.png │ │ │ ├── pegman_v3runway-1x.png │ │ │ └── pegman_v3runway-2x.png │ ├── leaflet.locatecontrollocation-arrow-solid.svg │ ├── leaflet.locatecontrolspinner-solid.svg │ └── leaflet.fullscreenicon-fullscreen.svg ├── locales │ ├── kn.js │ ├── en.js │ ├── en-AU.js │ ├── en-GB.js │ ├── de.js │ ├── gl.js │ ├── tl.js │ ├── fil.js │ ├── da.js │ ├── it.js │ ├── nl.js │ ├── no.js │ ├── sv.js │ ├── eu.js │ ├── hr.js │ ├── id.js │ ├── it-IT.js │ ├── pt-PT.js │ ├── pt.js │ ├── ca.js │ ├── pl.js │ ├── pt-BR.js │ ├── lv.js │ ├── sl.js │ ├── es.js │ ├── fi.js │ ├── fr.js │ ├── ro.js │ ├── hu.js │ ├── sk.js │ ├── zh-CN.js │ ├── zh-TW.js │ ├── vi.js │ ├── lt.js │ ├── tr.js │ ├── cs.js │ ├── ko.js │ ├── ja.js │ ├── mr.js │ ├── ar.js │ ├── th.js │ ├── gu.js │ ├── bn.js │ ├── iw.js │ ├── fa.js │ ├── ml.js │ ├── sr.js │ ├── hi.js │ ├── te.js │ ├── ru.js │ ├── uk.js │ ├── el.js │ ├── bg.js │ └── ta.js └── leaflet-ui.css ├── test ├── index.html └── multiple-maps.html ├── package.json ├── README.md ├── src ├── leaflet-ui.css └── leaflet-ui.js └── LICENSE /.npmignore: -------------------------------------------------------------------------------- 1 | /examples 2 | .jshintrc 3 | .gitattributes 4 | _config.yml 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | src/**/*.min.js 4 | src/**/*.min.css 5 | build/**/*.min.js 6 | -------------------------------------------------------------------------------- /dist/images/leaflet-search/imagesloader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet-search/imagesloader.gif -------------------------------------------------------------------------------- /dist/images/leaflet-minimap/dist/imagestoggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet-minimap/dist/imagestoggle.png -------------------------------------------------------------------------------- /dist/images/leaflet-search/imagessearch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet-search/imagessearch-icon.png -------------------------------------------------------------------------------- /dist/images/leaflet.fullscreenicon-fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet.fullscreenicon-fullscreen.png -------------------------------------------------------------------------------- /dist/images/leaflet.fullscreenicon-fullscreen-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet.fullscreenicon-fullscreen-2x.png -------------------------------------------------------------------------------- /dist/images/leaflet-pegman/maps.gstatic.com/api-3cb_scout5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet-pegman/maps.gstatic.com/api-3cb_scout5.png -------------------------------------------------------------------------------- /dist/images/leaflet-pegman/maps.gstatic.com/pegman_v3runway-1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet-pegman/maps.gstatic.com/pegman_v3runway-1x.png -------------------------------------------------------------------------------- /dist/images/leaflet-pegman/maps.gstatic.com/pegman_v3runway-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Raruto/leaflet-ui/HEAD/dist/images/leaflet-pegman/maps.gstatic.com/pegman_v3runway-2x.png -------------------------------------------------------------------------------- /dist/locales/kn.js: -------------------------------------------------------------------------------- 1 | //Kannada 2 | export default { 3 | touch: "Use two fingers to move the map", 4 | scroll: "Use Ctrl + scroll to zoom the map", 5 | scrollMac: "Use ⌘ + scroll to zoom the map" 6 | }; -------------------------------------------------------------------------------- /dist/locales/en.js: -------------------------------------------------------------------------------- 1 | //English 2 | export default { 3 | touch: "Use two fingers to move the map", 4 | scroll: "Use ctrl + scroll to zoom the map", 5 | scrollMac: "Use \u2318 + scroll to zoom the map" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/en-AU.js: -------------------------------------------------------------------------------- 1 | //English (Australian) 2 | export default { 3 | touch: "Use two fingers to move the map", 4 | scroll: "Use ctrl + scroll to zoom the map", 5 | scrollMac: "Use \u2318 + scroll to zoom the map" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/en-GB.js: -------------------------------------------------------------------------------- 1 | //English (Great Britain) 2 | export default { 3 | touch: "Use two fingers to move the map", 4 | scroll: "Use ctrl + scroll to zoom the map", 5 | scrollMac: "Use \u2318 + scroll to zoom the map" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/de.js: -------------------------------------------------------------------------------- 1 | //German 2 | export default { 3 | touch: "Verschieben der Karte mit zwei Fingern", 4 | scroll: "Verwende Strg + Scroll zum Zoomen der Karte", 5 | scrollMac: "Verwende \u2318 + Scroll zum Zoomen der Karte" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/gl.js: -------------------------------------------------------------------------------- 1 | //Galician 2 | export default { 3 | touch: "Utiliza dous dedos para mover o mapa", 4 | scroll: "Preme Ctrl mentres te desprazas para ampliar o mapa", 5 | scrollMac: "Preme \u2318 e despr\u00e1zate para ampliar o mapa" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/tl.js: -------------------------------------------------------------------------------- 1 | //Tagalog 2 | export default { 3 | touch: "Gumamit ng dalawang daliri upang iusog ang mapa", 4 | scroll: "Gamitin ang ctrl + scroll upang i-zoom ang mapa", 5 | scrollMac: "Gamitin ang \u2318 + scroll upang i-zoom ang mapa" 6 | }; -------------------------------------------------------------------------------- /dist/locales/fil.js: -------------------------------------------------------------------------------- 1 | //Filipino 2 | export default { 3 | touch: "Gumamit ng dalawang daliri upang iusog ang mapa", 4 | scroll: "Gamitin ang ctrl + scroll upang i-zoom ang mapa", 5 | scrollMac: "Gamitin ang \u2318 + scroll upang i-zoom ang mapa" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/da.js: -------------------------------------------------------------------------------- 1 | //Danish 2 | export default { 3 | touch: "Brug to fingre til at flytte kortet", 4 | scroll: "Brug ctrl + rullefunktionen til at zoome ind og ud p\u00e5 kortet", 5 | scrollMac: "Brug \u2318 + rullefunktionen til at zoome ind og ud p\u00e5 kortet" 6 | }; -------------------------------------------------------------------------------- /dist/locales/it.js: -------------------------------------------------------------------------------- 1 | //Italian 2 | export default { 3 | touch: "Utilizza due dita per spostare la mappa", 4 | scroll: "Utilizza CTRL + scorrimento per eseguire lo zoom della mappa", 5 | scrollMac: "Utilizza \u2318 + scorrimento per eseguire lo zoom della mappa" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/nl.js: -------------------------------------------------------------------------------- 1 | //Dutch 2 | export default { 3 | touch: "Gebruik twee vingers om de kaart te verplaatsen", 4 | scroll: "Gebruik Ctrl + scrollen om in- en uit te zoomen op de kaart", 5 | scrollMac: "Gebruik \u2318 + scrollen om in en uit te zoomen op de kaart" 6 | }; -------------------------------------------------------------------------------- /dist/locales/no.js: -------------------------------------------------------------------------------- 1 | //Norwegian 2 | export default { 3 | touch: "Bruk to fingre for \u00e5 flytte kartet", 4 | scroll: "Hold ctrl-tasten inne og rull for \u00e5 zoome p\u00e5 kartet", 5 | scrollMac: "Hold inne \u2318-tasten og rull for \u00e5 zoome p\u00e5 kartet" 6 | }; -------------------------------------------------------------------------------- /dist/locales/sv.js: -------------------------------------------------------------------------------- 1 | //Swedish 2 | export default { 3 | touch: "Anv\u00e4nd tv\u00e5 fingrar f\u00f6r att flytta kartan", 4 | scroll: "Anv\u00e4nd ctrl + rulla f\u00f6r att zooma kartan", 5 | scrollMac: "Anv\u00e4nd \u2318 + rulla f\u00f6r att zooma p\u00e5 kartan" 6 | }; -------------------------------------------------------------------------------- /dist/locales/eu.js: -------------------------------------------------------------------------------- 1 | //Basque 2 | export default { 3 | touch: "Erabili bi hatz mapa mugitzeko", 4 | scroll: "Mapan zooma aplikatzeko, sakatu Ktrl eta egin gora edo behera", 5 | scrollMac: "Eduki sakatuta \u2318 eta egin gora eta behera mapa handitu eta txikitzeko" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/hr.js: -------------------------------------------------------------------------------- 1 | //Croatian 2 | export default { 3 | touch: "Pomi\u010dite kartu pomo\u0107u dva prsta", 4 | scroll: "Upotrijebite Ctrl i kliza\u010d mi\u0161a da biste zumirali kartu", 5 | scrollMac: "Upotrijebite gumb \u2318 dok se pomi\u010dete za zumiranje karte" 6 | }; -------------------------------------------------------------------------------- /dist/locales/id.js: -------------------------------------------------------------------------------- 1 | //Indonesian 2 | export default { 3 | touch: "Gunakan dua jari untuk menggerakkan peta", 4 | scroll: "Gunakan ctrl + scroll untuk memperbesar atau memperkecil peta", 5 | scrollMac: "Gunakan \u2318 + scroll untuk memperbesar atau memperkecil peta" 6 | }; -------------------------------------------------------------------------------- /dist/locales/it-IT.js: -------------------------------------------------------------------------------- 1 | //Italian 2 | export default { 3 | touch: "Utilizza due dita per spostare la mappa", 4 | scroll: "Utilizza CTRL + scorrimento per eseguire lo zoom della mappa", 5 | scrollMac: "Utilizza \u2318 + scorrimento per eseguire lo zoom della mappa" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/pt-PT.js: -------------------------------------------------------------------------------- 1 | //Portuguese (Portugal) 2 | export default { 3 | touch: "Utilize dois dedos para mover o mapa", 4 | scroll: "Utilizar ctrl + deslocar para aumentar/diminuir zoom do mapa", 5 | scrollMac: "Utilize \u2318 + deslocar para aumentar/diminuir o zoom do mapa" 6 | }; -------------------------------------------------------------------------------- /dist/locales/pt.js: -------------------------------------------------------------------------------- 1 | //Portuguese 2 | export default { 3 | touch: "Use dois dedos para mover o mapa", 4 | scroll: "Pressione Ctrl e role a tela simultaneamente para aplicar zoom no mapa", 5 | scrollMac: "Use \u2318 e role a tela simultaneamente para aplicar zoom no mapa" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/ca.js: -------------------------------------------------------------------------------- 1 | //Catalan 2 | export default { 3 | touch: "Fes servir dos dits per moure el mapa", 4 | scroll: "Prem la tecla Control mentre et desplaces per apropar i allunyar el mapa", 5 | scrollMac: "Prem la tecla \u2318 mentre et desplaces per apropar i allunyar el mapa" 6 | }; -------------------------------------------------------------------------------- /dist/locales/pl.js: -------------------------------------------------------------------------------- 1 | //Polish 2 | export default { 3 | touch: "Przesu\u0144 map\u0119 dwoma palcami", 4 | scroll: "Naci\u015bnij CTRL i przewi\u0144, by przybli\u017cy\u0107 map\u0119", 5 | scrollMac: "Naci\u015bnij\u00a0\u2318 i przewi\u0144, by przybli\u017cy\u0107 map\u0119" 6 | }; -------------------------------------------------------------------------------- /dist/locales/pt-BR.js: -------------------------------------------------------------------------------- 1 | //Portuguese (Brazil) 2 | export default { 3 | touch: "Use dois dedos para mover o mapa", 4 | scroll: "Pressione Ctrl e role a tela simultaneamente para aplicar zoom no mapa", 5 | scrollMac: "Use \u2318 e role a tela simultaneamente para aplicar zoom no mapa" 6 | }; -------------------------------------------------------------------------------- /dist/locales/lv.js: -------------------------------------------------------------------------------- 1 | //Latvian 2 | export default { 3 | touch: "Lai p\u0101rvietotu karti, b\u012bdiet to ar diviem pirkstiem", 4 | scroll: "Kartes t\u0101lummai\u0146ai izmantojiet ctrl + ritin\u0101\u0161anu", 5 | scrollMac: "Lai veiktu kartes t\u0101lummai\u0146u, izmantojiet \u2318 + ritin\u0101\u0161anu" 6 | }; -------------------------------------------------------------------------------- /dist/locales/sl.js: -------------------------------------------------------------------------------- 1 | //Slovenian 2 | export default { 3 | touch: "Premaknite zemljevid z dvema prstoma", 4 | scroll: "Zemljevid pove\u010date tako, da dr\u017eite tipko Ctrl in vrtite kolesce na mi\u0161ki", 5 | scrollMac: "Uporabite \u2318 + funkcijo pomika, da pove\u010date ali pomanj\u0161ate zemljevid" 6 | }; -------------------------------------------------------------------------------- /dist/locales/es.js: -------------------------------------------------------------------------------- 1 | //Spanish 2 | export default { 3 | touch: "Para mover el mapa, utiliza dos dedos", 4 | scroll: "Mant\u00e9n pulsada la tecla Ctrl mientras te desplazas para acercar o alejar el mapa", 5 | scrollMac: "Mant\u00e9n pulsada la tecla \u2318 mientras te desplazas para acercar o alejar el mapa" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/fi.js: -------------------------------------------------------------------------------- 1 | //Finnish 2 | export default { 3 | touch: "Siirr\u00e4 karttaa kahdella sormella.", 4 | scroll: "Zoomaa karttaa painamalla Ctrl-painiketta ja vieritt\u00e4m\u00e4ll\u00e4.", 5 | scrollMac: "Zoomaa karttaa pit\u00e4m\u00e4ll\u00e4 painike \u2318 painettuna ja vieritt\u00e4m\u00e4ll\u00e4." 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/fr.js: -------------------------------------------------------------------------------- 1 | //French 2 | export default { 3 | touch: "Utilisez deux\u00a0doigts pour d\u00e9placer la carte", 4 | scroll: "Vous pouvez zoomer sur la carte \u00e0 l'aide de CTRL + Molette de d\u00e9filement", 5 | scrollMac: "Vous pouvez zoomer sur la carte \u00e0 l'aide de \u2318 + Molette de d\u00e9filement" 6 | }; -------------------------------------------------------------------------------- /dist/locales/ro.js: -------------------------------------------------------------------------------- 1 | //Romanian 2 | export default { 3 | touch: "Folosi\u021bi dou\u0103 degete pentru a deplasa harta", 4 | scroll: "Ap\u0103sa\u021bi tasta ctrl \u0219i derula\u021bi simultan pentru a m\u0103ri harta", 5 | scrollMac: "Folosi\u021bi \u2318 \u0219i derula\u021bi pentru a m\u0103ri/mic\u0219ora harta" 6 | }; -------------------------------------------------------------------------------- /dist/locales/hu.js: -------------------------------------------------------------------------------- 1 | //Hungarian 2 | export default { 3 | touch: "K\u00e9t ujjal mozgassa a t\u00e9rk\u00e9pet", 4 | scroll: "A t\u00e9rk\u00e9p a ctrl + g\u00f6rget\u00e9s haszn\u00e1lat\u00e1val nagy\u00edthat\u00f3", 5 | scrollMac: "A t\u00e9rk\u00e9p a \u2318 + g\u00f6rget\u00e9s haszn\u00e1lat\u00e1val nagy\u00edthat\u00f3" 6 | }; -------------------------------------------------------------------------------- /dist/locales/sk.js: -------------------------------------------------------------------------------- 1 | //Slovak 2 | export default { 3 | touch: "Mapu m\u00f4\u017eete posun\u00fa\u0165 dvoma prstami", 4 | scroll: "Ak chcete pribl\u00ed\u017ei\u0165 mapu, stla\u010dte kl\u00e1ves ctrl a\u00a0pos\u00favajte", 5 | scrollMac: "Ak chcete pribl\u00ed\u017ei\u0165 mapu, stla\u010dte kl\u00e1ves \u2318 a\u00a0pos\u00favajte kolieskom my\u0161i" 6 | }; -------------------------------------------------------------------------------- /dist/locales/zh-CN.js: -------------------------------------------------------------------------------- 1 | //Chinese (Simplified) 2 | export default { 3 | touch: "\u4f7f\u7528\u53cc\u6307\u79fb\u52a8\u5730\u56fe", 4 | scroll: "\u6309\u4f4f Ctrl \u5e76\u6eda\u52a8\u9f20\u6807\u6eda\u8f6e\u624d\u53ef\u7f29\u653e\u5730\u56fe", 5 | scrollMac: "\u6309\u4f4f \u2318 \u5e76\u6eda\u52a8\u9f20\u6807\u6eda\u8f6e\u624d\u53ef\u7f29\u653e\u5730\u56fe" 6 | }; -------------------------------------------------------------------------------- /dist/locales/zh-TW.js: -------------------------------------------------------------------------------- 1 | //Chinese (Traditional) 2 | export default { 3 | touch: "\u540c\u6642\u4ee5\u5169\u6307\u79fb\u52d5\u5730\u5716", 4 | scroll: "\u6309\u4f4f ctrl \u9375\u52a0\u4e0a\u6372\u52d5\u6ed1\u9f20\u53ef\u4ee5\u7e2e\u653e\u5730\u5716", 5 | scrollMac: "\u6309 \u2318 \u52a0\u4e0a\u6efe\u52d5\u6372\u8ef8\u53ef\u4ee5\u7e2e\u653e\u5730\u5716" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/vi.js: -------------------------------------------------------------------------------- 1 | //Vietnamese 2 | export default { 3 | touch: "S\u1eed d\u1ee5ng hai ng\u00f3n tay \u0111\u1ec3 di chuy\u1ec3n b\u1ea3n \u0111\u1ed3", 4 | scroll: "S\u1eed d\u1ee5ng ctrl + cu\u1ed9n \u0111\u1ec3 thu ph\u00f3ng b\u1ea3n \u0111\u1ed3", 5 | scrollMac: "S\u1eed d\u1ee5ng \u2318 + cu\u1ed9n \u0111\u1ec3 thu ph\u00f3ng b\u1ea3n \u0111\u1ed3" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/lt.js: -------------------------------------------------------------------------------- 1 | //Lithuanian 2 | export default { 3 | touch: "Perkelkite \u017eem\u0117lap\u012f dviem pir\u0161tais", 4 | scroll: "Slinkite nuspaud\u0119 klavi\u0161\u0105 \u201eCtrl\u201c, kad pakeistum\u0117te \u017eem\u0117lapio mastel\u012f", 5 | scrollMac: "Paspauskite klavi\u0161\u0105 \u2318 ir slinkite, kad priartintum\u0117te \u017eem\u0117lap\u012f" 6 | }; -------------------------------------------------------------------------------- /dist/locales/tr.js: -------------------------------------------------------------------------------- 1 | //Turkish 2 | export default { 3 | touch: "Haritada gezinmek i\u00e7in iki parma\u011f\u0131n\u0131z\u0131 kullan\u0131n", 4 | scroll: "Haritay\u0131 yak\u0131nla\u015ft\u0131rmak i\u00e7in ctrl + kayd\u0131rma kombinasyonunu kullan\u0131n", 5 | scrollMac: "Haritay\u0131 yak\u0131nla\u015ft\u0131rmak i\u00e7in \u2318 tu\u015funa bas\u0131p ekran\u0131 kayd\u0131r\u0131n" 6 | }; -------------------------------------------------------------------------------- /dist/locales/cs.js: -------------------------------------------------------------------------------- 1 | //Czech 2 | export default { 3 | touch: "K\u00a0posunut\u00ed mapy pou\u017eijte dva prsty", 4 | scroll: "Velikost zobrazen\u00ed mapy zm\u011b\u0148te podr\u017een\u00edm kl\u00e1vesy Ctrl a\u00a0posouv\u00e1n\u00edm kole\u010dka my\u0161i", 5 | scrollMac: "Velikost zobrazen\u00ed mapy zm\u011bn\u00edte podr\u017een\u00edm kl\u00e1vesy \u2318 a\u00a0posunut\u00edm kole\u010dka my\u0161i / touchpadu" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/ko.js: -------------------------------------------------------------------------------- 1 | //Korean 2 | export default { 3 | touch: "\uc9c0\ub3c4\ub97c \uc6c0\uc9c1\uc774\ub824\uba74 \ub450 \uc190\uac00\ub77d\uc744 \uc0ac\uc6a9\ud558\uc138\uc694.", 4 | scroll: "\uc9c0\ub3c4\ub97c \ud655\ub300/\ucd95\uc18c\ud558\ub824\uba74 Ctrl\uc744 \ub204\ub978 \ucc44 \uc2a4\ud06c\ub864\ud558\uc138\uc694.", 5 | scrollMac: "\uc9c0\ub3c4\ub97c \ud655\ub300\ud558\ub824\uba74 \u2318 + \uc2a4\ud06c\ub864 \uc0ac\uc6a9" 6 | }; -------------------------------------------------------------------------------- /dist/images/leaflet.locatecontrollocation-arrow-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/locales/ja.js: -------------------------------------------------------------------------------- 1 | //Japanese 2 | export default { 3 | touch: "\u5730\u56f3\u3092\u79fb\u52d5\u3055\u305b\u308b\u306b\u306f\u6307 2 \u672c\u3067\u64cd\u4f5c\u3057\u307e\u3059", 4 | scroll: "\u5730\u56f3\u3092\u30ba\u30fc\u30e0\u3059\u308b\u306b\u306f\u3001Ctrl \u30ad\u30fc\u3092\u62bc\u3057\u306a\u304c\u3089\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044", 5 | scrollMac: "\u5730\u56f3\u3092\u30ba\u30fc\u30e0\u3059\u308b\u306b\u306f\u3001\u2318 \u30ad\u30fc\u3092\u62bc\u3057\u306a\u304c\u3089\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044" 6 | }; -------------------------------------------------------------------------------- /dist/locales/mr.js: -------------------------------------------------------------------------------- 1 | //Marathi 2 | export default { 3 | touch: "\u0928\u0915\u093e\u0936\u093e \u0939\u0932\u0935\u093f\u0923\u094d\u092f\u093e\u0938\u093e\u0920\u0940 \u0926\u094b\u0928 \u092c\u094b\u091f\u0947 \u0935\u093e\u092a\u0930\u093e", 4 | scroll: "\u0928\u0915\u093e\u0936\u093e \u091d\u0942\u092e \u0915\u0930\u0923\u094d\u092f\u093e\u0938\u093e\u0920\u0940 ctrl + scroll \u0935\u093e\u092a\u0930\u093e", 5 | scrollMac: "\u0928\u0915\u093e\u0936\u093e\u0935\u0930 \u091d\u0942\u092e \u0915\u0930\u0923\u094d\u092f\u093e\u0938\u093e\u0920\u0940 \u2318 + \u0938\u094d\u0915\u094d\u0930\u094b\u0932 \u0935\u093e\u092a\u0930\u093e" 6 | }; -------------------------------------------------------------------------------- /dist/locales/ar.js: -------------------------------------------------------------------------------- 1 | //Arabic 2 | export default { 3 | touch: "\u0627\u0633\u062a\u062e\u062f\u0645 \u0625\u0635\u0628\u0639\u064a\u0646 \u0644\u062a\u062d\u0631\u064a\u0643 \u0627\u0644\u062e\u0631\u064a\u0637\u0629", 4 | scroll: "\u200f\u0627\u0633\u062a\u062e\u062f\u0645 ctrl + scroll \u0644\u062a\u0635\u063a\u064a\u0631/\u062a\u0643\u0628\u064a\u0631 \u0627\u0644\u062e\u0631\u064a\u0637\u0629", 5 | scrollMac: "\u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u2318 + \u0627\u0644\u062a\u0645\u0631\u064a\u0631 \u0644\u062a\u0643\u0628\u064a\u0631/\u062a\u0635\u063a\u064a\u0631 \u0627\u0644\u062e\u0631\u064a\u0637\u0629" 6 | }; -------------------------------------------------------------------------------- /dist/locales/th.js: -------------------------------------------------------------------------------- 1 | //Thai 2 | export default { 3 | touch: "\u0e43\u0e0a\u0e49 2 \u0e19\u0e34\u0e49\u0e27\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19\u0e41\u0e1c\u0e19\u0e17\u0e35\u0e48", 4 | scroll: "\u0e01\u0e14 Ctrl \u0e04\u0e49\u0e32\u0e07\u0e44\u0e27\u0e49 \u0e41\u0e25\u0e49\u0e27\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e0b\u0e39\u0e21\u0e41\u0e1c\u0e19\u0e17\u0e35\u0e48", 5 | scrollMac: "\u0e01\u0e14 \u2318 \u0e41\u0e25\u0e49\u0e27\u0e40\u0e25\u0e37\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e0b\u0e39\u0e21\u0e41\u0e1c\u0e19\u0e17\u0e35\u0e48" 6 | }; -------------------------------------------------------------------------------- /dist/locales/gu.js: -------------------------------------------------------------------------------- 1 | 2 | //Gujarati 3 | export default { 4 | touch: "\u0aa8\u0a95\u0ab6\u0acb \u0a96\u0ab8\u0ac7\u0aa1\u0ab5\u0abe \u0aac\u0ac7 \u0a86\u0a82\u0a97\u0ab3\u0ac0\u0a93\u0aa8\u0acb \u0a89\u0aaa\u0aaf\u0acb\u0a97 \u0a95\u0ab0\u0acb", 5 | scroll: "\u0aa8\u0a95\u0ab6\u0abe\u0aa8\u0ac7 \u0a9d\u0ac2\u0aae \u0a95\u0ab0\u0ab5\u0abe \u0aae\u0abe\u0a9f\u0ac7 ctrl + \u0ab8\u0acd\u0a95\u0acd\u0ab0\u0acb\u0ab2\u0aa8\u0acb \u0a89\u0aaa\u0aaf\u0acb\u0a97 \u0a95\u0ab0\u0acb", 6 | scrollMac: "\u0aa8\u0a95\u0ab6\u0abe\u0aa8\u0ac7 \u0a9d\u0ac2\u0aae \u0a95\u0ab0\u0ab5\u0abe \u2318 + \u0ab8\u0acd\u0a95\u0acd\u0ab0\u0acb\u0ab2\u0aa8\u0acb \u0a89\u0aaa\u0aaf\u0acb\u0a97 \u0a95\u0ab0\u0acb" 7 | }; -------------------------------------------------------------------------------- /dist/locales/bn.js: -------------------------------------------------------------------------------- 1 | //Bengali 2 | export default { 3 | touch: "\u09ae\u09be\u09a8\u099a\u09bf\u09a4\u09cd\u09b0\u099f\u09bf\u0995\u09c7 \u09b8\u09b0\u09be\u09a4\u09c7 \u09a6\u09c1\u099f\u09bf \u0986\u0999\u09cd\u0997\u09c1\u09b2 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c1\u09a8", 4 | scroll: "\u09ae\u09cd\u09af\u09be\u09aa \u099c\u09c1\u09ae \u0995\u09b0\u09a4\u09c7 ctrl + scroll \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09c1\u09a8", 5 | scrollMac: "\u09ae\u09cd\u09af\u09be\u09aa\u09c7 \u099c\u09c1\u09ae \u0995\u09b0\u09a4\u09c7 \u2318 \u09ac\u09cb\u09a4\u09be\u09ae \u099f\u09bf\u09aa\u09c7 \u09b8\u09cd\u0995\u09cd\u09b0\u09b2 \u0995\u09b0\u09c1\u09a8" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/iw.js: -------------------------------------------------------------------------------- 1 | //Hebrew 2 | export default { 3 | touch: "\u05d4\u05d6\u05d6 \u05d0\u05ea \u05d4\u05de\u05e4\u05d4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05e9\u05ea\u05d9 \u05d0\u05e6\u05d1\u05e2\u05d5\u05ea", 4 | scroll: "\u200f\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05e0\u05d5\u05ea \u05d0\u05ea \u05de\u05e8\u05d7\u05e7 \u05d4\u05ea\u05e6\u05d5\u05d2\u05d4 \u05d1\u05de\u05e4\u05d4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05de\u05e7\u05e9 ctrl \u05d5\u05d2\u05dc\u05d9\u05dc\u05d4", 5 | scrollMac: "\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05e0\u05d5\u05ea \u05d0\u05ea \u05de\u05e8\u05d7\u05e7 \u05d4\u05ea\u05e6\u05d5\u05d2\u05d4 \u05d1\u05de\u05e4\u05d4 \u05d1\u05d0\u05de\u05e6\u05e2\u05d5\u05ea \u05de\u05e7\u05e9 \u2318 \u05d5\u05d2\u05dc\u05d9\u05dc\u05d4" 6 | }; -------------------------------------------------------------------------------- /dist/locales/fa.js: -------------------------------------------------------------------------------- 1 | //Farsi 2 | export default { 3 | touch: "\u0628\u0631\u0627\u06cc \u062d\u0631\u06a9\u062a \u062f\u0627\u062f\u0646 \u0646\u0642\u0634\u0647 \u0627\u0632 \u062f\u0648 \u0627\u0646\u06af\u0634\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.", 4 | scroll: "\u200f\u0628\u0631\u0627\u06cc \u0628\u0632\u0631\u06af\u200c\u0646\u0645\u0627\u06cc\u06cc \u0646\u0642\u0634\u0647 \u0627\u0632 ctrl + scroll \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f", 5 | scrollMac: "\u0628\u0631\u0627\u06cc \u0628\u0632\u0631\u06af\u200c\u0646\u0645\u0627\u06cc\u06cc \u0646\u0642\u0634\u0647\u060c \u0627\u0632 \u2318 + \u067e\u06cc\u0645\u0627\u06cc\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f." 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/ml.js: -------------------------------------------------------------------------------- 1 | //Malayalam 2 | export default { 3 | touch: "\u0d2e\u0d3e\u0d2a\u0d4d\u0d2a\u0d4d \u0d28\u0d40\u0d15\u0d4d\u0d15\u0d3e\u0d7b \u0d30\u0d23\u0d4d\u0d1f\u0d4d \u0d35\u0d3f\u0d30\u0d32\u0d41\u0d15\u0d7e \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d15", 4 | scroll: "\u0d15\u0d7a\u0d1f\u0d4d\u0d30\u0d4b\u0d7e + \u0d38\u0d4d\u200c\u0d15\u0d4d\u0d30\u0d4b\u0d7e \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d1a\u0d4d\u0d1a\u0d4d \u200c\u0d2e\u0d3e\u0d2a\u0d4d\u0d2a\u0d4d \u200c\u0d38\u0d42\u0d02 \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d15", 5 | scrollMac: "\u2318 + \u0d38\u0d4d\u200c\u0d15\u0d4d\u0d30\u0d4b\u0d7e \u0d09\u0d2a\u0d2f\u0d4b\u0d17\u0d3f\u0d1a\u0d4d\u0d1a\u0d4d \u200c\u0d2e\u0d3e\u0d2a\u0d4d\u0d2a\u0d4d \u200c\u0d38\u0d42\u0d02 \u0d1a\u0d46\u0d2f\u0d4d\u0d2f\u0d41\u0d15" 6 | }; -------------------------------------------------------------------------------- /dist/locales/sr.js: -------------------------------------------------------------------------------- 1 | //Serbian 2 | export default { 3 | touch: "\u041c\u0430\u043f\u0443 \u043f\u043e\u043c\u0435\u0440\u0430\u0458\u0442\u0435 \u043f\u043e\u043c\u043e\u045b\u0443 \u0434\u0432\u0430 \u043f\u0440\u0441\u0442\u0430", 4 | scroll: "\u041f\u0440\u0438\u0442\u0438\u0441\u043d\u0438\u0442\u0435 ctrl \u0442\u0430\u0441\u0442\u0435\u0440 \u0434\u043e\u043a \u043f\u043e\u043c\u0435\u0440\u0430\u0442\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0437\u0443\u043c\u0438\u0440\u0430\u043b\u0438 \u043c\u0430\u043f\u0443", 5 | scrollMac: "\u041f\u0440\u0438\u0442\u0438\u0441\u043d\u0438\u0442\u0435 \u0442\u0430\u0441\u0442\u0435\u0440 \u2318 \u0434\u043e\u043a \u043f\u043e\u043c\u0435\u0440\u0430\u0442\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0437\u0443\u043c\u0438\u0440\u0430\u043b\u0438 \u043c\u0430\u043f\u0443" 6 | }; -------------------------------------------------------------------------------- /dist/images/leaflet.locatecontrolspinner-solid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/locales/hi.js: -------------------------------------------------------------------------------- 1 | //Hindi 2 | export default { 3 | touch: "\u092e\u0948\u092a \u090f\u0915 \u091c\u0917\u0939 \u0938\u0947 \u0926\u0942\u0938\u0930\u0940 \u091c\u0917\u0939 \u0932\u0947 \u091c\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0926\u094b \u0909\u0902\u0917\u0932\u093f\u092f\u094b\u0902 \u0915\u093e \u0907\u0938\u094d\u0924\u0947\u092e\u093e\u0932 \u0915\u0930\u0947\u0902", 4 | scroll: "\u092e\u0948\u092a \u0915\u094b \u091c\u093c\u0942\u092e \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f ctrl + \u0938\u094d\u0915\u094d\u0930\u094b\u0932 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947\u0902", 5 | scrollMac: "\u092e\u0948\u092a \u0915\u094b \u091c\u093c\u0942\u092e \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u2318 + \u0938\u094d\u0915\u094d\u0930\u094b\u0932 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947\u0902" 6 | }; -------------------------------------------------------------------------------- /dist/locales/te.js: -------------------------------------------------------------------------------- 1 | //Telugu 2 | export default { 3 | touch: "\u0c2e\u0c4d\u0c2f\u0c3e\u0c2a\u0c4d\u200c\u0c28\u0c3f \u0c24\u0c30\u0c32\u0c3f\u0c02\u0c1a\u0c21\u0c02 \u0c15\u0c4b\u0c38\u0c02 \u0c30\u0c46\u0c02\u0c21\u0c41 \u0c35\u0c47\u0c33\u0c4d\u0c32\u0c28\u0c41 \u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f", 4 | scroll: "\u0c2e\u0c4d\u0c2f\u0c3e\u0c2a\u0c4d\u200c\u0c28\u0c3f \u0c1c\u0c42\u0c2e\u0c4d \u0c1a\u0c47\u0c2f\u0c21\u0c3e\u0c28\u0c3f\u0c15\u0c3f ctrl \u0c2c\u0c1f\u0c28\u0c4d\u200c\u0c28\u0c41 \u0c28\u0c4a\u0c15\u0c4d\u0c15\u0c3f \u0c09\u0c02\u0c1a\u0c3f, \u0c38\u0c4d\u0c15\u0c4d\u0c30\u0c4b\u0c32\u0c4d \u0c1a\u0c47\u0c2f\u0c02\u0c21\u0c3f", 5 | scrollMac: "\u0c2e\u0c4d\u0c2f\u0c3e\u0c2a\u0c4d \u0c1c\u0c42\u0c2e\u0c4d \u0c1a\u0c47\u0c2f\u0c3e\u0c32\u0c02\u0c1f\u0c47 \u2318 + \u0c38\u0c4d\u0c15\u0c4d\u0c30\u0c4b\u0c32\u0c4d \u0c09\u0c2a\u0c2f\u0c4b\u0c17\u0c3f\u0c02\u0c1a\u0c02\u0c21\u0c3f" 6 | }; -------------------------------------------------------------------------------- /dist/locales/ru.js: -------------------------------------------------------------------------------- 1 | //Russian 2 | export default { 3 | touch: "\u0427\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0443, \u043f\u0440\u043e\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u043e \u043d\u0435\u0439 \u0434\u0432\u0443\u043c\u044f \u043f\u0430\u043b\u044c\u0446\u0430\u043c\u0438", 4 | scroll: "\u0427\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0430\u0441\u0448\u0442\u0430\u0431, \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0438\u0432\u0430\u0439\u0442\u0435 \u043a\u0430\u0440\u0442\u0443, \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044f \u043a\u043b\u0430\u0432\u0438\u0448\u0443 Ctrl.", 5 | scrollMac: "\u0427\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043c\u0430\u0441\u0448\u0442\u0430\u0431, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u2318\u00a0+ \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0430" 6 | }; -------------------------------------------------------------------------------- /dist/images/leaflet.fullscreenicon-fullscreen.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/locales/uk.js: -------------------------------------------------------------------------------- 1 | //Ukrainian 2 | export default { 3 | touch: "\u041f\u0435\u0440\u0435\u043c\u0456\u0449\u0443\u0439\u0442\u0435 \u043a\u0430\u0440\u0442\u0443 \u0434\u0432\u043e\u043c\u0430 \u043f\u0430\u043b\u044c\u0446\u044f\u043c\u0438", 4 | scroll: "\u0429\u043e\u0431 \u0437\u043c\u0456\u043d\u044e\u0432\u0430\u0442\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043a\u0430\u0440\u0442\u0438, \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0443\u0439\u0442\u0435 \u043a\u043e\u043b\u0456\u0449\u0430\u0442\u043a\u043e \u043c\u0438\u0448\u0456, \u0443\u0442\u0440\u0438\u043c\u0443\u044e\u0447\u0438 \u043a\u043b\u0430\u0432\u0456\u0448\u0443 Ctrl", 5 | scrollMac: "\u0429\u043e\u0431 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431 \u043a\u0430\u0440\u0442\u0438, \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 \u2318 + \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0443\u0432\u0430\u043d\u043d\u044f" 6 | }; -------------------------------------------------------------------------------- /dist/locales/el.js: -------------------------------------------------------------------------------- 1 | //Greek 2 | export default { 3 | touch: "\u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03b4\u03cd\u03bf \u03b4\u03ac\u03c7\u03c4\u03c5\u03bb\u03b1 \u03b3\u03b9\u03b1 \u03bc\u03b5\u03c4\u03b1\u03ba\u03af\u03bd\u03b7\u03c3\u03b7 \u03c3\u03c4\u03bf\u03bd \u03c7\u03ac\u03c1\u03c4\u03b7", 4 | scroll: "\u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03c0\u03bb\u03ae\u03ba\u03c4\u03c1\u03bf Ctrl \u03ba\u03b1\u03b9 \u03ba\u03cd\u03bb\u03b9\u03c3\u03b7, \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03bc\u03b5\u03b3\u03b5\u03b8\u03cd\u03bd\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03c7\u03ac\u03c1\u03c4\u03b7", 5 | scrollMac: "\u03a7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03c0\u03bb\u03ae\u03ba\u03c4\u03c1\u03bf \u2318 + \u03ba\u03cd\u03bb\u03b9\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03b5\u03c3\u03c4\u03af\u03b1\u03c3\u03b7 \u03c3\u03c4\u03bf\u03bd \u03c7\u03ac\u03c1\u03c4\u03b7" 6 | }; 7 | -------------------------------------------------------------------------------- /dist/locales/bg.js: -------------------------------------------------------------------------------- 1 | //Bulgarian 2 | export default { 3 | touch: "\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439\u0442\u0435 \u0434\u0432\u0430 \u043f\u0440\u044a\u0441\u0442\u0430, \u0437\u0430 \u0434\u0430 \u043f\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u0435 \u043a\u0430\u0440\u0442\u0430\u0442\u0430", 4 | scroll: "\u0417\u0430\u0434\u0440\u044a\u0436\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430 Ctrl \u043d\u0430\u0442\u0438\u0441\u043d\u0430\u0442, \u0434\u043e\u043a\u0430\u0442\u043e \u043f\u0440\u0435\u0432\u044a\u0440\u0442\u0430\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043c\u0430\u0449\u0430\u0431\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0442\u0430", 5 | scrollMac: "\u0417\u0430\u0434\u0440\u044a\u0436\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430 \u2318 \u043d\u0430\u0442\u0438\u0441\u043d\u0430\u0442, \u0434\u043e\u043a\u0430\u0442\u043e \u043f\u0440\u0435\u0432\u044a\u0440\u0442\u0430\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043c\u0430\u0449\u0430\u0431\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0442\u0430" 6 | }; -------------------------------------------------------------------------------- /dist/locales/ta.js: -------------------------------------------------------------------------------- 1 | //Tamil 2 | export default { 3 | touch: "\u0bae\u0bc7\u0baa\u0bcd\u0baa\u0bc8 \u0ba8\u0b95\u0bb0\u0bcd\u0ba4\u0bcd\u0ba4 \u0b87\u0bb0\u0ba3\u0bcd\u0b9f\u0bc1 \u0bb5\u0bbf\u0bb0\u0bb2\u0bcd\u0b95\u0bb3\u0bc8\u0baa\u0bcd \u0baa\u0baf\u0ba9\u0bcd\u0baa\u0b9f\u0bc1\u0ba4\u0bcd\u0ba4\u0bb5\u0bc1\u0bae\u0bcd", 4 | scroll: "\u0bae\u0bc7\u0baa\u0bcd\u0baa\u0bc8 \u0baa\u0bc6\u0bb0\u0bbf\u0ba4\u0bbe\u0b95\u0bcd\u0b95\u0bbf/\u0b9a\u0bbf\u0bb1\u0bbf\u0ba4\u0bbe\u0b95\u0bcd\u0b95\u0bbf\u0baa\u0bcd \u0baa\u0bbe\u0bb0\u0bcd\u0b95\u0bcd\u0b95, ctrl \u0baa\u0b9f\u0bcd\u0b9f\u0ba9\u0bc8\u0baa\u0bcd \u0baa\u0bbf\u0b9f\u0bbf\u0ba4\u0bcd\u0ba4\u0baa\u0b9f\u0bbf, \u0bae\u0bc7\u0bb2\u0bc7/\u0b95\u0bc0\u0bb4\u0bc7 \u0bb8\u0bcd\u0b95\u0bcd\u0bb0\u0bbe\u0bb2\u0bcd \u0b9a\u0bc6\u0baf\u0bcd\u0baf\u0bb5\u0bc1\u0bae\u0bcd", 5 | scrollMac: "\u0bae\u0bc7\u0baa\u0bcd\u0baa\u0bc8 \u0baa\u0bc6\u0bb0\u0bbf\u0ba4\u0bbe\u0b95\u0bcd\u0b95\u0bbf/\u0b9a\u0bbf\u0bb1\u0bbf\u0ba4\u0bbe\u0b95\u0bcd\u0b95\u0bbf\u0baa\u0bcd \u0baa\u0bbe\u0bb0\u0bcd\u0b95\u0bcd\u0b95, \u2318 \u0baa\u0b9f\u0bcd\u0b9f\u0ba9\u0bc8\u0baa\u0bcd \u0baa\u0bbf\u0b9f\u0bbf\u0ba4\u0bcd\u0ba4\u0baa\u0b9f\u0bbf, \u0bae\u0bc7\u0bb2\u0bc7/\u0b95\u0bc0\u0bb4\u0bc7 \u0bb8\u0bcd\u0b95\u0bcd\u0bb0\u0bbe\u0bb2\u0bcd \u0b9a\u0bc6\u0baf\u0bcd\u0baf\u0bb5\u0bc1\u0bae\u0bcd" 6 | }; -------------------------------------------------------------------------------- /dist/images/leaflet-minimap/dist/imagestoggle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |
64 |
65 |
66 |
67 |
68 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "leaflet-ui",
3 | "version": "0.6.0",
4 | "description": "Leaflet presets for common user interface customizations",
5 | "main": "dist/leaflet-ui.js",
6 | "module": "src/leaflet-ui.js",
7 | "scripts": {
8 | "test": "echo \"Error: no test specified\" && exit 1",
9 | "build": "rollup -c build/rollup.config.js",
10 | "watch": "rollup -c build/rollup.config.js --watch",
11 | "dev": "npm run watch",
12 | "version": "npm run build && git add -A dist"
13 | },
14 | "repository": {
15 | "type": "git",
16 | "url": "https://github.com/Raruto/leaflet-ui.git"
17 | },
18 | "keywords": [
19 | "leaflet",
20 | "map",
21 | "default-ui",
22 | "controls",
23 | "layers"
24 | ],
25 | "author": "Raruto",
26 | "license": "GPL-3.0",
27 | "bugs": {
28 | "url": "https://github.com/Raruto/leaflet-ui/issues"
29 | },
30 | "homepage": "https://github.com/Raruto/leaflet-ui#readme",
31 | "devDependencies": {
32 | "postcss-copy": "^7.1.0",
33 | "postcss-import": "^12.0.1",
34 | "rollup": "^2.0.6",
35 | "rollup-plugin-commonjs": "^10.1.0",
36 | "rollup-plugin-copy": "^3.4.0",
37 | "rollup-plugin-git-version": "^0.3.1",
38 | "rollup-plugin-node-resolve": "^5.2.0",
39 | "rollup-plugin-postcss": "^2.4.1",
40 | "rollup-plugin-terser": "^7.0.2"
41 | },
42 | "peerDependencies": {
43 | "leaflet": "^1.7.1"
44 | },
45 | "dependencies": {
46 | "@raruto/leaflet-edit-osm": "0.0.2",
47 | "@raruto/leaflet-gesture-handling": "^1.4.3",
48 | "leaflet-control-layers-inline": "0.0.7",
49 | "leaflet-easyprint": "^2.1.9",
50 | "leaflet-i18n": "^0.3.1",
51 | "leaflet-loading": "^0.1.24",
52 | "leaflet-minimap": "^3.6.1",
53 | "leaflet-pegman": "^0.1.6",
54 | "leaflet-pointable": "^0.0.4",
55 | "leaflet-rotate": "^0.1.4",
56 | "leaflet-search": "^3.0.2",
57 | "leaflet.control.resizer": "^0.0.1",
58 | "leaflet.fullscreen": "^2.4.0",
59 | "leaflet.gridlayer.googlemutant": "^0.13.5",
60 | "leaflet.locatecontrol": "^0.76.1",
61 | "leaflet.visualclick": "^1.1.4"
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # leaflet-ui
2 |
3 | [](https://www.npmjs.com/package/leaflet-ui)
4 | [](LICENSE)
5 |
6 | Leaflet presets for common user interface customizations
7 |
8 | _For a working example see [demo](https://raruto.github.io/leaflet-ui/examples/leaflet-ui.html)_
9 |
10 |
13 |
14 |
15 | * * *
16 |
17 | ## How to use
18 |
19 | 1. **include CSS & JavaScript**
20 | ```html
21 |
22 | ...
23 |
24 |
25 |
26 |
27 |
28 | ...
29 |
30 | ```
31 | 2. **choose a div container used for the slippy map**
32 | ```html
33 |
34 | ...
35 |
36 | ...
37 |
38 | ```
39 | 3. **create your first simple “leaflet-ui” slippy map**
40 | ```html
41 |
66 | ```
67 |
68 | * * *
69 |
70 | **Compatibile with:** leaflet@1.6.0
71 |
72 | * * *
73 |
74 | **Contributors:** [Raruto](https://github.com/Raruto/leaflet-ui)
75 |
--------------------------------------------------------------------------------
/src/leaflet-ui.css:
--------------------------------------------------------------------------------
1 | @import url("../node_modules/leaflet-pegman/leaflet-pegman.css");
2 | @import url("../node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.css");
3 | @import url("../node_modules/leaflet.fullscreen/Control.FullScreen.css");
4 | @import url("../node_modules/@raruto/leaflet-gesture-handling/dist/leaflet-gesture-handling.css");
5 | @import url("../node_modules/@raruto/leaflet-edit-osm/leaflet-edit-osm.css");
6 | @import url("../node_modules/leaflet-control-layers-inline/leaflet-control-layers-inline.css");
7 | @import url("../node_modules/leaflet-minimap/dist/Control.MiniMap.min.css");
8 | @import url("../node_modules/leaflet-loading/src/Control.Loading.css");
9 | @import url("../node_modules/leaflet-search/dist/leaflet-search.min.css");
10 | @import url("../node_modules/leaflet.control.resizer/L.Control.Resizer.css");
11 | @import url("../node_modules/leaflet.visualclick/dist/L.VisualClick.css");
12 |
13 | .leaflet-control-locate a .leaflet-control-locate-location-arrow {
14 | mask-image: url(https://unpkg.com/@raruto/leaflet-elevation@0.3.9/images/elevation-locate.png);
15 | }
16 |
17 | .leaflet-control-minimap.leaflet-control {
18 | cursor: pointer;
19 | }
20 |
21 | .leaflet-control-layers-inline .leaflet-control-layers-base span {
22 | line-height: 1;
23 | }
24 |
25 | .leaflet-control-zoom~.leaflet-control-scale.leaflet-control {
26 | clear: both;
27 | margin: 0;
28 | }
29 |
30 | .leaflet-control-scale-line {
31 | line-height: 1;
32 | }
33 |
34 | .leaflet-control-scale~.leaflet-control-attribution.leaflet-control {
35 | clear: none;
36 | }
37 |
38 | .leaflet-right .leaflet-control-search {
39 | float: right;
40 | margin-left: 0;
41 | margin-top: 0;
42 | }
43 |
44 | .leaflet-control-search .search-input {
45 | width: 215px;
46 | }
47 |
48 | .leaflet-control-search .search-tooltip {
49 | width: 260px;
50 | }
51 |
52 | .leaflet-container:not(.leaflet-touch) .leaflet-control-search .search-button {
53 | width: 26px;
54 | height: 26px;
55 | background-position: 2.5px 2.5px;
56 | }
57 |
58 | .leaflet-container:not(.leaflet-touch) .leaflet-control-search {
59 | border: none;
60 | box-shadow: 0 1px 5px rgba(0,0,0,0.65);
61 | }
62 |
63 | .leaflet-container:not(.leaflet-touch) .leaflet-control-search.search-exp .search-button {
64 | margin: 4px 0 0 0;
65 | }
66 |
67 | .leaflet-control-easyPrint .leaflet-control-easyPrint-button-export {
68 | background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTI4LDMyaDI1NnY2NEgxMjhWMzJ6IE00ODAsMTI4SDMyYy0xNy42LDAtMzIsMTQuNC0zMiwzMnYxNjBjMCwxNy42LDE0LjM5OCwzMiwzMiwzMmg5NnYxMjhoMjU2VjM1Mmg5NiAgIGMxNy42LDAsMzItMTQuNCwzMi0zMlYxNjBDNTEyLDE0Mi40LDQ5Ny42LDEyOCw0ODAsMTI4eiBNMzUyLDQ0OEgxNjBWMjg4aDE5MlY0NDh6IE00ODcuMTk5LDE3NmMwLDEyLjgxMy0xMC4zODcsMjMuMi0yMy4xOTcsMjMuMiAgIGMtMTIuODEyLDAtMjMuMjAxLTEwLjM4Ny0yMy4yMDEtMjMuMnMxMC4zODktMjMuMiwyMy4xOTktMjMuMkM0NzYuODE0LDE1Mi44LDQ4Ny4xOTksMTYzLjE4Nyw0ODcuMTk5LDE3NnoiIGZpbGw9IiMwMDAwMDAiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
69 | background-size: 16px 16px;
70 | cursor: pointer;
71 | }
72 |
73 | .leaflet-control-resizer-opaque,
74 | .leaflet-control-resizer-transparent:hover,
75 | .leaflet-control-resizer-transparent-fakedhover {
76 | background-color: #fff;
77 | border: 2px solid rgba(0, 0, 0, 0.2);
78 | background-clip: padding-box;
79 | }
80 |
81 | .leaflet-control-resizer-s,
82 | .leaflet-control-resizer-se {
83 | border-bottom: none !important;
84 | }
85 |
86 | .leaflet-control-resizer-e,
87 | .leaflet-control-resizer-se {
88 | border-right: none !important;
89 | }
90 |
91 | .leaflet-control-resizer-opaque::after,
92 | .leaflet-control-resizer-transparent:hover::after,
93 | .leaflet-control-resizer-transparent-fakedhover::after {
94 | border-width: 2px;
95 | }
96 |
97 | .leaflet-control-resizer-corner-e,
98 | .leaflet-control-resizer-corner-s,
99 | .leaflet-control-resizer-corner-se {
100 | pointer-events: none;
101 | }
102 |
--------------------------------------------------------------------------------
/test/multiple-maps.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
193 |
194 |
195 |
196 |
--------------------------------------------------------------------------------
/dist/leaflet-ui.css:
--------------------------------------------------------------------------------
1 | .pano-canvas{position:absolute!important;width:100%;height:100%;top:0;right:0;bottom:0;left:0;margin:0;padding:0;z-index:1000;display:none}.pegman-control{width:30px;height:30px;background-color:#fff;box-shadow:0 1px 4px rgba(0,0,0,.3);cursor:grab}.pegman-control.dragging{cursor:grabbing}.pegman-control .pegman-button{position:relative;width:100%;height:100%;background-image:url(images/leaflet-pegman/maps.gstatic.com/api-3cb_scout5.png);background-position:-145px -23px;background-repeat:no-repeat}.pegman-control:hover .pegman-button{background-position:-145px -75px}.pegman-control.active .pegman-button,.pegman-control.dragging .pegman-button{background-position:-145px -50px}.pegman-control.active .pegman-button:before{position:absolute;width:100%;height:100%;content:" ";display:block;z-index:-1;opacity:.5;background:linear-gradient(#d1d1d1,#f5f5f5,#fbfbfb)}.pegman-control.streetview-layer-active{background:linear-gradient(#d1d1d1,#f5f5f5,#fbfbfb);background-clip:padding-box}.pegman{position:absolute;z-index:9999999;display:block;width:100%;height:100%;opacity:0}.pegman:before{position:relative;z-index:5;display:block;width:19px;height:32px;content:" ";background-image:url(images/leaflet-pegman/maps.gstatic.com/api-3cb_scout5.png);background-repeat:no-repeat;background-position:-112px -4px}.pegman:after{position:absolute;width:22px;height:22px;content:" ";bottom:-18px;left:50%;margin-left:-11px;z-index:4;display:block;overflow:visible;visibility:visible;border:1px dotted rgba(51,51,51,.9);border-radius:30px;background-color:rgba(105,185,70,.7);box-shadow:3px 10px 25px rgba(105,185,70,.9)}.pegman.active{opacity:1!important}.pegman.active.left:before{background-position:-119px -55px}.pegman.active.right:before{background-position:-114px -158px}.pegman.active.bottom:before,.pegman.active.top:before{background-position:-112px -4px}.pegman.dropped{opacity:1}.pegman.dropped:before{background-position:-112px -4px}.pegman-marker{background:transparent url(images/leaflet-pegman/maps.gstatic.com/api-3cb_scout5.png) no-repeat scroll 0 -364px}.pegman-marker:not(.leaflet-drag-target){transition:transform .2s linear}.leaflet-left .pegman-control:hover .pegman-button{transform:scaleX(-1)}.leaflet-pegman-v3-default .pegman-control{width:40px;height:40px}.leaflet-pegman-v3-default .pegman-control .pegman-button{background-image:url(images/leaflet-pegman/maps.gstatic.com/pegman_v3runway-2x.png);background-position:-3px -55px;background-size:45px}.leaflet-pegman-v3-default .pegman-control.streetview-layer-active .pegman-button{background-position:-3px -7px}.leaflet-pegman-v3-default .pegman-control:hover .pegman-button{background-position:-3px -152px}.leaflet-pegman-v3-default .pegman-control.dragging .pegman-button{background-position:-3px -104px}.leaflet-pegman-v3-small .pegman-control{width:30px;height:30px}.leaflet-pegman-v3-small .pegman-control .pegman-button{background-image:url(images/leaflet-pegman/maps.gstatic.com/pegman_v3runway-1x.png);background-position:2px -27px;background-size:25px}.leaflet-pegman-v3-small .pegman-control.streetview-layer-active .pegman-button{background-position:2px 0}.leaflet-pegman-v3-small .pegman-control:hover .pegman-button{background-position:2px -79px}.leaflet-pegman-v3-small .pegman-control.dragging .pegman-button{background-position:2px -53px}.leaflet-container:not(.leaflet-touch).leaflet-pegman-v3-small .pegman-control{width:26px;height:26px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-container:not(.leaflet-touch).leaflet-pegman-v3-small .pegman-control .pegman-button{background-position:0 -29px}.leaflet-container:not(.leaflet-touch).leaflet-pegman-v3-small .pegman-control:hover .pegman-button{background-position:0 -81px}.leaflet-container:not(.leaflet-touch).leaflet-pegman-v3-default .pegman-control{width:36px;height:36px;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-container:not(.leaflet-touch).leaflet-pegman-v3-default .pegman-control .pegman-button{background-position:-3px -53px;background-size:42px}.leaflet-container:not(.leaflet-touch).leaflet-pegman-v3-default .pegman-control:hover .pegman-button{background-position:-3px -143px}.leaflet-control-locate a{cursor:pointer}.leaflet-control-locate a .leaflet-control-locate-location-arrow{-webkit-mask-image:url(images/leaflet.locatecontrollocation-arrow-solid.svg);mask-image:url(images/leaflet.locatecontrollocation-arrow-solid.svg)}.leaflet-control-locate a .leaflet-control-locate-location-arrow,.leaflet-control-locate a .leaflet-control-locate-spinner{display:inline-block;width:16px;height:16px;margin:7px;background-color:#000;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.leaflet-control-locate a .leaflet-control-locate-spinner{-webkit-mask-image:url(images/leaflet.locatecontrolspinner-solid.svg);mask-image:url(images/leaflet.locatecontrolspinner-solid.svg);animation:leaflet-control-locate-spin 2s linear infinite}.leaflet-control-locate.active a .leaflet-control-locate-location-arrow{background-color:#2074b6}.leaflet-control-locate.following a .leaflet-control-locate-location-arrow{background-color:#fc8428}.leaflet-touch .leaflet-bar .leaflet-locate-text-active{width:100%;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 10px}.leaflet-touch .leaflet-bar .leaflet-locate-text-active .leaflet-locate-icon{padding:0 5px 0 0}.leaflet-control-locate-location circle{animation:leaflet-control-locate-throb 4s ease infinite}@keyframes leaflet-control-locate-throb{0%{stroke-width:1}50%{stroke-width:3;transform:scale(.8)}to{stroke-width:1}}@keyframes leaflet-control-locate-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fullscreen-icon{background-image:url(images/leaflet.fullscreenicon-fullscreen.svg);background-size:26px 52px}.fullscreen-icon.leaflet-fullscreen-on{background-position:0 -26px}.leaflet-touch .fullscreen-icon{background-position:2px 2px}.leaflet-touch .fullscreen-icon.leaflet-fullscreen-on{background-position:2px -24px}.leaflet-container:-webkit-full-screen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:-ms-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-container:full-screen,.leaflet-container:fullscreen,.leaflet-pseudo-fullscreen{width:100%!important;height:100%!important;z-index:99999}.leaflet-pseudo-fullscreen{position:fixed!important;top:0!important;left:0!important}.leaflet-gesture-handling:after{color:#fff;font-family:Roboto,Arial,sans-serif;font-size:22px;justify-content:center;display:flex;align-items:center;padding:15px;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1001;pointer-events:none;text-align:center;transition:opacity .8s ease-in-out;opacity:0;content:""}.leaflet-gesture-handling-warning:after{transition-duration:.3s;opacity:1}.leaflet-gesture-handling-touch:after{content:attr(data-gesture-handling-touch-content)}.leaflet-gesture-handling-scroll:after{content:attr(data-gesture-handling-scroll-content)}.leaflet-edit-osm.leaflet-control a{padding-right:5px}.leaflet-edit-osm.leaflet-control-attribution.leaflet-control{clear:both}.leaflet-edit-osm~.leaflet-control-attribution.leaflet-control{clear:none}.leaflet-control-layers-inline{margin:0;padding:0}.leaflet-control-layers-inline.leaflet-control-layers{border:transparent;background-color:transparent}.leaflet-control-layers-inline .leaflet-control-layers-base{margin:0;padding:0}.leaflet-control-layers-inline .leaflet-control-layers-base input{display:none}.leaflet-control-layers-inline .leaflet-control-layers-base span{display:inline-block;padding:9.5px;font-size:15px;font-weight:600}.leaflet-control-layers-inline .leaflet-control-layers-base label{display:inline-block;cursor:pointer;box-shadow:0 1px 4px -1px rgba(0,0,0,.3);background-color:#fff;background-clip:padding-box;border:2px solid rgba(0,0,0,.2);border-right:none;border-left:none}.leaflet-control-layers-inline .leaflet-control-layers-base label:hover{background-color:#f4f4f4}.leaflet-control-layers-inline .leaflet-control-layers-base label:first-of-type{border-left:2px solid rgba(0,0,0,.2);border-top-left-radius:4px;border-bottom-left-radius:4px}.leaflet-control-layers-inline .leaflet-control-layers-base label:last-of-type{border-right:2px solid rgba(0,0,0,.2);border-top-right-radius:4px;border-bottom-right-radius:4px}.leaflet-control-layers-inline .leaflet-control-layers-base input+span{color:#565656}.leaflet-control-layers-inline .leaflet-control-layers-base input:checked+span{font-weight:700;color:inherit}.leaflet-container:not(.leaflet-touch) .leaflet-control-layers-inline .leaflet-control-layers-base span{padding:8px;font-size:14px}.leaflet-container:not(.leaflet-touch) .leaflet-control-layers-inline .leaflet-control-layers-base label{border:none}.leaflet-control-minimap{border:solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:3px;background:#f8f8f9;transition:all .6s}.leaflet-control-minimap a{background-color:#fff;background-repeat:no-repeat;z-index:99999;transition:all .6s}.leaflet-control-minimap a.minimized-bottomright{-webkit-transform:rotate(180deg);transform:rotate(180deg);border-radius:0}.leaflet-control-minimap a.minimized-topleft{-webkit-transform:rotate(0deg);transform:rotate(0deg);border-radius:0}.leaflet-control-minimap a.minimized-bottomleft{-webkit-transform:rotate(270deg);transform:rotate(270deg);border-radius:0}.leaflet-control-minimap a.minimized-topright{-webkit-transform:rotate(90deg);transform:rotate(90deg);border-radius:0}.leaflet-control-minimap-toggle-display{background-image:url(images/leaflet-minimap/dist/imagestoggle.svg);background-size:cover;position:absolute;border-radius:3px 0 0}.leaflet-oldie .leaflet-control-minimap-toggle-display{background-image:url(images/leaflet-minimap/dist/imagestoggle.png)}.leaflet-control-minimap-toggle-display-bottomright{bottom:0;right:0}.leaflet-control-minimap-toggle-display-topleft{top:0;left:0;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.leaflet-control-minimap-toggle-display-bottomleft{bottom:0;left:0;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.leaflet-control-minimap-toggle-display-topright{top:0;right:0;-webkit-transform:rotate(270deg);transform:rotate(270deg)}.leaflet-oldie .leaflet-control-minimap{border:1px solid #999}.leaflet-oldie .leaflet-control-minimap a{background-color:#fff}.leaflet-oldie .leaflet-control-minimap a.minimized{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.leaflet-control-loading:empty{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQACgACACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhqtMJg8DgQBgfrEsJAEAg4YhZIEiwgKtHiMBgtpg3wbUZXGO7kOb1MUKRFMysCChAoggJCIg0GC2aNe4gqQldfL4l/Ag1AXySJgn5LcoE3QXI3IQAh+QQACgADACwAAAAAEAAQAAAFdiAgAgLZNGU5joQhCEjxIssqEo8bC9BRjy9Ag7GILQ4QEoE0gBAEBcOpcBA0DoxSK/e8LRIHn+i1cK0IyKdg0VAoljYIg+GgnRrwVS/8IAkICyosBIQpBAMoKy9dImxPhS+GKkFrkX+TigtLlIyKXUF+NjagNiEAIfkEAAoABAAsAAAAABAAEAAABWwgIAICaRhlOY4EIgjH8R7LKhKHGwsMvb4AAy3WODBIBBKCsYA9TjuhDNDKEVSERezQEL0WrhXucRUQGuik7bFlngzqVW9LMl9XWvLdjFaJtDFqZ1cEZUB0dUgvL3dgP4WJZn4jkomWNpSTIyEAIfkEAAoABQAsAAAAABAAEAAABX4gIAICuSxlOY6CIgiD8RrEKgqGOwxwUrMlAoSwIzAGpJpgoSDAGifDY5kopBYDlEpAQBwevxfBtRIUGi8xwWkDNBCIwmC9Vq0aiQQDQuK+VgQPDXV9hCJjBwcFYU5pLwwHXQcMKSmNLQcIAExlbH8JBwttaX0ABAcNbWVbKyEAIfkEAAoABgAsAAAAABAAEAAABXkgIAICSRBlOY7CIghN8zbEKsKoIjdFzZaEgUBHKChMJtRwcWpAWoWnifm6ESAMhO8lQK0EEAV3rFopIBCEcGwDKAqPh4HUrY4ICHH1dSoTFgcHUiZjBhAJB2AHDykpKAwHAwdzf19KkASIPl9cDgcnDkdtNwiMJCshACH5BAAKAAcALAAAAAAQABAAAAV3ICACAkkQZTmOAiosiyAoxCq+KPxCNVsSMRgBsiClWrLTSWFoIQZHl6pleBh6suxKMIhlvzbAwkBWfFWrBQTxNLq2RG2yhSUkDs2b63AYDAoJXAcFRwADeAkJDX0AQCsEfAQMDAIPBz0rCgcxky0JRWE1AmwpKyEAIfkEAAoACAAsAAAAABAAEAAABXkgIAICKZzkqJ4nQZxLqZKv4NqNLKK2/Q4Ek4lFXChsg5ypJjs1II3gEDUSRInEGYAw6B6zM4JhrDAtEosVkLUtHA7RHaHAGJQEjsODcEg0FBAFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAAKAAkALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQACgAKACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQACgALACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==);background-repeat:no-repeat}.leaflet-control-layer-container,.leaflet-control-loading,.leaflet-control-zoom a.leaflet-control-loading,.leaflet-control-zoomslider a.leaflet-control-loading{display:none}.leaflet-control-layer-container.is-loading,.leaflet-control-loading.is-loading,.leaflet-control-zoom a.leaflet-control-loading.is-loading,.leaflet-control-zoomslider a.leaflet-control-loading.is-loading{display:block}.leaflet-bar-part-bottom{border-bottom:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.leaflet-container .leaflet-control-search{position:relative;float:left;background:#fff;color:#1978cf;border:2px solid rgba(0,0,0,.2);background-clip:padding-box;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background-color:hsla(0,0%,100%,.8);z-index:1000;margin-left:10px;margin-top:10px}.leaflet-control-search.search-exp{background:#fff;border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-control-search .search-input{display:block;float:left;background:#fff;border:1px solid #666;border-radius:2px;height:22px;padding:0 20px 0 2px;margin:4px 0 4px 4px}.leaflet-control-search.search-load .search-input{background:url(images/leaflet-search/imagesloader.gif) no-repeat 100% #fff}.leaflet-control-search.search-load .search-cancel{visibility:hidden}.leaflet-control-search .search-cancel{display:block;width:22px;height:22px;position:absolute;right:28px;margin:6px 0;background:url(images/leaflet-search/imagessearch-icon.png) no-repeat 0 -46px;text-decoration:none;filter:alpha(opacity=80);opacity:.8}.leaflet-control-search .search-cancel:hover{filter:alpha(opacity=100);opacity:1}.leaflet-control-search .search-cancel span{display:none;font-size:18px;line-height:20px;color:#ccc;font-weight:700}.leaflet-control-search .search-cancel:hover span{color:#aaa}.leaflet-control-search .search-button{display:block;float:left;width:30px;height:30px;background:url(images/leaflet-search/imagessearch-icon.png) no-repeat 4px 4px #fff;border-radius:4px}.leaflet-control-search .search-button:hover{background:url(images/leaflet-search/imagessearch-icon.png) no-repeat 4px -20px #fafafa}.leaflet-control-search .search-tooltip{position:absolute;top:100%;left:0;float:left;list-style:none;padding-left:0;min-width:120px;max-height:122px;box-shadow:1px 1px 6px rgba(0,0,0,.4);background-color:rgba(0,0,0,.25);z-index:1010;overflow-y:auto;overflow-x:hidden;cursor:pointer}.leaflet-control-search .search-tip{margin:2px;padding:2px 4px;display:block;color:#000;background:#eee;border-radius:.25em;text-decoration:none;white-space:nowrap;vertical-align:center}.leaflet-control-search .search-button:hover{background-color:#f4f4f4}.leaflet-control-search .search-tip-select,.leaflet-control-search .search-tip:hover{background-color:#fff}.leaflet-control-search .search-alert{cursor:pointer;clear:both;font-size:.75em;margin-bottom:5px;padding:0 .25em;color:#e00;font-weight:700;border-radius:.25em}.leaflet-control-resizer-corner-e,.leaflet-control-resizer-corner-s,.leaflet-control-resizer-corner-se{z-index:1000;position:absolute}.leaflet-control-resizer-corner-e{right:0;height:100%}.leaflet-control-resizer-corner-s{bottom:0;width:100%}.leaflet-control-resizer-corner-se{right:0;bottom:0}.leaflet-control-resizer-transparent{background-color:transparent;user-select:none;transition:.5s}.leaflet-control-resizer-transparent:after{border-color:transparent;transition:.5s}.leaflet-control-resizer-opaque,.leaflet-control-resizer-transparent-fakedhover,.leaflet-control-resizer-transparent:hover{background-color:rgba(255,250,170,.8)}.leaflet-control-resizer-opaque:after,.leaflet-control-resizer-transparent-fakedhover:after,.leaflet-control-resizer-transparent:hover:after{border-color:rgba(85,85,85,.9)}.leaflet-control-resizer-e{width:25px;height:50px;border-top-left-radius:25px;border-bottom-left-radius:25px;cursor:e-resize;right:0;top:50%;transform:translateY(-50%)}.leaflet-control-resizer-s{width:50px;height:25px;border-top-left-radius:25px;border-top-right-radius:25px;cursor:s-resize;left:50%;bottom:0;transform:translateX(-50%)}.leaflet-control-resizer-se{width:35px;height:35px;border-top-left-radius:35px;cursor:se-resize;right:0;bottom:0;position:absolute}.leaflet-control-resizer-e:after,.leaflet-control-resizer-s:after,.leaflet-control-resizer-se:after{content:"";position:absolute;z-index:999;border-width:1px;bottom:20%;right:20%}.leaflet-control-resizer-e:after,.leaflet-control-resizer-s:after{width:60%;height:60%}.leaflet-control-resizer-se:after{width:40%;height:40%}.leaflet-control-resizer-e:after,.leaflet-control-resizer-se:after{border-right-style:solid}.leaflet-control-resizer-s:after,.leaflet-control-resizer-se:after{border-bottom-style:solid}.leaflet-visualclick-icon{border-radius:100%;pointer-events:none}.leaflet-visualclick-icon:after{height:60px;width:60px;margin-left:-30px;margin-top:-30px;-webkit-animation:visualclick-pulsate .7s ease-out;animation:visualclick-pulsate .7s ease-out;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-delay:0s;animation-delay:0s}.leaflet-visualclick-icon-touch:after,.leaflet-visualclick-icon:after{content:"";border-radius:100%;position:absolute;pointer-events:none;box-shadow:inset 0 0 25px -1px #e1e3e4,0 0 10px -1px #c5c5c5;opacity:0}.leaflet-visualclick-icon-touch:after{height:140px;width:140px;margin-left:-70px;margin-top:-70px;-webkit-animation:visualclick-pulsate-touch .7s ease-out;animation:visualclick-pulsate-touch .7s ease-out;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-delay:0s;animation-delay:0s}@-webkit-keyframes visualclick-pulsate{0%{-webkit-transform:scale(.5);transform:scale(.5);opacity:1}to{-webkit-transform:scale(1.3);transform:scale(1.3);opacity:0}}@keyframes visualclick-pulsate{0%{-webkit-transform:scale(.5);transform:scale(.5);opacity:1}to{-webkit-transform:scale(1.3);transform:scale(1.3);opacity:0}}@-webkit-keyframes visualclick-pulsate-touch{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.8}to{-webkit-transform:scale(.2);transform:scale(.2);opacity:0}}@keyframes visualclick-pulsate-touch{0%{-webkit-transform:scale(1);transform:scale(1);opacity:.8}to{-webkit-transform:scale(.2);transform:scale(.2);opacity:0}}.leaflet-pane.leaflet-ie10-visual-click-pane-pane{z-index:300}.leaflet-control-locate a .leaflet-control-locate-location-arrow{mask-image:url(https://unpkg.com/@raruto/leaflet-elevation@0.3.9/images/elevation-locate.png)}.leaflet-control-minimap.leaflet-control{cursor:pointer}.leaflet-control-layers-inline .leaflet-control-layers-base span{line-height:1}.leaflet-control-zoom~.leaflet-control-scale.leaflet-control{clear:both;margin:0}.leaflet-control-scale-line{line-height:1}.leaflet-control-scale~.leaflet-control-attribution.leaflet-control{clear:none}.leaflet-right .leaflet-control-search{float:right;margin-left:0;margin-top:0}.leaflet-control-search .search-input{width:215px}.leaflet-control-search .search-tooltip{width:260px}.leaflet-container:not(.leaflet-touch) .leaflet-control-search .search-button{width:26px;height:26px;background-position:2.5px 2.5px}.leaflet-container:not(.leaflet-touch) .leaflet-control-search{border:none;box-shadow:0 1px 5px rgba(0,0,0,.65)}.leaflet-container:not(.leaflet-touch) .leaflet-control-search.search-exp .search-button{margin:4px 0 0}.leaflet-control-easyPrint .leaflet-control-easyPrint-button-export{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8cGF0aCBkPSJNMTI4LDMyaDI1NnY2NEgxMjhWMzJ6IE00ODAsMTI4SDMyYy0xNy42LDAtMzIsMTQuNC0zMiwzMnYxNjBjMCwxNy42LDE0LjM5OCwzMiwzMiwzMmg5NnYxMjhoMjU2VjM1Mmg5NiAgIGMxNy42LDAsMzItMTQuNCwzMi0zMlYxNjBDNTEyLDE0Mi40LDQ5Ny42LDEyOCw0ODAsMTI4eiBNMzUyLDQ0OEgxNjBWMjg4aDE5MlY0NDh6IE00ODcuMTk5LDE3NmMwLDEyLjgxMy0xMC4zODcsMjMuMi0yMy4xOTcsMjMuMiAgIGMtMTIuODEyLDAtMjMuMjAxLTEwLjM4Ny0yMy4yMDEtMjMuMnMxMC4zODktMjMuMiwyMy4xOTktMjMuMkM0NzYuODE0LDE1Mi44LDQ4Ny4xOTksMTYzLjE4Nyw0ODcuMTk5LDE3NnoiIGZpbGw9IiMwMDAwMDAiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);background-size:16px 16px;cursor:pointer}.leaflet-control-resizer-opaque,.leaflet-control-resizer-transparent-fakedhover,.leaflet-control-resizer-transparent:hover{background-color:#fff;border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-control-resizer-s,.leaflet-control-resizer-se{border-bottom:none!important}.leaflet-control-resizer-e,.leaflet-control-resizer-se{border-right:none!important}.leaflet-control-resizer-opaque:after,.leaflet-control-resizer-transparent-fakedhover:after,.leaflet-control-resizer-transparent:hover:after{border-width:2px}.leaflet-control-resizer-corner-e,.leaflet-control-resizer-corner-s,.leaflet-control-resizer-corner-se{pointer-events:none}
--------------------------------------------------------------------------------
/src/leaflet-ui.js:
--------------------------------------------------------------------------------
1 | import { version } from '../package.json';
2 | import 'leaflet-i18n';
3 | import 'leaflet-rotate';
4 | import 'leaflet.locatecontrol';
5 | import 'leaflet.fullscreen';
6 | import 'leaflet-pegman';
7 | import '@raruto/leaflet-gesture-handling';
8 | import '@raruto/leaflet-edit-osm';
9 | import 'leaflet-control-layers-inline';
10 | import 'leaflet-minimap';
11 | import 'leaflet-loading';
12 | import 'leaflet-search';
13 | import 'leaflet-easyprint';
14 | import 'leaflet.control.resizer';
15 | import 'leaflet.visualclick';
16 |
17 | /* Temporary fix for empty values evaluated as false (leaflet-i18n v0.3.1) */
18 | (function(){
19 | let proto = L.i18n.bind({});
20 | L.i18n = L._ = (string, data) => {
21 | if (L.locale && L.locales[L.locale] && L.locales[L.locale][string] == "") {
22 | L.locales[L.locale][string] = "\u200B";
23 | }
24 | return proto.call(null, string, data);
25 | };
26 | })();
27 |
28 | (function() {
29 |
30 | const currentScript = document.currentScript;
31 | const currentVersion = version.split("+")[0].trim();
32 |
33 | let lazyLoader = {
34 |
35 | baseURL: 'https://unpkg.com/',
36 |
37 | // Save a reference to any lazy loaded scripts to prevent multiple loading (multiple-maps)
38 | scripts: {},
39 |
40 | // Sequentially download multiple scripts.
41 | loadSyncScripts: function(urls) {
42 | return urls.reduce((prev, curr) => prev.then(() => lazyLoader.loadAsyncScripts(curr)), Promise.resolve());
43 | },
44 |
45 | // Parallel download multiple scripts.
46 | loadAsyncScripts: function(urls) {
47 | return Promise.all(urls.map((url) => lazyLoader.loadScript(url)));
48 | },
49 |
50 | // Dynamically load a single script.
51 | loadScript: function(url) {
52 | lazyLoader.scripts[url] =
53 | lazyLoader.scripts[url]
54 | ? lazyLoader.scripts[url]
55 | : new Promise((resolve, reject) => {
56 |
57 | let type = url.split('.').pop().split('?')[0];
58 | let tag = type == 'css' ? 'link' : 'script';
59 | let script = document.createElement(tag);
60 | let head = document.head;
61 | let root_script = (head.contains(currentScript) ? currentScript : head.lastChild) || head;
62 | let prev_tag = lazyLoader["prev_" + tag] || (tag == 'script' && lazyLoader.prev_link ? lazyLoader.prev_link : root_script);
63 | let base_url = (url.indexOf(".") === 0 || url.indexOf("/") === 0 || url.indexOf('http://') === 0 || url.indexOf('https://') === 0) ? '' : lazyLoader.baseURL;
64 |
65 | if (type == 'css') {
66 | script.rel = 'stylesheet';
67 | }
68 |
69 | script.addEventListener('load', resolve, { once: true });
70 | script.setAttribute(type == 'css' ? 'href' : 'src', base_url + url);
71 |
72 | if (prev_tag.parentNode && prev_tag.nextSibling)
73 | prev_tag.parentNode.insertBefore(script, prev_tag.nextSibling);
74 | else
75 | head.appendChild(script);
76 |
77 | lazyLoader["prev_" + tag] = script;
78 |
79 | });
80 | return lazyLoader.scripts[url];
81 | },
82 |
83 | };
84 |
85 | // You can ovveride them by passing one of the following to leaflet map constructor.
86 | let default_options = {
87 | mapTypes: {
88 | atlas: {
89 | name: 'Atlas',
90 | url: 'https://{s}.tile.thunderforest.com/mobile-atlas/{z}/{x}/{y}.png',
91 | options: {
92 | maxZoom: 24,
93 | maxNativeZoom: 22,
94 | attribution: 'Map data: © OpenStreetMap | Map style: © Thunderforest',
95 | // apikey: '