mapshaper 0.7.66 → 0.7.68

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapshaper",
3
- "version": "0.7.66",
3
+ "version": "0.7.68",
4
4
  "description": "A tool for editing geospatial data for mapping and GIS.",
5
5
  "keywords": [
6
6
  "shapefile",
package/www/index.html CHANGED
@@ -57,6 +57,12 @@
57
57
  <path d="M13.4125,6.1758c-.0735,0-.1704.0087-.3023.0225-.35.0418-1.1581.0841-1.6018.0841H3.4416c-.4199,0-1.2035-.0418-1.5848-.0845-.1272-.0133-.2242-.022-.2977-.022-.5733,0-.5733.5104-.5733.678v3.8421h.9614c.8167,0,1.1245-.4428,1.2361-.7083.43-1.0372.9151-1.2196,1.775-1.2196h.6348v9.7486c0,.3918-.0528.4281-.463.7111l-.0919.0634c-.4874.3427-.6362.5765-.6362,1.0014v1.1346h6.1463v-1.1346c0-.4222-.1617-.6753-.6992-1.0441-.435-.3023-.4708-.3266-.4708-.7318v-9.7486h.6353c.8439,0,1.3253.1833,1.7754,1.2205.1851.4428.6307.7074,1.1925.7074h1.0042v-3.8421c0-.1677,0-.678-.5733-.678Z"/>
58
58
  </svg>
59
59
 
60
+ <!-- lines of text between two margins: the text block tool. -->
61
+ <svg id="text-block-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-1.5 -2.325 27 27">
62
+ <path d="M1.5,2 H3.3 V21 H1.5 Z M20.7,2 H22.5 V21 H20.7 Z"/>
63
+ <path d="M5.4,5 H18.6 V7.4 H5.4 Z M5.4,10.3 H18.6 V12.7 H5.4 Z M5.4,15.6 H14.2 V18 H5.4 Z"/>
64
+ </svg>
65
+
60
66
  <!-- a "T" over a curve: the path-aligned label tool. -->
61
67
  <svg id="curved-text-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-1.5 -2.325 27 27">
62
68
  <path d="M6.5,2 H17.5 V4.6 H13.4 V12 H10.6 V4.6 H6.5 Z"/>
@@ -367,7 +373,7 @@ encoding=big5</span>. Click to see all options.</div></div></div>
367
373
  <div class="info-box-scrolled">
368
374
  <div class="layer-menu">
369
375
  <div class="layer-add-links">
370
- <span id="add-file-btn" class="layer-menu-link">Add files</span><span class="layer-menu-link-separator">&nbsp;&nbsp;·&nbsp;&nbsp;</span><span class="new-layer-label">Draw:&nbsp;</span><span class="new-layer-links"></span>
376
+ <div class="layer-add-links-inner"><span class="layer-add-links-group"><span id="add-file-btn" class="layer-menu-link">Add files</span></span><span class="layer-add-links-group"><span class="new-layer-label">Draw:&nbsp;</span><span class="new-layer-links"></span></span></div>
371
377
  </div>
372
378
  <div class="layer-item">
373
379
  <h3>Layers</h3>
@@ -393,9 +399,16 @@ encoding=big5</span>. Click to see all options.</div></div></div>
393
399
  </div>
394
400
  </div>
395
401
  <div class="sidebar-resize-handle" role="separator" aria-orientation="vertical" aria-label="Resize sidebar"></div>
402
+ <!-- Shown while the sidebar is closed -->
396
403
  <div class="sidebar-tabs">
397
- <div class="sidebar-tab layer-tab" role="button" aria-label="Toggle layers panel" aria-expanded="false">Layers</div>
398
- <div class="sidebar-tab console-tab console-btn" role="button" aria-label="Toggle console" aria-expanded="false">Console</div>
404
+ <div class="sidebar-tab layer-tab" data-panel="layers" data-tooltip="Layers" role="button" tabindex="0" aria-label="Show layers" aria-expanded="false"><svg class="sidebar-icon" width="18" height="18" viewBox="0 0 16 16"><polygon points="8,1 15,5 8,9 1,5"/><polygon points="1,8 2.8,7 8,10 13.2,7 15,8 8,12"/><polygon points="1,11 2.8,10 8,13 13.2,10 15,11 8,15"/></svg></div>
405
+ <div class="sidebar-tab console-tab" data-panel="console" data-tooltip="Console" role="button" tabindex="0" aria-label="Show console" aria-expanded="false"><svg class="sidebar-icon" width="18" height="18" viewBox="0 0 16 16"><polygon points="3.2,0.8 9.1,6.7 3.2,12.6 1,10.4 4.7,6.7 1,3"/><rect x="9.3" y="12.1" width="5.7" height="3.1"/></svg></div>
406
+ </div>
407
+ <!-- Shown at the top of the open sidebar -->
408
+ <div class="sidebar-strip">
409
+ <div class="sidebar-strip-btn layer-tab" data-panel="layers" role="button" tabindex="0" aria-label="Toggle layers panel" aria-expanded="false"><svg class="sidebar-icon" width="14" height="14" viewBox="0 0 16 16"><polygon points="8,1 15,5 8,9 1,5"/><polygon points="1,8 2.8,7 8,10 13.2,7 15,8 8,12"/><polygon points="1,11 2.8,10 8,13 13.2,10 15,11 8,15"/></svg>Layers</div>
410
+ <div class="sidebar-strip-btn console-tab" data-panel="console" role="button" tabindex="0" aria-label="Toggle console" aria-expanded="false"><svg class="sidebar-icon" width="13" height="14" viewBox="0 0 16 16"><polygon points="3.2,0.8 9.1,6.7 3.2,12.6 1,10.4 4.7,6.7 1,3"/><rect x="9.3" y="12.1" width="5.7" height="3.1"/></svg>Console</div>
411
+ <div class="sidebar-hide-btn" role="button" tabindex="0" aria-label="Hide sidebar" title="Hide sidebar">&times;</div>
399
412
  </div>
400
413
  <div class="mshp-main-map main-area map-area">
401
414
  <div class="intersection-display">