Lade Anmeldeseite ... [-- There is no form with ID "aspnetForm" at ./geolog.pl line 3972.
Sorry folks, the project is not any longer maintained and I have closed this repository. If anybody is interested, they can download the source code and continue the project.
$browser->submit_form(
fields => {
'Username' => $user,
'Password' => $password,
}
);
if ( $content =~ /class=\"profile-panel detailed\"/msi ) {
DrAlzheimer schrieb:Der Aufwand hält sich in Grenzen. Mit folgenden Änderungen in der geolog.pl (0.92) funktioniert der Login vorerst wieder:
wrtlbrmpft schrieb:Bei mir läuft übrigens ocprop.pl Version 2.21 auch noch.
--- geolog.2.93/map_osm.tmpl 2016-02-15 20:04:25.000000000 +0100
+++ geolog.2.93-mod/map_osm.tmpl 2017-05-09 14:58:50.000000000 +0200
@@ -70,10 +70,6 @@
<img src="pics/mm_20_blue.png" width="12" height="20" alt="blauer Marker" class="marker">
<input type="checkbox" name="Versteckt" id="ls_layerHidden" onclick="LayerSwitch('layerHidden')"><label for="layerHidden">##hiddenicontitle##</label>
- <form onsubmit="showAddress(this.address.value); return false;" style="margin-left: 40px; display: inline;">
- <input type="text" size="14" name="address" value="Adresse suchen" onfocus="if(this.value=='Adresse suchen')this.value='';" onblur="if(this.value=='')this.value='Adresse suchen';">
- <input type="submit" value="suchen" style="width: 55px">
- </form>
<a id="link_osm" href="http://openstreetmap.org/" target="_blank" title="Link zu Openstreetmap">OSM</a>
@@ -108,10 +104,10 @@
</tr>
</table>
-<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
+<script src="js/lib/OpenLayers.js"></script>
+<script src="js/lib/deprecated.js"></script>
<script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
-#key?#<script src="http://maps.google.com/maps?file=api&v=2&key=#GoogleMapKey#" type="text/javascript"></script>#key!#
-<script type="text/javascript" src="http://osm.cdauth.de/map/prototypes.js"></script>
+
<script type="text/javascript">
//<!--
OpenLayers.Layer.XML = OpenLayers.Class(OpenLayers.Layer.Markers, {
@@ -152,13 +148,13 @@
var location = new OpenLayers.LonLat(point[0], point[1]);
var title = "Untitled";
try {
- title = OpenLayers.Util.getNodes(markers[i], 'label')[0].firstChild.nodeValue;
+ title = OpenLayers.Util.getXmlNodeValue(markers[i].childNodes[1]);
} catch (e) {
title = "Untitled";
}
var description = "No description";
try {
- description = OpenLayers.Util.getNodes(markers[i], 'infowindow')[0].firstChild.nodeValue;
+ description = OpenLayers.Util.getXmlNodeValue(markers[i].childNodes[3]);
} catch (e) {
description = "No description";
}
@@ -423,8 +419,6 @@
var bLayer = readCookie('GeologBaseLayer');
var att_ocm = "Darstellung: <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">CC-by-SA</a> by <a href=\"http://www.opencyclemap.org/\">OpenCycleMap</a>"
var att_osm = "Daten: <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">CC-by-SA</a> by <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a>"
-var att_finder = "Suchergebnisse aus <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> <a href=\"http://creativecommons.org/licenses/by-sa/2.0/\">CC-by-SA</a>"
-var att_cdauth = "via <a href=\"http://osm.cdauth.de/map/\">cdauth.s map api</a>"
var map; //complex object of type OpenLayers.Map
//Initialise the 'map' object
@@ -455,30 +449,10 @@
map.addControl(new OpenLayers.Control.OverviewMap(options));
// add base layers ( mapnik, osmarender, cyclemap)
- layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik", {attribution: att_osm + "<br>" +
- att_finder + "<br>" + att_cdauth
- });
+ layerMapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik", {attribution: att_osm});
map.addLayer(layerMapnik);
- layerCycleMap = new OpenLayers.Layer.OSM.CycleMap("OpenCycleMap", {attribution: att_ocm + "<br>" + att_osm + "<br>" +
- att_finder + "<br>" + att_cdauth
- });
+ layerCycleMap = new OpenLayers.Layer.OSM.CycleMap("OpenCycleMap", {attribution: att_ocm + "<br>" + att_osm});
map.addLayer(layerCycleMap);
-
- #key?#
- // optional Google-Maps layer
- map.addLayer(new OpenLayers.Layer.cdauth.Google.Maps("Google Maps", {attribution: "Eingebunden " + att_cdauth + "<br>" +
- att_finder + "<br>" + att_cdauth }));
- map.addLayer(new OpenLayers.Layer.cdauth.Google.MapsSatellite("Google Maps Satellit", {attribution: "Eingebunden " + att_cdauth + "<br>" +
- att_finder + "<br>" + att_cdauth }));
- map.addLayer(new OpenLayers.Layer.cdauth.Google.MapsHybrid("Google Maps Hybrid", {attribution: "Eingebunden " + att_cdauth + "<br>" +
- att_finder + "<br>" + att_cdauth }));
- #key!#
-
-
- // add searchResults layer
- nameFinder = new OpenLayers.cdauth.NameFinder.Nominatim("namefinder.php");
- layerSearch = new OpenLayers.Layer.cdauth.Markers.GeoSearch("Search results", nameFinder, { saveInPermalink : true });
- map.addLayer(layerSearch);
// add overlays (found, not found, hidden, todo, near)
layerFound = new OpenLayers.Layer.XML("Gefunden", "found.xml");
marsipulami0815 schrieb:Fix für OSM-Cachekarte
[...]
Openlayers 2 API: http://openlayers.org/two/
Aus dem Archiv dann den Ordner "lib" und "img"komplett ins gcdir/js Verzeichnis kopieren. (ich habe die letzte stable 2.13.1 genommen).
[...]
Ich muss mich verbessern bzw ergänzen: Das Unterverzeichnis "themes" aus dem Openlayers Archiv muss auch noch nach "gcdir/js" kopiert werden...
VG, Marcus