[ka-Map-users] Newbie question about kaXMLOverlay

linh dang hong linh_2f at yahoo.com
Mon Nov 13 09:49:26 EST 2006


I installed MapServer, PostGis, Ka-Map, and all of them worked properly and displayed map successfull. But when i try to add one point over map, i don't see any thing display on it
My code
function addPoint(pid,x,y,iconsrc){   
    var point  = myKaXML.addNewPoint(pid, x, y);
    var icon = new kaXmlIcon();
    pointIdList[pointNumber]= pid;
    pointNumber ++;
// for test only
    icon.icon_src = http://localhost/images/point.gif';
    icon.icon_w= 100;
    icon.icon_h= 100;
//    point.onMouseOver = onPoinClick();
    point.addGraphic(icon);    
}

I tried using Firebug to find out what 's cause this problem but i couldn't. 
Please explain to me why nothing display on map. Thank anyways

 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20061113/394cef8b/attachment-0001.html


More information about the ka-Map-users mailing list