wip: add icons for importers
|
@ -779,6 +779,37 @@ input[type=hidden].blur + [type="button"] {
|
|||
}
|
||||
|
||||
|
||||
/* *********** */
|
||||
/* Importers */
|
||||
/* *********** */
|
||||
#importers button {
|
||||
background: none;
|
||||
font-size: 1.2rem;
|
||||
border: none;
|
||||
}
|
||||
#importers button:before {
|
||||
background-image: url(./img/importers/random.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
display: block;
|
||||
}
|
||||
#importers .geodatamine:before {
|
||||
background-image: url(./img/importers/geodatamine.svg);
|
||||
}
|
||||
#importers .communesfr:before {
|
||||
background-image: url(./img/importers/communesfr.svg);
|
||||
}
|
||||
#importers .overpass:before {
|
||||
background-image: url(./img/importers/overpass.svg);
|
||||
}
|
||||
#importers .datasets:before {
|
||||
background-image: url(./img/importers/datasets.svg);
|
||||
}
|
||||
|
||||
|
||||
/* *********** */
|
||||
/* Various */
|
||||
/* *********** */
|
||||
|
|
5
umap/static/umap/img/importers/communesfr.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="50" height="50" rx="10" fill="#BEBEBE"/>
|
||||
<rect width="30" height="30" transform="translate(10 10)" fill="#BEBEBE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M36.0221 30.9946C35.8268 30.5836 35.3496 30.3873 34.9122 30.538L34.7994 30.5773L34.6933 30.5049C34.8068 30.369 34.876 30.2023 34.891 30.0237C34.9138 29.7571 34.8137 29.499 34.6177 29.3167L34.5544 29.2576C34.7583 29.1039 34.8903 28.8661 34.9053 28.6072L34.9296 28.1516C34.94 27.9327 34.8668 27.7187 34.7229 27.5479L34.3853 27.1524C34.6034 26.8574 34.6116 26.4559 34.4052 26.1509L34.1193 25.7331L33.9976 25.5829L33.9024 25.2631C33.8113 24.958 33.5625 24.7349 33.2629 24.6605L34.1375 23.5544C34.248 23.5199 34.3511 23.4651 34.4401 23.3925L34.9495 22.9759C35.1585 22.8046 35.2751 22.554 35.2697 22.2891L35.2481 20.9832L35.526 20.1956C35.5479 20.1315 35.5619 20.0667 35.5688 19.9961L35.5887 19.7788L35.9774 19.0555C36.193 18.6551 36.0562 18.1504 35.6656 17.9058L35.305 17.682C35.1669 17.5954 35.0066 17.5478 34.841 17.5443L34.4276 17.537L34.1438 17.3871C33.99 17.3065 33.819 17.2727 33.6317 17.2882L33.1657 17.335L32.8151 16.9151C32.7023 16.7799 32.5522 16.6821 32.3815 16.6317L31.8961 16.489C31.7037 16.4324 31.4932 16.4427 31.3015 16.5183L31.1778 16.5681L31.0805 16.5268C30.9512 16.4708 30.8085 16.4462 30.6712 16.454L30.0651 16.0511V15.7377C30.0651 15.4676 29.9408 15.2164 29.7239 15.0487C29.508 14.8825 29.2233 14.8214 28.963 14.8855L28.668 14.9551C28.582 14.8144 28.4561 14.6987 28.3005 14.6211L27.9419 14.4456C27.8677 14.4085 27.7901 14.3822 27.7095 14.367C27.5811 14.2057 27.3991 14.0936 27.1955 14.0503L27.1465 13.8933C27.0322 13.5205 26.6884 13.2704 26.2916 13.2704H26.151L25.8805 12.8818C25.6712 12.5797 25.2844 12.4367 24.9169 12.5266L23.4761 12.8949C23.2153 12.9617 23.0012 13.138 22.8889 13.3791L22.572 14.0605C22.5133 14.1895 22.4867 14.3324 22.4954 14.4754L22.5533 15.3627L22.1466 15.7277L20.6302 16.2379C20.2931 16.3503 20.0568 16.6475 20.028 16.9945L20.0195 17.0939L19.2205 16.9392L18.605 16.2905C18.4195 16.096 18.1477 15.9906 17.9073 16.0138L17.1897 16.0496C16.9213 16.0644 16.677 16.1941 16.5201 16.4049C16.3629 16.6142 16.3088 16.8796 16.3713 17.1335L16.6081 18.0796L16.9248 18.8244L16.6903 18.7828C16.5267 18.7523 16.3568 18.7678 16.1988 18.8281L16.1307 18.8544L15.8066 18.5312C15.6239 18.3487 15.3659 18.2551 15.0895 18.2723L13.3386 18.4268C13.2371 18.4351 13.1393 18.4604 13.0367 18.5057L11.7654 19.0878C11.3494 19.2785 11.1493 19.7432 11.2999 20.1693L11.4939 20.7169C11.5564 20.8926 11.6773 21.0461 11.8379 21.1542C11.7942 21.3645 11.8294 21.5876 11.9417 21.7736L12.1469 22.1169C12.3064 22.3848 12.6019 22.551 12.9178 22.551H13.4004L15.0788 23.2057L15.3797 23.5965C15.4368 23.6696 15.5047 23.7329 15.5818 23.785L15.6744 23.8479C15.6752 23.8514 15.6759 23.8549 15.6767 23.8584L15.8839 24.7797C15.9122 24.9004 15.9651 25.0118 16.0411 25.1109L16.7396 26.0207C16.8202 26.1279 16.9274 26.2168 17.0489 26.2779L17.4587 26.4842C17.4743 26.5775 17.5054 26.6679 17.5508 26.7518C17.3663 26.9233 17.2617 27.1619 17.2653 27.411C17.2673 27.5567 17.3071 27.7002 17.3791 27.8266C17.3681 27.8674 17.3602 27.9092 17.3553 27.9513L17.0894 30.2285C17.0726 30.3692 17.0899 30.5092 17.1397 30.6391C17.1272 30.6772 17.117 30.7157 17.1098 30.7548L16.7883 32.479L16.2085 33.171C16.0403 33.3723 15.9725 33.6354 16.0222 33.8938C16.073 34.1484 16.2351 34.367 16.4683 34.4944L16.8406 34.6957L17.0182 35.0019C17.1139 35.1674 17.2645 35.2998 17.4418 35.3747L18.3126 35.742L18.5731 36.0134C18.741 36.1886 18.9778 36.289 19.2231 36.289H19.6092L19.8662 36.4377C19.9708 36.4991 20.0846 36.5384 20.2053 36.5541L21.725 36.7552C21.983 36.7917 22.243 36.7149 22.4387 36.5461C22.4755 36.5143 22.5092 36.4803 22.5401 36.4432L22.6876 36.4745L23.04 36.616C23.1119 36.8478 23.2806 37.0438 23.5049 37.1505L23.9347 37.3553C24.1072 37.4357 24.307 37.4594 24.4974 37.4226L24.8623 37.3495L25.6669 37.4902L25.7948 37.5C25.8754 37.5 25.9558 37.4895 26.0242 37.4707L26.985 37.2201C27.2146 37.1585 27.4122 37.0083 27.5265 36.8088C27.6441 36.6065 27.675 36.3611 27.6102 36.1348L27.3775 35.3316L27.6168 34.8554L28.3775 34.4063C28.5735 34.529 28.8106 34.5708 29.0372 34.5252L29.3149 34.6757C29.4787 34.7621 29.666 34.7961 29.8508 34.7731C29.8709 34.7806 29.8916 34.7873 29.9128 34.7934L30.7199 35.0242L31.9326 35.3016C32.0439 35.3289 32.162 35.3344 32.2741 35.3186L32.8646 35.236C32.9225 35.2282 32.9781 35.2145 33.0506 35.1899L33.8389 34.9045C34.0624 34.8229 34.2462 34.6547 34.3419 34.4436C34.3993 34.3187 34.4258 34.1825 34.4202 34.047L34.8101 33.8014L35.7105 33.0686C35.9521 32.8701 36.0677 32.5667 36.0208 32.2662L36.07 32.1976C36.2675 31.9413 36.3056 31.5998 36.1688 31.3068L36.0221 30.9946Z" fill="#323737"/>
|
||||
</svg>
|
After Width: | Height: | Size: 4.6 KiB |
13
umap/static/umap/img/importers/datasets.svg
Normal file
|
@ -0,0 +1,13 @@
|
|||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="50" height="50" rx="10" fill="#BEBEBE"/>
|
||||
<path d="M10.4275 16.4956C10.0602 16.7663 10.0002 16.9595 10.0002 17.0488V17.0517C10.0017 17.141 10.0632 17.3341 10.4275 17.6019C10.7846 17.8639 11.3378 18.1244 12.0739 18.3527C13.5402 18.8078 15.6007 19.0975 17.9027 19.0975C20.2048 19.0975 22.2653 18.8078 23.7316 18.3527C24.4676 18.1244 25.0208 17.8639 25.3779 17.6019C25.7452 17.3312 25.8052 17.138 25.8052 17.0488C25.8052 16.9595 25.7452 16.7663 25.3779 16.4956C25.0208 16.2336 24.4676 15.9732 23.7316 15.7449C22.2652 15.2898 20.2048 15 17.9027 15C15.6007 15 13.5402 15.2898 12.0739 15.7449C11.3378 15.9732 10.7846 16.2336 10.4275 16.4956Z" fill="#323737"/>
|
||||
<path d="M29.6112 30.8047H26.9756V29.0486H29.6112C30.3253 29.0486 30.9882 29.4203 31.3599 30.0305L32.5043 31.9081C32.5585 31.9959 32.6521 32.0485 32.7546 32.0485H33.6824C33.6033 32.328 33.5609 32.6222 33.5609 32.9266C33.5609 33.231 33.6033 33.5251 33.6824 33.8046H32.7546C32.0404 33.8046 31.3775 33.4329 31.0058 32.8227L29.8614 30.9452C29.8073 30.8574 29.7136 30.8047 29.6112 30.8047Z" fill="#323737"/>
|
||||
<path d="M34.8532 26.4143H26.9758V24.6582H34.8532C34.7741 24.9377 34.7317 25.2318 34.7317 25.5363C34.7317 25.8407 34.7741 26.1348 34.8532 26.4143Z" fill="#323737"/>
|
||||
<path d="M29.6112 22.0976H26.9756V20.3415H29.6112C29.7136 20.3415 29.8073 20.2888 29.8614 20.201L31.0058 18.3235C31.3775 17.7133 32.0404 17.3416 32.7546 17.3416H33.6824C33.6033 17.6211 33.5609 17.9152 33.5609 18.2196C33.5609 18.524 33.6033 18.8182 33.6824 19.0977H32.7546C32.6521 19.0977 32.5585 19.1503 32.5043 19.2382L31.3599 21.1157C30.9882 21.7259 30.3253 22.0976 29.6112 22.0976Z" fill="#323737"/>
|
||||
<path d="M36.7805 16.1704C37.9117 16.1704 38.8292 17.088 38.8292 18.2192C38.8292 19.3504 37.9117 20.268 36.7805 20.268C35.6492 20.268 34.7317 19.3504 34.7317 18.2192C34.7317 17.088 35.6492 16.1704 36.7805 16.1704Z" fill="#323737"/>
|
||||
<path d="M37.9511 23.4878C39.0823 23.4878 39.9999 24.4053 39.9999 25.5366C39.9999 26.6678 39.0823 27.5853 37.9511 27.5853C36.8199 27.5853 35.9023 26.6678 35.9023 25.5366C35.9023 24.4053 36.8199 23.4878 37.9511 23.4878Z" fill="#323737"/>
|
||||
<path d="M36.7805 30.8774C37.9117 30.8774 38.8292 31.795 38.8292 32.9262C38.8292 34.0574 37.9117 34.975 36.7805 34.975C35.6492 34.975 34.7317 34.0574 34.7317 32.9262C34.7317 31.795 35.6492 30.8774 36.7805 30.8774Z" fill="#323737"/>
|
||||
<path d="M10.0005 22.0243V18.7244C10.4703 19.0156 11.06 19.2629 11.7273 19.4707C13.3342 19.9682 15.5175 20.2682 17.9027 20.2682C20.288 20.2682 22.4713 19.9683 24.0781 19.4707C24.7454 19.2629 25.3352 19.0156 25.8049 18.7244V22.0243C25.8049 22.1136 25.7449 22.3068 25.3776 22.5775C25.0206 22.8394 24.4674 23.0999 23.7313 23.3282C22.265 23.7833 20.2045 24.0731 17.9025 24.0731C15.6004 24.0731 13.5399 23.7833 12.0736 23.3282C11.3375 23.0999 10.7844 22.8394 10.4273 22.5775C10.0629 22.3097 10.0015 22.1165 10 22.0272L10.0005 22.0243Z" fill="#323737"/>
|
||||
<path d="M10.0005 23.6997V27.2923C10.0005 27.3816 10.0605 27.5748 10.4278 27.8455C10.7849 28.1075 11.338 28.3679 12.0741 28.5962C13.5404 29.0513 15.6009 29.3411 17.903 29.3411C20.205 29.3411 22.2655 29.0513 23.7318 28.5962C24.4679 28.3679 25.0211 28.1074 25.3781 27.8455C25.7454 27.5748 25.8054 27.3816 25.8054 27.2923V23.6997C25.3357 23.9909 24.7459 24.2382 24.0786 24.446C22.4718 24.9436 20.2885 25.2436 17.9032 25.2436C15.518 25.2436 13.3346 24.9436 11.7278 24.446C11.0605 24.2382 10.4708 23.9909 10.001 23.6997H10.0005Z" fill="#323737"/>
|
||||
<path d="M24.0784 29.7144C24.7456 29.5066 25.3354 29.2593 25.8052 28.968V32.8533C25.8052 32.9426 25.7452 33.1357 25.3779 33.4065C25.0208 33.6684 24.4676 33.9289 23.7316 34.1572C22.2652 34.6123 20.2048 34.9021 17.9027 34.9021C15.6007 34.9021 13.5402 34.6123 12.0739 34.1572C11.3378 33.9289 10.7846 33.6684 10.4275 33.4065C10.0602 33.1357 10.0002 32.9426 10.0002 32.8533V28.968C10.47 29.2592 11.0597 29.5065 11.7271 29.7144C13.3339 30.2119 15.5172 30.5119 17.9024 30.5119C20.2877 30.5119 22.471 30.2119 24.0778 29.7144H24.0784Z" fill="#323737"/>
|
||||
</svg>
|
After Width: | Height: | Size: 4 KiB |
10
umap/static/umap/img/importers/geodatamine.svg
Normal file
After Width: | Height: | Size: 7.9 KiB |
7
umap/static/umap/img/importers/overpass.svg
Normal file
|
@ -0,0 +1,7 @@
|
|||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="50" height="50" rx="10" fill="#BEBEBE"/>
|
||||
<path d="M38.125 25C38.125 28.481 36.7422 31.8194 34.2808 34.2808C31.8194 36.7422 28.481 38.125 25 38.125C21.519 38.125 18.1806 36.7422 15.7192 34.2808C13.2578 31.8194 11.875 28.481 11.875 25C11.875 21.519 13.2578 18.1806 15.7192 15.7192C18.1806 13.2578 21.519 11.875 25 11.875C28.481 11.875 31.8194 13.2578 34.2808 15.7192C36.7422 18.1806 38.125 21.519 38.125 25Z" stroke="#323737" stroke-width="1.5"/>
|
||||
<path d="M11.875 21.25C11.875 21.25 20.3125 26.875 25 26.875C29.6875 26.875 38.125 21.25 38.125 21.25" stroke="#323737" stroke-width="1.5"/>
|
||||
<path d="M25 38.125V26.875" stroke="#323737" stroke-width="2"/>
|
||||
<path d="M34.375 24.0625H15.625" stroke="#323737" stroke-width="0.5"/>
|
||||
</svg>
|
After Width: | Height: | Size: 837 B |
18
umap/static/umap/img/importers/random.svg
Normal file
|
@ -0,0 +1,18 @@
|
|||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="50" height="50" rx="10" fill="#BEBEBE"/>
|
||||
<path d="M20.9546 29.2727H28.1137V25.2954H20.9546C20.9546 26.5117 20.9546 28.1478 20.9546 29.2727Z" fill="#323737"/>
|
||||
<path d="M13 10.9773H20.1591C20.1591 9.76102 20.1591 8.12485 20.1591 7H13V10.9773Z" fill="#323737"/>
|
||||
<path d="M20.9546 24.5H28.1137V20.5227H20.9546C20.9546 21.739 20.9546 23.3751 20.9546 24.5Z" fill="#323737"/>
|
||||
<path d="M20.9546 14.9546H28.1137V10.9773H20.9546C20.9546 12.1935 20.9546 13.8297 20.9546 14.9546Z" fill="#323737"/>
|
||||
<path d="M20.9546 19.7273H28.1137V15.75H20.9546C20.9546 16.9662 20.9546 18.6024 20.9546 19.7273Z" fill="#323737"/>
|
||||
<path d="M13 28.4772H15.7841C16.0037 28.4772 16.1818 28.6552 16.1818 28.8749C16.1818 29.0946 16.0037 29.2726 15.7841 29.2726H13V33.2499H20.1591C20.1591 32.3837 20.1591 26.9627 20.1591 26.0908H13V28.4772ZM18.1705 28.0795C18.6098 28.0795 18.9659 28.4357 18.9659 28.8749C18.9659 29.3142 18.6098 29.6704 18.1705 29.6704C17.7311 29.6704 17.375 29.3142 17.375 28.8749C17.375 28.4357 17.7311 28.0795 18.1705 28.0795Z" fill="#323737"/>
|
||||
<path d="M28.9092 37.6249V41.9999H32.8865V39.2158C32.8865 38.9961 33.0645 38.8181 33.2842 38.8181C33.5038 38.8181 33.6819 38.9961 33.6819 39.2158V41.9999H36.0683V34.8408H28.9092V37.6249ZM33.2842 36.034C33.7234 36.034 34.0796 36.3902 34.0796 36.8295C34.0796 37.2687 33.7234 37.6249 33.2842 37.6249C32.8449 37.6249 32.4887 37.2687 32.4887 36.8295C32.4887 36.3902 32.8449 36.034 33.2842 36.034Z" fill="#323737"/>
|
||||
<path d="M13 25.2954H20.1591C20.1591 24.0791 20.1591 22.443 20.1591 21.3181H13V25.2954Z" fill="#323737"/>
|
||||
<path d="M13 15.75H20.1591C20.1591 14.5337 20.1591 12.8976 20.1591 11.7727H13V15.75Z" fill="#323737"/>
|
||||
<path d="M13 20.5227H20.1591C20.1591 19.3064 20.1591 17.6703 20.1591 16.5454H13V20.5227Z" fill="#323737"/>
|
||||
<path d="M20.9546 37.2272H22.5455V33.6477C22.5455 33.428 22.7235 33.2499 22.9432 33.2499C23.1629 33.2499 23.341 33.428 23.341 33.6477V37.2272H28.1137C28.1137 36.5634 28.1137 30.4081 28.1137 30.0681H20.9546C20.9546 30.9343 20.9546 36.3553 20.9546 37.2272Z" fill="#323737"/>
|
||||
<path d="M36.0683 15.75H28.9092V19.7273H36.0683V15.75Z" fill="#323737"/>
|
||||
<path d="M36.0683 20.5227H28.9092V24.5H36.0683V20.5227Z" fill="#323737"/>
|
||||
<path d="M36.0683 25.2954H28.9092V29.2727H36.0683V25.2954Z" fill="#323737"/>
|
||||
<path d="M36.0683 30.0681H28.9092V34.0454H36.0683V30.0681Z" fill="#323737"/>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
4
umap/static/umap/img/importers/random1.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="50" height="50" rx="10" fill="#BEBEBE"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5556 32.2511C13.64 32.7456 12.2222 34.4867 12.2222 36.5556C12.2222 39.0089 14.2133 41 16.6667 41C18.7356 41 20.4767 39.5822 20.9711 37.6667H37.7778C38.3911 37.6667 38.8889 37.1689 38.8889 36.5556C38.8889 35.9422 38.3911 35.4444 37.7778 35.4444H20.9711C20.5689 33.8833 19.3389 32.6533 17.7778 32.2511V14.3333C17.7778 12.4922 16.2856 11 14.4444 11C12.8978 11 11.1111 11 11.1111 11C10.4978 11 10 11.4978 10 12.1111C10 12.7244 10.4978 13.2222 11.1111 13.2222H14.4444C15.0578 13.2222 15.5556 13.72 15.5556 14.3333V32.2511ZM16.6667 34.3333C17.8933 34.3333 18.8889 35.3289 18.8889 36.5556C18.8889 37.7822 17.8933 38.7778 16.6667 38.7778C15.44 38.7778 14.4444 37.7822 14.4444 36.5556C14.4444 35.3289 15.44 34.3333 16.6667 34.3333ZM35.5556 29.8889V21C35.5556 19.1589 34.0633 17.6667 32.2222 17.6667H23.3333C21.4922 17.6667 20 19.1589 20 21V29.8889C20 31.73 21.4922 33.2222 23.3333 33.2222H32.2222C34.0633 33.2222 35.5556 31.73 35.5556 29.8889ZM33.3333 21V29.8889C33.3333 30.5022 32.8356 31 32.2222 31H23.3333C22.72 31 22.2222 30.5022 22.2222 29.8889V21C22.2222 20.3867 22.72 19.8889 23.3333 19.8889H32.2222C32.8356 19.8889 33.3333 20.3867 33.3333 21Z" fill="#323737"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
4
umap/static/umap/img/importers/random2.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="50" height="50" rx="10" fill="#BEBEBE"/>
|
||||
<path d="M28.7253 15.0043C31.3968 15.0922 33.812 16.2371 35.5615 18.0316C37.1449 19.6557 38.1847 21.8094 38.3809 24.1935H41.1799C41.6334 24.1935 42 24.5612 42 25.0136C42 25.466 41.6323 25.8337 41.1799 25.8337H38.3809C38.1847 28.2168 37.1449 30.3715 35.5615 31.9956C33.7948 33.8073 31.3507 34.9576 28.6481 35.0251C28.1968 35.0358 27.8227 34.6789 27.812 34.2275V34.2082H27.8088V15.8201C27.8088 15.3666 28.1765 15 28.6288 15C28.661 15 28.6932 15.0021 28.7253 15.0054V15.0043ZM7.82009 25.8337C7.36663 25.8337 7 25.466 7 25.0136C7 24.5612 7.3677 24.1935 7.82009 24.1935H10.6191C10.8153 21.8105 11.8551 19.6557 13.4385 18.0316C15.2052 16.2199 17.6493 15.0697 20.3519 15.0021C20.8032 14.9914 21.1773 15.3484 21.188 15.7997V15.819H21.1912V17.412H24.5005C24.9529 17.412 25.3206 17.7797 25.3206 18.2321V21.4149C25.3206 21.8673 24.9529 22.235 24.5005 22.235H21.1912V27.7912H24.5005C24.9529 27.7912 25.3206 28.1589 25.3206 28.6113V31.7941C25.3206 32.2465 24.9529 32.6142 24.5005 32.6142H21.1912V34.2072C21.1912 34.6606 20.8235 35.0273 20.3712 35.0273C20.339 35.0273 20.3068 35.0251 20.2747 35.0219C17.6032 34.934 15.188 33.7891 13.4385 31.9945C11.8551 30.3705 10.8153 28.2168 10.6191 25.8326H7.82009V25.8337ZM21.1902 30.974H23.6783V29.4324H21.1902V30.974ZM23.6783 19.0533H21.1902V20.5948H23.6783V19.0533ZM34.3877 19.1723C33.0948 17.8462 31.37 16.9436 29.4489 16.7002V33.3271C31.37 33.0837 33.0948 32.1811 34.3877 30.855C35.8617 29.3435 36.7729 27.2799 36.7729 25.0136C36.7729 22.7474 35.8617 20.6838 34.3877 19.1723ZM14.6091 30.855C15.902 32.1811 17.6268 33.0837 19.5479 33.3271V31.7941V28.6113V21.4149V18.2321V16.6991C17.6268 16.9425 15.902 17.8451 14.6091 19.1712C13.1351 20.6827 12.2239 22.7463 12.2239 25.0126C12.2239 27.2788 13.1351 29.3424 14.6091 30.8539V30.855Z" fill="#323737"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
|
@ -151,9 +151,9 @@ const ENTRIES = {
|
|||
<ul>
|
||||
<li>${translate('key (eg. building)')}</li>
|
||||
<li>${translate('!key (eg. !name)')}</li>
|
||||
<li>${translate('key=value (eg. building=yes')}</li>
|
||||
<li>${translate('key!=value (eg. building!=yes')}</li>
|
||||
<li>${translate('key~value (eg. name~Grisy')}</li>
|
||||
<li>${translate('key=value (eg. building=yes)')}</li>
|
||||
<li>${translate('key!=value (eg. building!=yes)')}</li>
|
||||
<li>${translate('key~value (eg. name~Grisy)')}</li>
|
||||
<li>${translate('key="value|value2" (eg. name="Paris|Berlin")')}</li>
|
||||
</ul>
|
||||
<div>${translate('More info about Overpass syntax')}: <a href="https://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide">https://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide</a></div>
|
||||
|
|
|
@ -13,7 +13,7 @@ const TEMPLATE = `
|
|||
<input type="url" placeholder="${translate('Provide an URL here')}" onchange />
|
||||
<textarea onchange placeholder="${translate('Paste your data here')}"></textarea>
|
||||
<div class="importers">
|
||||
<h5>${translate('Import helpers:')}</h5>
|
||||
<h4>${translate('Import helpers:')}</h4>
|
||||
<div class="button-bar by4" id="importers">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -130,7 +130,7 @@ export default class Importer {
|
|||
if (this.IMPORTERS.length) {
|
||||
for (const plugin of this.IMPORTERS) {
|
||||
L.DomUtil.createButton(
|
||||
'flat',
|
||||
plugin.id,
|
||||
this.container.querySelector('#importers'),
|
||||
plugin.name,
|
||||
() => plugin.open(this)
|
||||
|
|
|
@ -14,6 +14,7 @@ class Autocomplete extends SingleMixin(BaseAjax) {
|
|||
export class Importer {
|
||||
constructor(map, options) {
|
||||
this.name = options.name || 'Communes'
|
||||
this.id = 'communesfr'
|
||||
}
|
||||
|
||||
async open(importer) {
|
||||
|
@ -38,7 +39,7 @@ export class Importer {
|
|||
|
||||
importer.dialog.open({
|
||||
content: container,
|
||||
className: 'communes dark',
|
||||
className: `${this.id} dark`,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@ export class Importer {
|
|||
constructor(map, options) {
|
||||
this.name = options.name || 'Datasets'
|
||||
this.choices = options?.choices
|
||||
this.id = 'datasets'
|
||||
}
|
||||
|
||||
async open(importer) {
|
||||
|
@ -34,7 +35,7 @@ export class Importer {
|
|||
|
||||
importer.dialog.open({
|
||||
content: container,
|
||||
className: 'datasets dark',
|
||||
className: `${this.id} dark`,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@ export class Importer {
|
|||
this.map = map
|
||||
this.name = options.name || 'GeoDataMine'
|
||||
this.baseUrl = options?.url || 'https://geodatamine.fr'
|
||||
this.id = 'geodatamine'
|
||||
}
|
||||
|
||||
async open(importer) {
|
||||
|
@ -85,7 +86,7 @@ export class Importer {
|
|||
|
||||
importer.dialog.open({
|
||||
content: container,
|
||||
className: 'geodatamine dark',
|
||||
className: `${this.id} dark`,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ export class Importer {
|
|||
this.map = map
|
||||
this.name = options.name || 'Overpass'
|
||||
this.baseUrl = options?.url || 'https://overpass-api.de/api/interpreter'
|
||||
this.id = 'overpass'
|
||||
}
|
||||
|
||||
async open(importer) {
|
||||
|
@ -76,7 +77,7 @@ export class Importer {
|
|||
|
||||
importer.dialog.open({
|
||||
content: container,
|
||||
className: 'overpass dark',
|
||||
className: `${this.id} dark`,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|