Google maps and GWT 2.8

672 views
Skip to first unread message

Montasir Asaira

unread,
Mar 1, 2018, 1:11:32 PM3/1/18
to GWT Users

I need to integrate my GWT 2.8 application with Google Maps. How do you suggest I do this?


Unfortunately, the Google Maps v3 gwt wrapper and branflake2267's GWT-Maps-V3-Api are incompatible with GWT 2.8, also they are not maintained anymore.


Do I really need to connect to the Google Maps Javascript API through JSInterop? The beauty of GWT is in coding directly in Java!


Regards,

Jens

unread,
Mar 1, 2018, 3:54:12 PM3/1/18
to GWT Users

Do I really need to connect to the Google Maps Javascript API through JSInterop?


Seems so if there are no other working solutions. But you only need to expose the JS APIs you actually need through JsInterop, and not everything.

 

The beauty of GWT is in coding directly in Java!


That is what you get with JsInterop. GWT does nothing else internally to allow you to call browser APIs through Java.

-- J.

Lars

unread,
Mar 2, 2018, 12:27:39 AM3/2/18
to GWT Users
What is the issue with branflake2267 GWT-Maps-V3-Api regarding 2.8? Because we are using it with 2.8.2 without problems (but only for some basic map features)...
For sure in general an automatic jsinterop wrapper (using the google maps exports or the typescript mappings) would be very nice :-)

Thomas Broyer

unread,
Mar 2, 2018, 8:32:02 AM3/2/18
to GWT Users


On Friday, March 2, 2018 at 6:27:39 AM UTC+1, Lars wrote:
What is the issue with branflake2267 GWT-Maps-V3-Api regarding 2.8? Because we are using it with 2.8.2 without problems (but only for some basic map features)...
For sure in general an automatic jsinterop wrapper (using the google maps exports or the typescript mappings) would be very nice :-)

Edu

unread,
Mar 15, 2018, 10:11:58 AM3/15/18
to google-we...@googlegroups.com
I just tried that way but the generator ends with a NPE...
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-tool...@googlegroups.com.
> To post to this group, send email to google-we...@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages