Remove invalid option from style select

When this option was selected the text field contained 'undefined'
as it is not one of the predefined styles.
This commit is contained in:
Maximilian Krög
2019-10-02 23:52:15 +02:00
parent 3ab32ff744
commit dc28590cff

View File

@@ -24,7 +24,6 @@ experimental: true
<div id="map" class="map"></div> <div id="map" class="map"></div>
<label>Choose a predefined style from the list below or edit it as JSON manually.</label><br> <label>Choose a predefined style from the list below or edit it as JSON manually.</label><br>
<select id="style-select"> <select id="style-select">
<option>Predefined styles</option>
<option value="icons">Icons</option> <option value="icons">Icons</option>
<option value="triangles">Triangles, color related to population</option> <option value="triangles">Triangles, color related to population</option>
<option value="circles">Circles, size related to population</option> <option value="circles">Circles, size related to population</option>