Hi,
here is the code with the problem:
Factory f = Factory.getInstance();
if (f != null){
Geolocation geo = f.createGeolocation();
geo.getCurrentPosition(new PositionHandler(){
void onPosition(PositionHandler.PositionEvent pos)
{ <------ ERROR
if(!pos.isError()){
Position new_pos = pos.getPosition
() ;
}
}
});
}
maybe I have to change the PositionHandler.class to instance an
object!? I'm a little messy with this stuffs, anyone have this
problem? or maybe I'm not making the best way to "get a position"
Maybe you know about this Mark?
thanks for your support
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---