Re: Using native methods in a JavascriptObject class

2011-04-21 Thread Alexandre Ardhuin
This test case shows you how to do : http://code.google.com/p/gwt-google-apis/source/browse/trunk/ajaxloader/ajaxloader/test/com/google/gwt/ajaxloader/client/ClientLocationTest.java Alexandre 2011/4/16 muggs muggs...@gmail.com I'm currently trying out my first gwt app with gwt-map library. I'm

Re: Using native methods in a JavascriptObject class

2011-04-21 Thread bear-z
Why are you try to get this from native javascript. Try to implement this, using gwt objects. You can insert gwt-map js from the normal view, not from EntryPoint. Here code example: public MapRootView() { Maps.loadMapsApi(, 2, false, new Runnable() {

Using native methods in a JavascriptObject class

2011-04-18 Thread muggs
I'm currently trying out my first gwt app with gwt-map library. I'm having problem accessing getLatitude() and other similar methods in ClientLocation class. I'm new to gwt and needless to say JavaScriptObject, I have tried asking in StackOverflow.com and experts- exchange.com but unfortunately I