mapshaper 0.5.117 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/bin/mapshaper +1 -1
- package/bin/mapshaper-gui +1 -0
- package/mapshaper.js +1976 -285
- package/package.json +21 -13
- package/www/elements.css +2 -2
- package/www/images/close2.png +0 -0
- package/www/index.html +9 -6
- package/www/mapshaper-gui.js +46 -52
- package/www/mapshaper.js +1976 -285
- package/www/modules.js +688 -1836
- package/www/nacis/Makefile +22 -0
- package/www/nacis/Makefile.txt +22 -0
- package/www/nacis/images/close.png +0 -0
- package/www/nacis/images/eye.png +0 -0
- package/www/nacis/images/eye2.png +0 -0
- package/www/nacis/index.html +262 -0
- package/www/nacis/manifest.js +27 -0
- package/www/nacis/map.svg +12308 -0
- package/www/page.css +39 -15
- package/CHANGELOG.md +0 -1391
package/www/page.css
CHANGED
|
@@ -222,7 +222,7 @@ body {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.export-options .option-menu .advanced-options {
|
|
225
|
-
width:
|
|
225
|
+
width: 195px;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
/* --- Main area ------------- */
|
|
@@ -456,11 +456,12 @@ body.dragover #import-options-drop-area .drop-area {
|
|
|
456
456
|
.info-box,.popup {
|
|
457
457
|
border-radius: 9px;
|
|
458
458
|
/* border: 1px solid #ddd; */
|
|
459
|
-
box-shadow: 0
|
|
459
|
+
box-shadow: 0 3px 6px rgba(0,0,0,0.35);
|
|
460
460
|
background-color: #fff;
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.info-box {
|
|
464
|
+
min-width: 230px;
|
|
464
465
|
word-wrap: break-word;
|
|
465
466
|
text-align: left;
|
|
466
467
|
margin-top: 12px;
|
|
@@ -472,13 +473,16 @@ body.dragover #import-options-drop-area .drop-area {
|
|
|
472
473
|
}
|
|
473
474
|
|
|
474
475
|
.info-box h3 {
|
|
475
|
-
font-size:
|
|
476
|
+
font-size: 19px;
|
|
477
|
+
line-height: 1.1;
|
|
476
478
|
padding: 0;
|
|
477
|
-
margin: 0 0 0.
|
|
479
|
+
margin: 0 0 0.3em 0;
|
|
480
|
+
font-weight: normal;
|
|
478
481
|
}
|
|
479
482
|
|
|
480
483
|
.info-box h4 {
|
|
481
484
|
font-size: 1em;
|
|
485
|
+
font-weight: normal;
|
|
482
486
|
margin: 0 0 1px 0;
|
|
483
487
|
}
|
|
484
488
|
|
|
@@ -491,9 +495,11 @@ body.dragover #import-options-drop-area .drop-area {
|
|
|
491
495
|
padding: 0 0 9px 0;
|
|
492
496
|
}
|
|
493
497
|
|
|
494
|
-
.option-menu input
|
|
498
|
+
.option-menu input[type="radio"],
|
|
499
|
+
.option-menu input[type="checkbox"]
|
|
500
|
+
{
|
|
495
501
|
position: relative;
|
|
496
|
-
top:
|
|
502
|
+
top: 1px;
|
|
497
503
|
width: 12px;
|
|
498
504
|
height: 12px;
|
|
499
505
|
}
|
|
@@ -722,6 +728,24 @@ img.close-btn {
|
|
|
722
728
|
opacity: 0.2;
|
|
723
729
|
}
|
|
724
730
|
|
|
731
|
+
.close2-btn {
|
|
732
|
+
display: inline-block;
|
|
733
|
+
background-color: #f1f1f1;
|
|
734
|
+
background-image: url("images/close2.png");
|
|
735
|
+
background-size: cover;
|
|
736
|
+
float: right;
|
|
737
|
+
height: 18px;
|
|
738
|
+
width: 18px;
|
|
739
|
+
margin-top: 2px;
|
|
740
|
+
margin-right: -5px;
|
|
741
|
+
cursor: pointer;
|
|
742
|
+
border-radius: 4px;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.close2-btn:hover {
|
|
746
|
+
background-color: #ddd;
|
|
747
|
+
}
|
|
748
|
+
|
|
725
749
|
.pin-all img {
|
|
726
750
|
top: 11px;
|
|
727
751
|
cursor: pointer;
|
|
@@ -733,8 +757,8 @@ img.close-btn {
|
|
|
733
757
|
}
|
|
734
758
|
|
|
735
759
|
.layer-item img.close-btn {
|
|
736
|
-
top: 29px;
|
|
737
|
-
|
|
760
|
+
/* top: 29px; */
|
|
761
|
+
bottom: 8px;
|
|
738
762
|
}
|
|
739
763
|
|
|
740
764
|
/* hide close button when not hovering */
|
|
@@ -1016,6 +1040,7 @@ img.close-btn:hover,
|
|
|
1016
1040
|
}
|
|
1017
1041
|
|
|
1018
1042
|
.basemap-styles {
|
|
1043
|
+
margin: 0 -2px;
|
|
1019
1044
|
white-space: nowrap;
|
|
1020
1045
|
}
|
|
1021
1046
|
|
|
@@ -1040,19 +1065,14 @@ img.close-btn:hover,
|
|
|
1040
1065
|
|
|
1041
1066
|
.basemap-styles > div:nth-child(even) {
|
|
1042
1067
|
position: relative;
|
|
1043
|
-
left:
|
|
1044
|
-
margin-left: 2px;
|
|
1068
|
+
margin-left: 10px;
|
|
1045
1069
|
}
|
|
1046
1070
|
|
|
1047
1071
|
.basemap-style-btn img {
|
|
1048
1072
|
display: block;
|
|
1049
|
-
left: -2px;
|
|
1050
1073
|
position: relative;
|
|
1051
1074
|
border: 2px solid transparent;
|
|
1052
|
-
|
|
1053
|
-
height: 90px;*/
|
|
1054
|
-
width: 96px;
|
|
1055
|
-
height: 72px;
|
|
1075
|
+
width: 108px;
|
|
1056
1076
|
}
|
|
1057
1077
|
|
|
1058
1078
|
div.basemap-style-btn.active img {
|
|
@@ -1064,6 +1084,10 @@ div.basemap-style-btn.active img {
|
|
|
1064
1084
|
border: 2px solid #ead683;
|
|
1065
1085
|
}
|
|
1066
1086
|
|
|
1087
|
+
.basemap-style-label {
|
|
1088
|
+
margin-left: 2px;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1067
1091
|
.mapbox-improve-map {
|
|
1068
1092
|
display: none;
|
|
1069
1093
|
}
|