Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Google Maps Integration
icon5.gif  Google Maps Integration [message #1125243] Fri, 04 October 2013 05:56 Go to next message
Alex B is currently offline Alex B
Messages: 3
Registered: October 2013
Junior Member
Hi,
I'm a newbie with Eclipse RAP & RCP. So I want to develope a webapp that uses Google Maps. Can anyone help me? Confused
Re: Google Maps Integration [message #1125313 is a reply to message #1125243] Fri, 04 October 2013 07:35 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1794
Registered: July 2009
Senior Member
Hi Alex,
welcome to Eclipse RAP. Here is an example that uses Google Maps in RCP
and RAP [1]. Source code [2].

[1]
http://eclipsesource.com/blogs/2010/12/18/a-new-google-maps-widget-for-swt-and-rap/
[2] https://github.com/eclipsesource/rap-gmap
HTH,
Ivan

On 10/4/2013 2:24 PM, Alex B wrote:
> Hi,
> I'm a newbie with Eclipse RAP & RCP. So I want to develope a webapp
> that uses Google Maps. Can anyone help me? :?

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Google Maps Integration [message #1125324 is a reply to message #1125313] Fri, 04 October 2013 07:48 Go to previous messageGo to next message
Alex B is currently offline Alex B
Messages: 3
Registered: October 2013
Junior Member
Thanks for your answer Ivan!
I try this example, but I've received this message error when I launch application as "RAP application": "The alias '/rwt-resources' is already in use."

Can you help me?
Re: Google Maps Integration [message #1125372 is a reply to message #1125243] Fri, 04 October 2013 08:49 Go to previous messageGo to next message
Alex B is currently offline Alex B
Messages: 3
Registered: October 2013
Junior Member
I solve this problem by removing all "demo" & "example" bundels from my "RAP application" configuration running.
So now I don't see any error messages but I can't see the example Sad

When I open the browser at URL 127.0.0.1:8080/rap, I see:

HTTP ERROR: 404
Problem accessing /rap. Reason:

ProxyServlet: /rap


--------------------------------------------------------------------------------
Powered by Jetty://


So, I see that in "resources" folder of my project there is a Gmap.html file.
Probably wrong URL?
Re: Google Maps Integration [message #1128158 is a reply to message #1125372] Mon, 07 October 2013 07:55 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 382
Registered: July 2009
Senior Member
Hi.

One possible cause of this is simply that the RAP application needs
longer to start than the browser. In that case simply wait a few seconds
and hit F5. However, in case of the gmaps demo things are a bit
complicated since it was designed to be able to run both in RCP or RAP.

Somehow the RAP specific launch config was removed at one point, so I'm
not sure what you use to launch the demo. I added the launch config
again, so now you should just have to check out the
com.eclipsesource.widgets.gmaps.demo bundle and start
GMapsDemoRAP2_2.launch.

Greetings,
Tim

Am 04.10.2013 14:49, schrieb Alex B:
> I solve this problem by removing all "demo" & "example" bundels from my
> "RAP application" configuration running.
> So now I don't see any error messages but I can't see the example :(
> When I open the browser at URL 127.0.0.1:8080/rap, I see:
>
> HTTP ERROR: 404
> Problem accessing /rap. Reason:
> ProxyServlet: /rap
>
>
> --------------------------------------------------------------------------------
>
> Powered by Jetty://
>
> So, I see that in "resources" folder of my project there is a Gmap.html
> file.
> Probably wrong URL?

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Client error: TypeError
Next Topic:Client error: TypeError: ObjectManager.getEntry(...) is undefined
Goto Forum:
  


Current Time: Wed Aug 27 21:27:30 EDT 2014

Powered by FUDForum. Page generated in 0.02002 seconds