or if there's a method as Eric mentions, use that :)
//A

On 11 Jan, 00:48, Adam T <adam.t...@gmail.com> wrote:
> .....possibly through a JSNI method - pass the WidgetMap object in as
> a parameter and then return the field.  I seem to recall doing
> something similar with something else, but can't find my code, i.e.
> something like the following might work:
>
> public native JavaScriptObject getGMap2(WidgetMap map)/*-{
>     return m...@com.google.....widgetmap::jsoPeer;
>
> }-*/;
>
> Good Luck!
>
> //Adam
>
> On 10 Jan, 20:14, Luciano Broussal <luciano.brous...@gmail.com> wrote:
>
> > hum,
>
> > the real underlying Gmap2 object is her into the WidgetMap object
>
> >  /* Reference to GMap2 object. */
> >   private final JavaScriptObject jsoPeer;
>
> > do you have nay idea how i can access this object ....
>
> > Thanks
>
> > On 10 jan, 20:07, Luciano Broussal <luciano.brous...@gmail.com> wrote:
>
> > > Hi all and happy new year to all!
>
> > > I'm using the Google Maps 1.0 Library and need to access the
> > > $wnd.GMap2 defined into the MapImpl.class
>
> > > Is ther any tip to access this object since its java security privacy
> > > is friendly and there is no getter available into the MapWidget
> > > returning the native javascript Object i wish to access ...
>
> > > I did try  to reference  directly $wnd.GMap2 in my native method which
> > > need the map without success.
>
> > > Any help is welcome.
>
> > > Best regards.
>
> > > Luciano
> > > --http://www.gwtwindowmanager.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to