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,
                center: latlng,
                mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        var map = new google.maps.Map(div, myOptions);
}-*/;

But I always get the error that "google" isn't known. I new that I ave
to include the script-tag. I tried to put it in the xml-File or the
html-File of my GWT2.0 project, but it doesn't work, Does anyone know
who to setup my project to use the Google Maps API V3 with JSNI???
I hope someone could help me...
Thank's a lot
Regards, Joe

-- 
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.

Reply via email to