![]() |
||||
|
|
||||
[rosa-users] Accessing the cumulative distance value outside of the status barYewondwossen Assefa assefa@dmsolutions.caTue, 14 Jan 2003 09:41:28 -0500
|
||||
I will do the changes and post a new version in the coming days.
Steve McCrone wrote:
> 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
>
> _______________________________________________
> ROSA-users mailing list
> ROSA-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/rosa-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa@dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |