[ka-Map-users] Minor bug...

David Badke dbadke at uvic.ca
Fri Jan 20 17:09:17 EST 2006


When a default map is set ($szMap variable in config.php), the default 
map displays immediately, but the map select list still shows "select a 
map" instead of showing the title of the displayed map. In the 
myInitialized function in startUp.js, the following mod fixes this:

    for(var i in aMaps) {
        isSelected = (aMaps[i].name == myKaMap.currentMap);
        oSelect[j++] = new 
Option(aMaps[i].title,aMaps[i].name,isSelected,isSelected);
    }

David



More information about the ka-Map-users mailing list