mapshaper 0.6.81 → 0.6.83
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/mapshaper.js +11 -10
- package/package.json +2 -2
- package/www/index.html +3 -3
- package/www/mapshaper-gui.js +508 -421
- package/www/mapshaper.js +11 -10
- package/www/modules.js +1856 -140
- package/www/page.css +56 -11
package/www/page.css
CHANGED
|
@@ -44,6 +44,7 @@ body.map-view {
|
|
|
44
44
|
background-color: #fff;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
|
|
47
48
|
.fade-out {
|
|
48
49
|
animation: fadeOut ease forwards 0.6s;
|
|
49
50
|
}
|
|
@@ -1123,8 +1124,6 @@ img.close-btn:hover,
|
|
|
1123
1124
|
height: 100%;
|
|
1124
1125
|
}
|
|
1125
1126
|
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
1127
|
.basemap-styles {
|
|
1129
1128
|
margin: 0 -2px;
|
|
1130
1129
|
white-space: nowrap;
|
|
@@ -1154,26 +1153,63 @@ img.close-btn:hover,
|
|
|
1154
1153
|
margin-left: 10px;
|
|
1155
1154
|
}
|
|
1156
1155
|
|
|
1156
|
+
.basemap-style-btn {
|
|
1157
|
+
position: relative;
|
|
1158
|
+
border-width: 2px;
|
|
1159
|
+
border-color: #98cde2;
|
|
1160
|
+
border-color: #bbddea;
|
|
1161
|
+
border-style: solid;
|
|
1162
|
+
border-radius: 6px;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1157
1165
|
.basemap-style-btn img {
|
|
1158
1166
|
display: block;
|
|
1159
|
-
position: relative;
|
|
1160
|
-
border: 2px solid transparent;
|
|
1161
1167
|
width: 108px;
|
|
1162
1168
|
}
|
|
1163
1169
|
|
|
1164
|
-
div.basemap-style-btn.active
|
|
1165
|
-
border:
|
|
1170
|
+
div.basemap-style-btn.active {
|
|
1171
|
+
border-color: #e8ba52;
|
|
1166
1172
|
}
|
|
1167
1173
|
|
|
1168
|
-
.basemap-style-btn:hover
|
|
1174
|
+
.basemap-buttons:not(.disabled) .basemap-style-btn:hover {
|
|
1169
1175
|
cursor: pointer;
|
|
1170
|
-
border:
|
|
1176
|
+
border-color: #f7e286;
|
|
1171
1177
|
}
|
|
1172
1178
|
|
|
1173
1179
|
.basemap-style-label {
|
|
1174
1180
|
margin-left: 2px;
|
|
1175
1181
|
}
|
|
1176
1182
|
|
|
1183
|
+
.basemap-overlay-buttons {
|
|
1184
|
+
z-index: 20;
|
|
1185
|
+
position: absolute;
|
|
1186
|
+
top: 6px;
|
|
1187
|
+
right: 36px;
|
|
1188
|
+
padding: 4px;
|
|
1189
|
+
background: white;
|
|
1190
|
+
border-radius: 7px;
|
|
1191
|
+
line-height: 0px;
|
|
1192
|
+
display: none;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.basemap-style-btn.basemap-overlay-btn {
|
|
1196
|
+
width: 35px;
|
|
1197
|
+
height: 35px;
|
|
1198
|
+
margin: 3px;
|
|
1199
|
+
overflow: hidden;
|
|
1200
|
+
display: inline-block;
|
|
1201
|
+
/*border-width: 1px;*/
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.basemap-overlay-buttons.disabled > div {
|
|
1205
|
+
opacity: 0.5;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.basemap-overlay-btn img {
|
|
1209
|
+
margin-left: -21px;
|
|
1210
|
+
width: 70px;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1177
1213
|
.mapbox-improve-map {
|
|
1178
1214
|
display: none;
|
|
1179
1215
|
}
|
|
@@ -1191,14 +1227,21 @@ div.basemap-style-btn.active img {
|
|
|
1191
1227
|
}
|
|
1192
1228
|
|
|
1193
1229
|
.map-layers.add-points,
|
|
1194
|
-
.map-layers.
|
|
1230
|
+
.map-layers.draw-tool {
|
|
1195
1231
|
cursor: crosshair;
|
|
1196
1232
|
}
|
|
1197
1233
|
|
|
1198
|
-
.map-layers.
|
|
1234
|
+
.map-layers.draw-tool.dragging {
|
|
1199
1235
|
cursor: default;
|
|
1200
1236
|
}
|
|
1201
1237
|
|
|
1238
|
+
body.pan .map-layers:not(.drawing) {
|
|
1239
|
+
cursor: grab;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
body.pan.panning .map-layers:not(.drawing) {
|
|
1243
|
+
cursor: grabbing;
|
|
1244
|
+
}
|
|
1202
1245
|
.map-layers canvas {
|
|
1203
1246
|
pointer-events: none;
|
|
1204
1247
|
position: absolute;
|
|
@@ -1246,10 +1289,11 @@ div.basemap-style-btn.active img {
|
|
|
1246
1289
|
z-index: 20;
|
|
1247
1290
|
position: absolute;
|
|
1248
1291
|
text-align: center;
|
|
1249
|
-
top:
|
|
1292
|
+
top: 6px;
|
|
1250
1293
|
right: 0;
|
|
1251
1294
|
padding: 3px;
|
|
1252
1295
|
background-color: rgba(255, 255, 255, 1);
|
|
1296
|
+
border-radius: 7px;
|
|
1253
1297
|
}
|
|
1254
1298
|
|
|
1255
1299
|
.nav-btn-wrapper {
|
|
@@ -1319,6 +1363,7 @@ div.basemap-style-btn.active img {
|
|
|
1319
1363
|
|
|
1320
1364
|
.nav-btn.selected {
|
|
1321
1365
|
background-color: black;
|
|
1366
|
+
border-radius: 5px;
|
|
1322
1367
|
}
|
|
1323
1368
|
|
|
1324
1369
|
.nav-btn:hover:not(.disabled) svg *,
|