On Thursday, September 20, 2012 9:56:28 AM UTC-7, Deepak Singh wrote:
Any guidance pls..--On Thu, Sep 20, 2012 at 1:39 AM, Deepak Singh <deepaks...@gmail.com> wrote:
Could not resolve the exception mentioned.Then i copied PlaceSearchMapWidget.java and tried to use. But could not create the widget asPlacesService placeService = PlacesService.newInstance(attrContainer, mapWidget); And i could not understand 'attrContainer' parameter.My requirement is simple,I have latitude and longitude. I need to search places within 2 kms area of this latlong.Pls let me know which kind of class will be useful for me ?RegardsDeepak--On Thu, Sep 20, 2012 at 1:36 AM, Deepak Singh <deepaks...@gmail.com> wrote:
Now, I added gwt-ajaxloader.jarIt was able to run in dev mode.Now i run the following codeMapOptions mo = MapOptions.newInstance();LatLng ll = LatLng.newInstance(Double.parseDouble(latitude), Double.parseDouble(longitude)) ; mo.setCenter(ll);mo.setZoom(4);mo.setMapTypeId(MapTypeId.HYBRID); MapWidget mw = new MapWidget(mo);// enquiryDiv.appendChild(mw.getElement()); com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client. impl.Impl::apply(Ljava/lang/ Object;Ljava/lang/Object; Ljava/lang/Object;)([ JavaScript object(6222), JavaScript object(6221), JavaScript object(6296)]): $wnd.google is undefined --On Thu, Sep 20, 2012 at 1:02 AM, Deepak Singh <deepaks...@gmail.com> wrote:
I added jar file APIs_Google_map3.8.0beta.jar to my classpath.Added this to lib also.Included<inherits name='com.google.gwt.maps.Apis_Google_Maps' /> to my *.gwt.xml When i run the app in local, i get the following exceptionUnable to find 'com/google/gwt/ajaxloader/AjaxLoader.gwt.xml' on your classpath; ThanksDeepak--On Wed, Sep 19, 2012 at 11:00 AM, Brandon Donnelson <branfl...@gmail.com> wrote:
Are you looking for the PlaceServiceSearchRequest? If so, I added and example map in the live demo maps.BrandonOn Tuesday, September 4, 2012 7:16:38 AM UTC-7, Deepak Singh wrote:I want to use this library.I have lattitude and longitude with me and i need to show the location on the map.Also, need to find the nearest locations based on lattitue/longitude.
I went through the docs but could not understand the right class to be used.Can you give me some sample code ?ThanksDeepakOn Fri, Aug 31, 2012 at 6:52 PM, Thai Ha Duong <duong...@gmail.com> wrote:I have the same question please any one can help?To view this discussion on the web visit https://groups.google.com/d/ms
On Friday, 31 August 2012 12:47:02 UTC+1, Jonas wrote:I'm using the GWT Maps V3 Api from https://github.com/branflake22--67/GWT-Maps-V3-Api
After finding directions on the map, I'm trying to clear the previous ones before finding new.
In DirectionsRenderer:
/**
* This method specifies the map on which directions will be rendered. Pass null to remove the directions from the map.
* @param mapWidget
*/
public final void setMap(MapWidget mapWidget) {
setMapImpl(mapWidget.getJso());
}
private final native void setMapImpl(MapImpl map) /*-{
this.setMap(map);
}-*/;
I'm trying to pass:
directionsDisplay.setMap(null);
which results in NPE:
Caused by: java.lang.NullPointerException: null
at com.google.gwt.maps.client.services.DirectionsRenderer$.setM ap$(DirectionsRenderer.java:50 )
Anyone used this API and knows how to clear directions from the map widget?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.g/google-web-toolkit/-/emLbrk1 .GnloJ
To post to this group, send email to google-we...@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 .
--
Deepak Singh
--To view this discussion on the web visit https://groups.google.com/d/
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.msg/google-web-toolkit/-/ .r8sXg55osSoJ
To post to this group, send email to google-we...@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 .
Deepak Singh
Deepak Singh
Deepak Singh
--
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/-/YC42P9rL5bkJ.
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