Changeset 32731

Show
Ignore:
Timestamp:
31.01.2019 16:59:58 (3 weeks ago)
Author:
ak19
Message:

Introduction of drop-down menu for choosing map theme.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/map-editor/DrawingManager/index.html

    r32723 r32731  
    88    <script src="https://code.jquery.com/jquery-3.3.1.js"></script> 
    99    <script src="historyManager.js"></script>    
     10    <script src="mapThemes.js"></script>     
    1011    <script src="index.js"></script>     
    1112    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBzunGwIF2OwsfrOkIC_8bhh0OPGZXo52Y&libraries=drawing&callback=initMap" async defer></script> 
     
    2021    <button onclick="undo()" accesskey="n">Undo</button> 
    2122    <button onclick="redo()" accesskey="n">Redo</button> 
    22      
     23    <input type="checkbox" name="draggableCB" id="draggableCB" value="false"> Lock all shapes location<br> 
    2324    </div> 
    24      
     25    <div id="style-selector-control"  class="map-control"> 
     26      <select id="style-selector" class="selector-control"> 
     27        <option value="default" selected="selected">Default</option> 
     28        <option value="silver">Silver</option> 
     29        <option value="night">Night mode</option> 
     30        <option value="retro">Retro</option> 
     31        <option value="paleDawn">Pale Dawn</option> 
     32        <option value="avocadoWorld">Avocado World</option> 
     33        <option value="bright">Bright</option> 
     34        <option value="turquoise">Turquoise</option> 
     35        <option value="hiding">Hide features</option> 
     36      </select> 
     37    </div>   
    2538    <div id = "LineThickness"> 
    2639    <p>Line thickness: <input type="range" min="20" max="100" value="1" class="slider" id="thicknessRange"> </p>