Commit 945bbfc8 authored by Jakob Schmidt's avatar Jakob Schmidt
Browse files

Zoomstufe und Marker bei kleinen Orten (am Bsp. Steinakirchen)

parent 901d4d56
......@@ -115,7 +115,8 @@
<xsl:when test="@type='building'">17</xsl:when>
<xsl:when test="*[1][self::country]">5</xsl:when>
<xsl:when test="*[1][self::region[@type='state']]">7</xsl:when>
<xsl:when test="*[self::district]">12</xsl:when>
<xsl:when test="*[self::district] or *[1][self::settlement][@type='small']">12</xsl:when>
<!--<xsl:when test="*[1][self::settlement][@type='small']">12</xsl:when>-->
<xsl:otherwise>10</xsl:otherwise>
</xsl:choose>;
......@@ -140,8 +141,14 @@
im Zweifel immer die höhere Zoomstufe, oder man kennzeichnet im Ortsindex
die betreffenden Kleinorte (z.B. <settlement type="small">).
-->
<!--
Höhere Zoomstufe und den Marker für kleine Orte, damit man den Ort sofort findet und
auch beim Auszoomen nicht aus den Augen verliert - das klingt doch sinnvoll. Ich habe
das mal testweise bei Steinakirchen am Forst ausprobiert.
-->
<xsl:choose>
<xsl:when test="@type='building'">
<xsl:when test="@type='building' or *[1][self::settlement][@type='small']">
markers.addMarker(new OpenLayers.Marker(position));
</xsl:when>
</xsl:choose>
......@@ -442,7 +449,7 @@
<!-- Resultat-Dokumente -->
<xsl:template match="/">
<xsl:for-each select="doc('../indices/locations.xml')//place">
<xsl:result-document method="html" href="../www/entities/{@xml:id}.html">
<xsl:result-document method="html" href="../../www/entities/{@xml:id}.html">
<!-- unter Linux braucht der href=""-Pfad "../../", unter Windows nur "../" – warum auch immer -->
<xsl:call-template name="hmtl_tree"/>
</xsl:result-document>
......
......@@ -372,7 +372,7 @@
</place>
<place xml:id="l0040">
<settlement>Steinakirchen am Forst</settlement>
<settlement type="small">Steinakirchen am Forst</settlement>
<location>
<geo>48.066667 15.047222</geo>
</location>
......
......@@ -218,7 +218,7 @@
<salute rend="align(right)">Ihr sehr ergebener</salute>
<signed rend="align(right)">F. Busoni</signed>
<dateline rend="align(left)"><date when-iso="1914-11-19">Am 19. November 1914.</date></dateline>
<lb/><address rend="align(left)"><addrLine>Telephon: Churfürst 8622.></addrLine></address>
<lb/><address rend="align(left)"><addrLine>Telephon: Churfürst 8622.</addrLine></address>
</closer>
</div>
</body>
......
......@@ -126,26 +126,6 @@
</dd>
</dl>
<h2>Manuskript</h2>
<dl>
<dt>Entstehung</dt>
<dd>Der Brief wurde in Berlin
am 18. November 1914 verfasst.
</dd>Keine Datierung in der Quelle.
<dt>Incipit</dt>
<dd>ich möchte Sie sehr gerne einmal besuchen.</dd>
<dt>Zusammenfassung</dt>
<dd>Schönberg fragt Busoni nach einem Besuchstermin zum „plaudern“.</dd>
<dt>Aufbewahrungsort</dt>
<dd>Deutschland<br>Berlin<br>Staatsbibliothek zu Berlin · Preußischer Kulturbesitz<br>Musikabteilung mit Mendelssohn-Archiv<br>Nachlass Ferruccio Busoni<br>Mus. Nachl. F. Busoni B II,4562<br>
Mus. ep. A. Schönberg (Busoni-Nachl. B II)
</dd>
<dt>Umfang</dt>
<dd>1 beschriebene Seite</dd>
<dt>Zustand</dt>
<dd>Der Brief ist gut erhalten.</dd>
</dl>
<h2>Frühere Editionen</h2>
<ul>
<li><a class="entity-link" href="entities/b0004.html" data-ref="b0004">Theurich 1977</a>, S. 193
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(7.099814,50.733992).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(16.373064,48.20833).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(12.492222,50.718889).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(7.072833,50.725139).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(9.993333,53.550556).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(10.324556,50.974583).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(12.37475,51.340333).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(12.335833,45.4375).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(14.421389,50.088611).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(16.234444,48.007528).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(5.57,50.6425).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(2.351667,48.856667).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(12,43).transform( fromProjection, toProjection);
var zoom = 5;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(2.533333,46.316667).transform( fromProjection, toProjection);
var zoom = 5;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(10.455278,51.165).transform( fromProjection, toProjection);
var zoom = 5;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
......@@ -44,9 +44,19 @@
var position = new OpenLayers.LonLat(13.061389,52.395833).transform( fromProjection, toProjection);
var zoom = 10;
map.addLayer(mapnik);
map.setCenter(position, zoom);
}
var markers = new OpenLayers.Layer.Markers( "Markers" );
map.addLayer(markers);
}
</script></head>
<body onload="init();">
<div id="weisserHintergrundContentDiv"></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment