Problems with ka-map

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems with ka-map

Adam Eskreis
I have a map that is generated using ka-map that i would like to show in openlayers.  When i look at the map in the ka-map viewer, it shows up just fine, but tile.php is blank and it doestn owrk when i put it into openlayers.   Here is my OpenLayers code:

    var map = new OpenLayers.Map('map');
    var wms = new OpenLayers.Layer.KaMap( "Manhattan",
                    "http://localhost/kamap/tile.php?", {map: "manhattan"});    
    map.addLayer(wms);
    map.zoomToMaxExtent();


Why does this owrk in the ka-map viewer but not in openlayers, and more importantly, why is tile.php blank?