Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Oct 1, 2024
1 parent 37fa03a commit 628e2cc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ <h3 id="relationtitle">Relationview</h3>
if(!(results[result]["rel"]["value"] in resultjson)){
resultjson[results[result]["rel"]["value"]]=[]
if(results[result]["rel"]["value"] in geoproperties){
seengeoprops[results[result]["rel"]["value"]]=true
seengeoprops[results[result]["rel"]["value"]]=results[result]["val"]["value"]
}
if(results[result]["rel"]["value"] in labelproperties){
label=results[result]["val"]["value"]
Expand Down Expand Up @@ -516,6 +516,17 @@ <h3 id="relationtitle">Relationview</h3>
tablecontent+="</ul>"
}
}
for(geoprop in seengeoprops){
if(geoprop.includes("http")){
d3.sparql($('#endpointselect').val(), "SELECT DISTINCT ?rel ?val WHERE { <"+seengeoprops[geoprop]+"> ?rel ?val . }").then((results)=>{
for(result in results){
if(results[result]["rel"]["value"] in geoproperties){
console.log("GEOMETRY: "+results[result]["val"]["value"])
}
}
});
}
}
if(label!=""){
$('#title').html(label)
}else{
Expand Down

0 comments on commit 628e2cc

Please sign in to comment.