[ka-Map-users] Re: Newbie question about kaXMLOverlay
Cheung Alan Kwok Lun
ache051 at ec.auckland.ac.nz
Tue Nov 14 17:19:10 EST 2006
Hello! I haven't test and it is probably not it, but on the line
icon.icon_src I can see an extra quotation mark at the end?
Alan
> 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
More information about the ka-Map-users
mailing list