![]() |
||||
|
|
||||
[rosa-users] Accessing the cumulative distance value outside of the status barSteve McCrone mccrone@pc.jaring.myMon, 13 Jan 2003 08:00:07 +0800
|
||||
I also asked this question in the mapserver list but it is probabaly more
appropriate here -
After looking at the java source of the 'Rosa2000.java' I see that there is
not function
that returns the cumulative distance text that can be called by a javascript
function.
So, am I correct in saying that there is not currently a function in the
rosa applet that allows
the cumulative distance string to be accessed?
Not being a java developer would it be possible to Add a function
in the Rosa2000.java code to return the parameter m_strMsg,
which i beleive is the string variable that holds the message
displayed in the status bar. See below:
protected void readPararam()
{
// Get the message.
m_strMsg = m_applet.getParameter( kstrDistanceMsgParam );
...
}
In the 'Rosa2000.java' have something like -
public void GetDistMsg()
{
return m_strMsg;
}
Thanks,
Steve
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |