Strabon

changeset 619:db8b65bcd1d6

Merge with tip
author Kostis Kyzirakos <kkyzir@di.uoa.gr>
date Wed Oct 03 17:53:53 2012 +0300 (2012-10-03)
parents 34e68fb2a595 05841a0f3d6b
children db08c38e1422
files endpoint/WebContent/query.jsp resultio/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java
line diff
     1.1 --- a/resultio/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Wed Oct 03 17:50:55 2012 +0300
     1.2 +++ b/resultio/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Wed Oct 03 17:53:53 2012 +0300
     1.3 @@ -168,6 +168,7 @@
     1.4  				String mouseOverLineWidth = style[4];
     1.5  				String mouseOverLineColor = style[5];
     1.6  				String mouseOverPolygonFill = style[6];
     1.7 +				//append normal style
     1.8  				xmlWriter.setAttribute("id", "normal_" + id);
     1.9  				xmlWriter.startTag(STYLE_TAG);
    1.10  				xmlWriter.startTag(LINESTYLE_TAG);
    1.11 @@ -178,6 +179,7 @@
    1.12  				xmlWriter.textElement("color", polygonFill);
    1.13  				xmlWriter.endTag(POLYSTYLE_TAG);
    1.14  				xmlWriter.endTag(STYLE_TAG);
    1.15 +				//append highlight style
    1.16  				xmlWriter.setAttribute("id", "highlight_" + id);
    1.17  				xmlWriter.startTag(STYLE_TAG);
    1.18  				xmlWriter.startTag(LINESTYLE_TAG);
    1.19 @@ -188,6 +190,7 @@
    1.20  				xmlWriter.textElement("color", mouseOverPolygonFill);
    1.21  				xmlWriter.endTag(POLYSTYLE_TAG);
    1.22  				xmlWriter.endTag(STYLE_TAG);
    1.23 +				//define map style combining the above styles
    1.24  				xmlWriter.setAttribute("id", id);
    1.25  				xmlWriter.startTag(STYLEMAP_TAG);
    1.26  				xmlWriter.startTag("Pair");