From bc9e7b5f8c79f1ff20667f2658ea2966033522f6 Mon Sep 17 00:00:00 2001 From: Diego Ripley Date: Sat, 9 Aug 2025 17:02:35 +0000 Subject: [PATCH] Made improvements --- experiments/vector_tiles/to_deploy/index.html | 149 ++++++++++-------- 1 file changed, 86 insertions(+), 63 deletions(-) diff --git a/experiments/vector_tiles/to_deploy/index.html b/experiments/vector_tiles/to_deploy/index.html index 5f7070d..f596880 100644 --- a/experiments/vector_tiles/to_deploy/index.html +++ b/experiments/vector_tiles/to_deploy/index.html @@ -1,10 +1,16 @@ + 2021 Census of Population Characteristics - + + @@ -139,18 +145,18 @@ color: #666; max-width: 200px; } - + /* Pelias Geocoder Styles - Adapted for MapLibre */ .pelias-ctrl { position: relative; display: inline-block; background: #fff; border-radius: 3px; - box-shadow: 0 0 10px 2px rgba(0,0,0,.1); + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); min-width: 200px; max-width: 360px; } - + .pelias-ctrl-input { width: 100%; border: 0; @@ -162,23 +168,23 @@ outline: none; box-sizing: border-box; } - - .pelias-ctrl-input::-webkit-input-placeholder { + + .pelias-ctrl-input::-webkit-input-placeholder { color: #9b9b9b; } - + .pelias-ctrl-input::-moz-placeholder { color: #9b9b9b; } - + .pelias-ctrl-input:-ms-input-placeholder { color: #9b9b9b; } - + .pelias-ctrl-input:-moz-placeholder { color: #9b9b9b; } - + .pelias-ctrl-results { position: absolute; top: 100%; @@ -187,17 +193,17 @@ background: #fff; border-top: 1px solid #eee; border-radius: 0 0 3px 3px; - box-shadow: 0 0 10px 2px rgba(0,0,0,.1); + box-shadow: 0 0 10px 2px rgba(0, 0, 0, .1); z-index: 1000; max-height: 200px; overflow-y: auto; display: none; } - + .pelias-ctrl-results.active { display: block; } - + .pelias-ctrl-result { padding: 8px; cursor: pointer; @@ -205,25 +211,25 @@ font-size: 12px; line-height: 1.4; } - + .pelias-ctrl-result:last-child { border-bottom: none; } - + .pelias-ctrl-result:hover, .pelias-ctrl-result.active { background: #f8f8f8; } - + .pelias-ctrl-result-name { font-weight: bold; margin-bottom: 2px; } - + .pelias-ctrl-result-address { color: #666; } - + .pelias-ctrl-clear { position: absolute; right: 8px; @@ -239,27 +245,27 @@ height: 20px; display: none; } - + .pelias-ctrl-clear:hover { color: #333; } - + .pelias-ctrl-clear.active { display: block; } - + .pelias-ctrl-error { padding: 8px; color: #d00; font-size: 11px; border-top: 1px solid #eee; } - + /* MapLibre Control positioning */ .maplibregl-ctrl-top-right .pelias-ctrl { margin: 10px 10px 0 0; } - + .maplibregl-ctrl-top-left .pelias-ctrl { margin: 10px 0 0 10px; } @@ -277,7 +283,7 @@
- Current field: count_total_1 + Current field: total_1
@@ -291,9 +297,9 @@ + \ No newline at end of file