|
|
@ -10,7 +10,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
|
|
|
|
<script type="text/javascript" src="http://openlayers.org/api/OpenLayers.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
|
|
var map;
|
|
|
|
var map;
|
|
|
|
|
|
|
|
|
|
|
|
function init() {
|
|
|
|
function init() {
|
|
|
@ -24,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
function search() {
|
|
|
|
function search() {
|
|
|
|
var query = document.getElementById('query').value.replace(' ', '+');
|
|
|
|
var query = document.getElementById('query').value.replace(' ', '+');
|
|
|
|
var newl = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'http://localhost:8080/yacysearch_location.rss?query=' + query);
|
|
|
|
var newl = new OpenLayers.Layer.GeoRSS( 'GeoRSS', 'yacysearch_location.rss?query=' + query);
|
|
|
|
map.addLayer(newl);
|
|
|
|
map.addLayer(newl);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|