[OpenMap Users] How to get OpenMap or OpenMapApplet instance within a layer

From: Guillaume <guipom2000@yahoo.fr>
Date: Thu Mar 24 2005 - 17:34:32 EST

Hi !
 
I am a French user of OpenMap (4.6.2) and I am creating my own layer in an
OpenMap Applet. I need to interact with the browser. Il fact I need to have
an access (handler) to the Applet class, ie OpenMapApplet class.
 
I tried to use :
 
Iterator it = getBeanContext().iterator();
Object someObjs = null;
while(it.hasNext()) {
someObjs = it.next();
if (someObjs instanceof OpenMap) { //or OpenMapApplet for my applet
   System.out.println("this is the one I need");
}
else System.out.println("not this one");
}
 
and I can't get with BeanContext() an handler to original OpenMapApplet
class. I guess there is a way to get back to OpenMapApplet classes from a
mapbean layer, but I can't find how.
 
I need to use : getAppletContext().showDocument(...) of java Applet for
exemple. Is there anyway to do it ?
 
Thanks ;)
 
Guillaume

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Mar 24 21:08:58 2005

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:41 EDT