+<!-- Additional options -->
+<details id="searchAdvancedOptions">
+ <summary><small>Advanced options</small></summary>
+ <ul>
+ <li>
+ <div class="form-check form-check-inline">
+ <label class="form-check-label" for="use_viewbox">apply viewbox</label>
+ <input type="checkbox" class="form-check-input api-param-setting"
+ id="use_viewbox" checked={api_request_params.viewbox} on:change={reset_viewbox}>
+ </div>
+ </li>
+
+ <li>
+ <div class="form-check form-check-inline">
+ <label class="form-check-label" for="option_bounded">bounded to viewbox</label>
+ <input type="checkbox" class="form-check-input api-param-setting"
+ id="option_bounded" checked={!!api_request_params.bounded} on:change={set_bounded}>
+ </div>
+ </li>
+
+ <li>
+ <div class="form-check form-check-inline">
+ <label class="form-check-label" for="option_dedupe">deduplicate results</label>
+ <input type="checkbox"
+ class="form-check-input api-param-setting"
+ id="option_dedupe"
+ checked={api_request_params.dedupe === 0 ? 0 : 1}
+ on:change={set_dedupe}>
+ </div>
+ </li>
+
+ <li>
+ <label for="option_limit">Maximum number of results</label>
+ <input type="number"
+ class="form-control form-control-sm d-inline w-auto api-param-setting"
+ data-api-param="limit" id="option_limit" min="1" max="50"
+ value="{api_request_params.limit || ''}"
+ on:change={set_api_param}>
+ </li>
+
+ <li>
+ <label for="option_polygon_threshold">Polygon simplification</label>
+ <input type="number"
+ class="form-control form-control-sm d-inline w-auto api-param-setting"
+ data-api-param="polygon_threshold" id="option_polygon_threshold"
+ min="0.0" max="1.0" step="0.001"
+ value="{api_request_params.polygon_threshold || ''}"
+ on:change={set_api_param}>
+ </li>
+
+ <li>
+ <label for="accept_lang">Languages</label>
+ <input type="text" placeholder="e.g. en,zh-Hant"
+ class="form-control form-control-sm d-inline w-auto api-param-setting"
+ data-api-param="accept-language" id="accept_lang" size="15"
+ value="{api_request_params['accept-language'] || ''}"
+ on:change={set_api_param}>
+ </li>
+
+ <li>
+ <label for="option_ccode">Country Codes</label>
+ <input type="text" placeholder="e.g. de,gb"
+ class="form-control form-control-sm d-inline w-auto api-param-setting"
+ data-api-param="countrycodes" id="option_ccode" size="15"
+ value="{api_request_params.countrycodes || ''}"
+ pattern="^[a-zA-Z]{'{2}'}(,[a-zA-Z]{'{2}'})*$"
+ on:change={set_api_param}>
+ </li>
+ </ul>
+</details>
+