Hi, i made a ka-map application with orthophotos which basically works fine with ka-map. now i tried to show that with openlayers but i get only pink tiles and no images are displayed.
http://www.nabble.com/file/p13096780/pink_tiles.jpg ------------------------------------------------------------------ here are my html file: (i just added the pink tiles patch to the Utils.php but that didnĀ“t worked out!) ---------------------------------------------------------------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> #map { width: 800px; height: 475px; border: 1px solid black; } </style> <script src="http://172.21.18.45/openlayers/lib/OpenLayers.js"></script> <script type="text/javascript"> var map; function init(){ map = new OpenLayers.Map('map',{'projection':'EPSG:31258', 'units':'m', 'maxExtent': new OpenLayers.Bounds(390730, 119473, 594760, 238680), 'maxResolution': "auto" }); var jpl_wms = new OpenLayers.Layer.KaMap( "Orthophotos", "http://172.21.18.45/ka-map/tile.php", {g: "Orthophotos", map: "geoland_test"}); map.addLayers([jpl_wms]); map.zoomToMaxExtent(); } </script> </head> <body onload="init()"> <h1>Orthophotos</h1> <div id="map"></div> </body> </html> ---------------------------------------------------------------------- change in my config.php of the ka-map: ------------------------------------------- $aszMapFiles = array( "Orthofotos" => array( "orthophotos", "/usr/share/ka-map-1.0-20070205/htdocs/orthophotos.map", array( 10000 ), # in openlayers, the scale array doesn't matter. "PNG24") ); ------------------------------------------------------------------------ i hope someone have an advice how this could work out correclty! thanks -- View this message in context: http://www.nabble.com/ka-map-with-openlayers--pink-tiles--no-images-tf4588233.html#a13096780 Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users