<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi<BR>
&nbsp;<BR>
I am stuck with thing in Ka XmlOverlay, I have a php file that generates Xml points , this is fucntion that create points<BR>
&nbsp;<BR>
&nbsp;function getCoordinates($i,$scale,$node_name,$x,$y)<BR>&nbsp;{<BR>
$str="";<BR>$str.=" var my_point$i = myXmlOverlay.addNewPoint('$node_name',$x,$y);"<BR>." var my_label$i= new kaXmlLabel();"<BR>." var my_icon$i= new kaXmlIcon();"<BR>." my_label$i.text='$node_name';"<BR>." my_label$i.boxcolor=\"#ff0000\";"<BR>." my_label$i. h=\"10\";"<BR>." my_label$i. w=\"50\";"<BR>." my_label$i.font=\"Arial\";"<BR>." my_label$i.color=\"#000000\";"<BR>." my_label$i.xoff=\"5\";"<BR>." my_label$i.yoff=\"5\";"<BR>." my_icon$i.icon_w=\"20\";"<BR>." my_icon$i.icon_h=\"41\";"<BR>." my_icon$i.icon_src=\"images/scar75.gif\";"<BR>." my_icon$i.draw(my_point$i);"<BR>." my_label$i.draw(my_point$i);";<BR>
return $str;<BR>}<BR><BR><BR>
may &nbsp;I call this class say "XmlPoints.php" in setInterval so that i can get fresh values ?<BR>
becuase myXmlOverlay.loadXml() doesnot work here, since it needs some document that has &lt;overlay&gt;&lt;/overlay&gt; type stuff<BR>
&nbsp;<BR>
&nbsp;<BR>
any help will be really appreciable<BR>
&nbsp;<BR>
Regards<BR>
G.Muqtada<BR><BR><BR><BR><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<HR id=EC_stopSpelling>
Date: Wed, 18 Oct 2006 18:15:45 +0200<BR>From: pg.navone@gmail.com<BR>To: wayne@datalinktech.com.au<BR>Subject: Re: [ka-Map-users] XMLOverlay Multiple Items at Same Point<BR>CC: ka-map-users@lists.maptools.org<BR><BR>Unfortunately the disk of my server crashed in August and I have not yet reinstalled the public demo.<BR><BR>Sorry.<BR><BR><BR>
<DIV><SPAN class=EC_gmail_quote>2006/10/18, Wei Yang, Ng - Wayne &lt;<A href="mailto:wayne@datalinktech.com.au"> wayne@datalinktech.com.au</A>&gt;:</SPAN>
<BLOCKQUOTE class=EC_gmail_quote style="PADDING-LEFT: 1ex">Hi Jeff,<BR>&nbsp;&nbsp; You must be referring to a point collision system for kaXmlOverlay. <BR>The good news is that I have implemented such a feature for<BR>kaXmlOverlay.js about 2 months ago. This feature works in<BR>Mozilla/IE/Opera and should work with others too. The bad news is that I<BR>have yet to merge it with the current release of ka-map in cvs due to <BR>other commitments and deadlines. Do let me know if you would like a copy<BR>of my source code and an explanation on how it works. I am currently<BR>using the overlib javascript library for point popups. These popups<BR>allow me to list the items within collision points.<BR><BR>Hi Pg,<BR>&nbsp;&nbsp;I should get cracking on merging my stuff with yours. Do you have an<BR>existing ka-map demo setup so that we may demonstrate point collision?<BR><BR>Cheers,<BR>Wayne<BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE><br /><hr />Search from any Web page with powerful protection. Get the FREE Windows Live Toolbar Today! <a href='http://get.live.com/toolbar/overview' target='_new'>Try it now!</a></body>
</html>