x

Anwendung fast fertig, aber keine Karte in IE8


Geschrieben von mkrebs (Gast) am 17. September 2012 12:38:15: [flux]

Hallo,

jetzt habe ich mich mit Unterstützung des Forums so geplagt und bin soweit gekommen,
dass die interaktive Karte für meine Gemeinde selbst auf mobilen Browsern funktioniert.

Leider macht jetzt der IE 8 nicht mehr mit.
Die Karte wird einfach nicht angezeigt.
Ich verstehe es nicht. Hat jemand einen Tipp wo ich da anfangen muss?
Danke und Gruß
Michael

http://mittenimbild.de/cb/

<script␣type="text/javascript">
PROJECTION_4326␣=␣new␣OpenLayers.Projection("EPSG:4326");
PROJECTION_MERC␣=␣new␣OpenLayers.Projection("EPSG:900913");
function␣drawmap(){
OpenLayers.Lang.setCode('de');
-->␣der␣erste␣Fehler␣ist␣hier,␣aber␣wenn␣ich␣schreibe␣var␣map␣=␣gehts␣auch␣nicht
map␣=␣new␣OpenLayers.Map('map',␣{controls:␣[
new␣OpenLayers.Control.Navigation(),
new␣OpenLayers.Control.MousePosition(),
new␣OpenLayers.Control.Permalink(),
new␣OpenLayers.Control.LoadStatus({html:␣'<img␣src="./img/loader.gif"␣/><br␣/>Loading...'}),
new␣OpenLayers.Control.TouchNavigation
({
dragPanOptions:␣{enableKinetic:␣true}
}),
new␣OpenLayers.Control.Zoom(),
new␣OpenLayers.Control.Attribution(),
//new␣OpenLayers.Control.LayerSwitcher(),
new␣OpenLayers.Control.ScaleLine()],
maxExtent␣:␣new␣OpenLayers.Bounds(-20037508.34,␣-20037508.34,␣20037508.34,␣20037508.34),
numZoomLevels␣:␣19,
maxResolution␣:␣156543,
units␣:␣'m',
projection␣:␣PROJECTION_MERC,
displayProjection␣:␣PROJECTION_4326
});

Antworten: