GWT and Google Maps API

2012-07-24 Thread nesrine doghri
Hi , I'm trying this project
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoGWTMap/#DemoGWTMaps%2Fwar%2Fdemogwtmaps%2Fgwt%2Fstandard%2Fimages%253Fstate%253Dclosed
and I got this error
01:32:29.406 [ERROR] [maps] Uncaught exception escaped
java.lang.ExceptionInInitializerError: null
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:253)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:284)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:235)
at com.project.client.Demo1.buildUi(Demo1.java:45)
at com.project.client.Demo1.access$0(Demo1.java:41)
at com.project.client.Demo1$1.run(Demo1.java:35)
at
com.google.gwt.ajaxloader.client.ExceptionHelper.runProtected(ExceptionHelper.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a
required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.google.gwt.maps.client.impl.MapImpl.(MapImpl.java:45)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:253)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:284)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:235)
at com.project.client.Demo1.buildUi(Demo1.java:45)
at com.project.client.Demo1.access$0(Demo1.java:41)
at com.project.client.Demo1$1.run(Demo1.java:35)
at
com.google.gwt.ajaxloader.client.ExceptionHelper.runProtected(ExceptionHelper.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at
com.google.gwt.maps.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.java:277)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)
at
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:141)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)
at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.google.gwt.maps.client.impl.MapImpl.(MapImpl.java:45)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:253)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:284)
at com.google.gwt.maps.client.MapWidget.(MapWidget.java:235)
at com.project.client.Demo1.buildUi(Demo1.java:45)
at com.project.client.Demo1.access$0(Demo1.java:41)
at com.project.client.Demo1$1.run(Demo1.java:35)
at
com.google.gwt.ajaxloader.client.ExceptionHelper.runProtec

Re: GWT and Google Maps API

2010-11-09 Thread StrongSteve
Sure, I have already taken a deep look at the API libraries and even
experimented a little bit.

Currently I am able to create a route between two addresses and
display this route as a polyline.
This polyline has n vertexes.

Now I am pondering about how to move a graphical object along this
polyline at a given speed.

Any advices?

Thanks in Advance!
Stefan

On 8 Nov., 22:18, Eric Ayers  wrote:
> Have you seen the Google API libraries for 
> GWThttp://code.google.com/p/gwt-google-apis
>
>
>
> On Mon, Nov 8, 2010 at 2:27 PM, StrongSteve  wrote:
> > Hello Group,
>
> > I am currently doing some basic research for an upcoming project of
> > mine.
>
> > Basically I want to simulate a large number of driving cars on Google
> > Maps.
> > The way I imagine it right now is that I want to define a startpoint
> > and an endpoint. Either by GPS Coordinates (xx° yy' zz'') or by an
> > address (f.e. City, Street, Number) for every car.
> > Then I would like Google Maps to calculate the route between the start
> > and endpoint. (Preferably the shortes route)
> > Last but not least a graphic symbol - at least a colored dot - should
> > simulate the driving of a vehicle from the start point to the end
> > point. This should occur in realtime and in addition simulated at lets
> > say 500% of the normal speed. Some kind of a simulation mode.
> > Of course the dot - the car - should move along the streets and not
> > directly from start to end.
>
> > Is this possible using GWT and the Google Maps API?
> > Can anyone point out best practices, maybe even existing samples?
>
> > Thanks in Advance for both your time and your help!
>
> > Greetings
> > Stefan
>
> > --
> > 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-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Eric Z. Ayers
> Google Web Toolkit, Atlanta, GA USA

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



Re: [Basic] GWT and Google Maps API

2010-11-08 Thread Eric Ayers
Have you seen the Google API libraries for GWT
http://code.google.com/p/gwt-google-apis

On Mon, Nov 8, 2010 at 2:27 PM, StrongSteve  wrote:
> Hello Group,
>
> I am currently doing some basic research for an upcoming project of
> mine.
>
> Basically I want to simulate a large number of driving cars on Google
> Maps.
> The way I imagine it right now is that I want to define a startpoint
> and an endpoint. Either by GPS Coordinates (xx° yy' zz'') or by an
> address (f.e. City, Street, Number) for every car.
> Then I would like Google Maps to calculate the route between the start
> and endpoint. (Preferably the shortes route)
> Last but not least a graphic symbol - at least a colored dot - should
> simulate the driving of a vehicle from the start point to the end
> point. This should occur in realtime and in addition simulated at lets
> say 500% of the normal speed. Some kind of a simulation mode.
> Of course the dot - the car - should move along the streets and not
> directly from start to end.
>
> Is this possible using GWT and the Google Maps API?
> Can anyone point out best practices, maybe even existing samples?
>
> Thanks in Advance for both your time and your help!
>
> Greetings
> Stefan
>
> --
> 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-tool...@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.
>
>



-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

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



[Basic] GWT and Google Maps API

2010-11-08 Thread StrongSteve
Hello Group,

I am currently doing some basic research for an upcoming project of
mine.

Basically I want to simulate a large number of driving cars on Google
Maps.
The way I imagine it right now is that I want to define a startpoint
and an endpoint. Either by GPS Coordinates (xx° yy' zz'') or by an
address (f.e. City, Street, Number) for every car.
Then I would like Google Maps to calculate the route between the start
and endpoint. (Preferably the shortes route)
Last but not least a graphic symbol - at least a colored dot - should
simulate the driving of a vehicle from the start point to the end
point. This should occur in realtime and in addition simulated at lets
say 500% of the normal speed. Some kind of a simulation mode.
Of course the dot - the car - should move along the streets and not
directly from start to end.

Is this possible using GWT and the Google Maps API?
Can anyone point out best practices, maybe even existing samples?

Thanks in Advance for both your time and your help!

Greetings
Stefan

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