HI, I try to initiate a map v3 in a gwt application but the map is never shown...any thinking?! this is the code I tryed as last, more simple cant be...
@Override public void onModuleLoad() { showView(RootPanel.get().getElement()); } private native void showView(Element elementMap) /*-{ var center = new $wnd.google.maps.LatLng(40.729884, -73.990988); var mapOptions = { center: center, zoom: 14, mapTypeId: $wnd.google.maps.MapTypeId.ROADMAP }; var map = new $wnd.google.maps.Map(elementMap, mapOptions); }-*/; I have added the script tag in the .html file <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?&sensor=false"> </script> but noting is shown in the browser... any help?! Its very interesting when I try to add a panorama view var panoramaOptions = { position: center, pov: { heading: 34, pitch: 10, zoom: 1 } }; var panorama = new $wnd.google.maps.StreetViewPanorama(elementStreetView, panoramaOptions); map.setStreetView(panorama); I was geting javascript exp: Incorect value for property <position> (40.729884, -73.990988) tnx -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.