Meine neu eingerichtete Seite 
http://planetenwege.u-dreher.de/pl_wege_de.html funktioniert auf dem 
Desktop einwandfrei. Beim Aufruf über Android 7, Firefox, öffnen sich die 
Marker nicht.
Aufgeruden sird diese html-Datei
<html><body>
  <div id="mapdiv"></div>
  <script src="http://www.openlayers.org/api/OpenLayers.js";></script>
  <script 
src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js";></script>
  <script>
  
  // Startposition auf der Karte  
        var lat=51.57215     
        var lon=11.27683
        var zoom=6
        
    map = new OpenLayers.Map("mapdiv");
    map.addLayer(new OpenLayers.Layer.OSM());
    
       
    var pois = new OpenLayers.Layer.Text( "My Points",
                    { location:"./wege_de.txt",
                      projection: map.displayProjection
                    });
    map.addLayer(pois);
// create layer switcher widget in top right corner of map.
//   var layer_switcher= new OpenLayers.Control.LayerSwitcher({});
//   map.addControl(layer_switcher);

    //Set start centrepoint and zoom    
    var lonLat = new OpenLayers.LonLat( lon, lat )
          .transform(
            new OpenLayers.Projection("EPSG:4326"), // transform from WGS 
1984
            map.getProjectionObject() // to Spherical Mercator Projection
          );
    map.setCenter (lonLat, zoom); 

    popup = new OpenLayers.Popup.FramedCloud("featurePopup",
                             feature.geometry.getBounds().getCenterLonLat(),
                             new OpenLayers.Size(100,100),
                             "<h2>"+feature.attributes.title + "</h2>" +
                             feature.attributes.description,
                             null, true, onPopupClose,
                 {transparent: "true"});    
    

    
  </script>
</body></html>

Dazu gehört die wege_de.txt mit der Struktur
lat    lon    title    description    icon    iconSize    iconOffset

Wer kann mir helfen, dieses Seite auch auf Android zum Laufen zu bringen.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenLayers Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/openlayers-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/openlayers-dev/f030456d-397e-4770-8b27-59a84da0f660%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to