|
130 | 130 | <g id="hatching"> |
131 | 131 | <pattern id="hatch0" patternUnits="userSpaceOnUse" width="4" height="4"> |
132 | 132 | <line x1="0" y1="0" x2="0" y2="4" style="stroke:black; stroke-width:2"/> |
133 | | - </pattern>; |
| 133 | + </pattern> |
134 | 134 |
|
135 | 135 | <pattern id="hatch1" patternTransform="rotate(45 0 0)" patternUnits="userSpaceOnUse" width="4" height="4"> |
136 | 136 | <line x1="0" y1="0" x2="0" y2="4" style="stroke:black; stroke-width:2"/> |
|
2086 | 2086 | <button id="routeRemove" data-tip="Remove route. Shortcut: Delete" class="icon-trash"></button> |
2087 | 2087 | </div> |
2088 | 2088 |
|
| 2089 | + <div id="lakeEditor" class="dialog" style="display: none"> |
| 2090 | + <button id="lakeGroupsShow" data-tip="Show the group selection" class="icon-tags"></button> |
| 2091 | + <div id="lakeGroupsSelection" style="display: none"> |
| 2092 | + <button id="lakeGroupsHide" data-tip="Hide the group section" class="icon-tags"></button> |
| 2093 | + <select id="lakeGroup" data-tip="Select a group for this lake" style="width:9em"></select> |
| 2094 | + <input id="lakeGroupName" placeholder="new group name" data-tip="Provide a name for the new group" style="display:none; width:9em"/> |
| 2095 | + <span id="lakeGroupAdd" data-tip="Create new group for this lake" class="icon-plus pointer"></span> |
| 2096 | + <span id="lakeGroupRemove" data-tip="Remove the group" class="icon-trash-empty pointer"></span> |
| 2097 | + </div> |
| 2098 | + |
| 2099 | + <button id="lakeEditStyle" data-tip="Edit lake group style in Style Editor" class="icon-brush"></button> |
| 2100 | + <button id="lakeArea" data-tip="Lake area in selected units">0</button> |
| 2101 | + <button id="lakeLegend" data-tip="Edit free text notes (legend) for the lake" class="icon-edit"></button> |
| 2102 | + </div> |
| 2103 | + |
| 2104 | + <div id="coastlineEditor" class="dialog" style="display: none"> |
| 2105 | + <button id="coastlineGroupsShow" data-tip="Show the group selection" class="icon-tags"></button> |
| 2106 | + <div id="coastlineGroupsSelection" style="display: none"> |
| 2107 | + <button id="coastlineGroupsHide" data-tip="Hide the group section" class="icon-tags"></button> |
| 2108 | + <select id="coastlineGroup" data-tip="Select a group for this coastline" style="width:9em"></select> |
| 2109 | + <input id="coastlineGroupName" placeholder="new group name" data-tip="Provide a name for the new group" style="display:none; width:9em"/> |
| 2110 | + <span id="coastlineGroupAdd" data-tip="Create new group for this coastline" class="icon-plus pointer"></span> |
| 2111 | + <span id="coastlineGroupRemove" data-tip="Remove the group" class="icon-trash-empty pointer"></span> |
| 2112 | + </div> |
| 2113 | + |
| 2114 | + <button id="coastlineEditStyle" data-tip="Edit coastline group style in Style Editor" class="icon-brush"></button> |
| 2115 | + <button id="coastlineArea" data-tip="Lake area in selected units">0</button> |
| 2116 | + </div> |
| 2117 | + |
2089 | 2118 | <div id="reliefEditor" class="dialog" style="display: none"> |
2090 | 2119 |
|
2091 | 2120 | <div id="reliefTools" data-tip="Select mode of operation"> |
|
2446 | 2475 | <button id="convertImageLoad" data-tip="Load image to convert" class="icon-upload"></button> |
2447 | 2476 | <button id="convertAutoLum" data-tip="Auto-assign colors based on liminosity (good to monochrome images)" class="icon-adjust"></button> |
2448 | 2477 | <button id="convertAutoHue" data-tip="Auto-assign colors based on hue (good to colored images)" class="icon-brush"></button> |
2449 | | - <button id="convertColorsMinus" data-tip="Reduce the number of colors. Minimal number is 3" class="icon-minus-squared"></button> |
2450 | | - <button id="convertColorsPlus" data-tip="Increase the number of colors. Maximum number is 256" class="icon-plus-squared"></button> |
| 2478 | + <button id="convertColorsButton" data-tip="Set number of colors" class="icon-signal"></button> |
2451 | 2479 | <input id="convertColors" value="18" style="display: none"/> |
2452 | 2480 | <button id="convertComplete" data-tip="Complete the assignment. All unassigned colors will be considered as ocean" class="icon-check"></button> |
2453 | 2481 | </div> |
|
3027 | 3055 | <script src="libs/polylabel.min.js"></script> |
3028 | 3056 | <script src="libs/jquery-ui.min.js"></script> |
3029 | 3057 | <script src="libs/seedrandom.min.js"></script> |
3030 | | - <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/simplex-noise/2.3.0/simplex-noise.js"></script> --> |
3031 | 3058 | <script src="modules/ui/layers.js"></script> |
3032 | 3059 |
|
3033 | 3060 | <script defer src="modules/ui/general.js"></script> |
|
3047 | 3074 | <script defer src="modules/ui/namesbase-editor.js"></script> |
3048 | 3075 | <script defer src="modules/ui/routes-editor.js"></script> |
3049 | 3076 | <script defer src="modules/ui/lakes-editor.js"></script> |
| 3077 | + <script defer src="modules/ui/coastline-editor.js"></script> |
3050 | 3078 | <script defer src="modules/ui/labels-editor.js"></script> |
3051 | 3079 | <script defer src="modules/ui/rivers-editor.js"></script> |
3052 | 3080 | <script defer src="modules/ui/relief-editor.js"></script> |
|
0 commit comments