[ka-Map-users] blank map

Edu Montaña edumon20 at hotmail.com
Tue May 29 08:18:14 EDT 2007


Hello list!
After a time trying to solve the entire blank page that I obtain on the 
browser, finally I fixed it. The solution was to install from the "universe" 
repository of ubuntu the following packages: apache2, cgi-mapserver, 
mapserver-bin, perl-mapscript, php4-mapscript, php5-mapscript, 
python-mapscript.
After installing them, I installed ka-map and gmap_ms46 for test gmap75. But 
I obtain all entire ka-Explorer correctly, except the map, that obtain a 
blank map. I've try with a customize map but the results are the same.
I've checked if mapserver works, and thus it is; I checked if shp2img works 
and too; I checked if init.php works and it works perfectly, I obtain:

/*init*/aszScales=new 
Array('40000000','25000000','12000000','7500000','3000000','1000000');var 
map = new _map({name:'gmap',title:'GMap 75',currentScale: 
0,units:3,resolution:72,version:'',scales:aszScales});map.setDefaultExtents(-2200000,-712631,3072800,3840000);map.setBackgroundColor('rgb(255,255,255)');map.addLayer(new 
_layer( { 
name:'__base__',visible:true,opacity:100,imageformat:'gif',queryable:false,tileSource:'auto',redrawInterval:-1,refreshInterval:-1,scales: 
new Array('1','1','1','1','1','1')}));map.resolution = 72;this.addMap( map 
);this.tileWidth=256;this.tileHeight=256;this.server = 
'http://localhost/ka-map/htdocs/';this.tileURL = 
'tile.php';this.selectMap('gmap');

The config.php file should be works, because it is the one that comes by 
default. I don't know what I can be making bad. somebody can help me?

Thanks in advance, and sorry for my english.

_________________________________________________________________
Moda para esta temporada. Ponte al día de todas las tendencias. 
http://www.msn.es/Mujer/moda/default.asp



More information about the ka-Map-users mailing list