Re: Google Maps V3 use with the GWT (JSNI)

2010-03-25 Thread Jeff Schnitzer
I stumbled across this while doing a related search... if you haven't already figured it out, your problem is that in JSNI you need to call: new $wnd.google.maps.LatLng(...) not: new google.maps.LatLng(...) There's also a basic-but-functional GWT wrapper for maps v3 at http://code.google.

Re: Google Maps V3 use with the GWT (JSNI)

2010-03-09 Thread Joe
Thank's for the fast reply! The library for Google Maps v3 isn't finished I think and who has to be the script tag when I want to use the Javascript library with JSNI? I tried http://maps.google.com/ maps/api/js?sensor=false"> but that doesn't work?! Concerning the library for Google Maps v3

Re: Google Maps V3 use with the GWT (JSNI)

2010-03-09 Thread Eric Ayers
Some folks have started a library for Google Maps v3. You can browse some sample cod here: http://code.google.com/p/gwt-google-maps-v3/source/browse/#hg/src/com/google/gwt/maps/client >From what you describe, it looks like your app is not loading the maps API before calling this code. http://cod

Google Maps V3 use with the GWT (JSNI)

2010-03-09 Thread Joe
Hello everybody! I try to usethe Google Maps API V3 with the GWT, but it doesn't work. In a class I have the following method: public static native JavaScriptObject getMap()/*-{ ar latlng = new google.maps.LatLng(50.940872, 6.937888); var myOptions = { zoom: 15,