summaryrefslogtreecommitdiff
path: root/index.html.in
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-27 23:42:41 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-27 23:42:41 +0100
commitbf7636af28fe4b6a4b5fb9e16d2b0aeb4bec7167 (patch)
treeafd7ccb61c2075088dde9301cf9d9dfff5d48fef /index.html.in
parent6db5664c713005e2f8795486de4df89c0393c752 (diff)
downloadPROJ-data-bf7636af28fe4b6a4b5fb9e16d2b0aeb4bec7167.tar.gz
PROJ-data-bf7636af28fe4b6a4b5fb9e16d2b0aeb4bec7167.zip
Regenerate index.html
Diffstat (limited to 'index.html.in')
-rw-r--r--index.html.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/index.html.in b/index.html.in
index 1588558..0d78690 100644
--- a/index.html.in
+++ b/index.html.in
@@ -100,7 +100,7 @@ var vectorLayerJSON = new ol.layer.Vector({
source: new ol.source.Vector({
format: new ol.format.GeoJSON(),
url: 'files.geojson'
- //url: "https://gist.githubusercontent.com/rouault/7c2f687e58b7e1e6a30c48f39d3d879e/raw/644a388afcf556e642cdcb8c38d7321abc5f2091/files.geojson"
+ //url: "https://gist.githubusercontent.com/rouault/7c2f687e58b7e1e6a30c48f39d3d879e/raw/c68c647812ba23bf58e7986a158e65671326f4c3/files.geojson"
}),
style: new ol.style.Style({
stroke : new ol.style.Stroke(
@@ -169,9 +169,13 @@ map.on('singleclick', function(evt) {
var props = feature.getProperties();
count ++;
//content_innerHTML += '<p><a href="' + props.name + '">' + props.name + '</a></p>';
- details_innerHTML += '<p><a href="' + props.name + '">' + props.name + '</a> (' + props.source;
+ details_innerHTML += '<p><a href="' + props.name + '">' + props.name + '</a>: '
+ if( props.area_of_use ) {
+ details_innerHTML += props.area_of_use + ', ';
+ }
+ details_innerHTML += props.source;
details_innerHTML += ', ' + props.description;
- details_innerHTML += ')</p>';
+ details_innerHTML += '</p>';
});
details.innerHTML = details_innerHTML;
/*