On Monday, November 26, 2012 6:08:20 PM UTC-2, Deepak Singh wrote:
Hi All,--I am using gwt-maps.jar for integrating maps with our application.I am following the linkGWT 2.5 versionCode:Maps.loadMapsApi("", "2", false, new Runnable() {@Overridepublic void run() {System.out.println("YatrafinderDevEnv.onModuleLoad().new Runnable() {...}.run()"); LatLng cawkerCity = LatLng.newInstance(39.509, -98.434);MapOptions mo = MapOptions.newInstance();final MapWidget map = new MapWidget(cawkerCity, 2, mo);map.setSize("100%", "100%");// Add some controls for the zoom levelmap.addControl(new LargeMapControl());// Add a markermap.addOverlay(new Marker(cawkerCity));// Add an info window to highlight a point of interestmap.getInfoWindow().open(map.getCenter(), new InfoWindowContent("World's Largest Ball of Sisal Twine"));RootPanel.get("paymentInfoDiv").add(map); }});I am getting exception while invoking MapWidget.ExceptionInitializer exception.I believe this library does not work with GWT 2.5Pls guide me here.--
Deepak Singh
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Hbo4dtcuHP0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment