Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-11 Thread Luciano Broussal
Thread closed and resolved! I like to put that because some thread have plenty of answers but you sometime don't know if it has a solution ;) Maybe it would be a suggestion to google forum developpers to had a feature to have the capability to mark the state of the thread (open, resolved , )

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-11 Thread Luciano Broussal
Hi Eric, Adam, thanks for your responses. getPeer() rocks perfectly! Thanks Luciano On 11 jan, 00:44, Eric Ayers wrote: > Try the getPeer() method on MapWidget > > On Sat, Jan 10, 2009 at 2:14 PM, Luciano Broussal < > > > > luciano.brous...@gmail.com> wrote: > > > hum, > > > the real underl

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Adam T
or if there's a method as Eric mentions, use that :) //A On 11 Jan, 00:48, Adam T 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.

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Adam T
.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)/

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Eric Ayers
Try the getPeer() method on MapWidget On Sat, Jan 10, 2009 at 2:14 PM, 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 h

Re: Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Luciano Broussal
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 wrote: > Hi all and happy new year to all! > > I

Google Maps 1.0 Library access to native underlying GMap2 object ...

2009-01-10 Thread Luciano Broussal
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 java