aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTeddy Wing2017-04-19 21:14:10 +0200
committerTeddy Wing2017-04-19 21:14:10 +0200
commitb864fe0ecaa58c5d81ee08690916b84dfa006333 (patch)
treece4bcfc08f8f8d224507f42cc1dccd586bb00b59 /index.html
parentc376101a778f4c933aea858e313e26a6d3f7f788 (diff)
downloadgeo-feature-examiner-b864fe0ecaa58c5d81ee08690916b84dfa006333.tar.bz2
index.html: Increase feature stroke width
Make it easier to see the inputted geometry features.
Diffstat (limited to 'index.html')
-rw-r--r--index.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/index.html b/index.html
index 594159e..7be2880 100644
--- a/index.html
+++ b/index.html
@@ -30,6 +30,13 @@
var format = new ol.format.WKT();
+ var vector_style = new ol.style.Style({
+ stroke: new ol.style.Stroke({
+ color: '#0091ff',
+ width: 5
+ })
+ });
+
var map = new ol.Map({
layers: [raster],
target: 'map',
@@ -72,8 +79,9 @@
wkt_layer = new ol.layer.Vector({
source: new ol.source.Vector({
features: wkt_features
- })
- })
+ }),
+ style: vector_style
+ });
map.addLayer(wkt_layer);
};
</script>