Monday, August 31, 2015

Re: Recommended GWT Map Library?

Thanks for the reply Greg. I was seriously considering OpenLayers as well.

I think I've decided to just stick with standard Google Maps (the 3.8 api I linked above). The reason I went with this is the JavaScript documentation for the Google Maps API is very good, and I can just use native JavaScript functions to use it on top of my GWT application. Instead of searching for an up-to-date GWT option, I've decided to cut GWT out and stick with native JavaScript (called from the GWT Java code) as much as possible.

That is perhaps not optimal, but it's going to be hard for a GWT team to stay more up to date than me simply using the JavaScript API directly.

On Friday, August 28, 2015 at 3:58:40 AM UTC-4, Greg wrote:
In my projects I used mostly OpenLayers 2 with custom bindings for GWT (At the beginning I used GWT-OpenLayers but then I switched to own impl.).

OpenLayers 3 looks very nice and it's built with performance and new technologies in mind so you could check that.
Other alternative is Leaflet - very simple but maybe it will be enough for your purposes.

BTW I'm not sure but I think that gwt-google-apis were not created / are maintained by GWT Team.

On Tuesday, August 25, 2015 at 8:16:34 PM UTC+2, Kevin Workman wrote:
I've been using gwt-google-apis as a GWT wrapper of the Google Maps JavaScript API. I've been using the jar from here.

It works okay, but I'm starting a new GWT project that requires a map display, and I noticed that the jar hasn't been updated since 2012.

I'm starting a new project from scratch, so I'm in a position to start over with a new wrapper, if that's the correct way to go. I've come across GWT-OpenLayers, which looks promising, but I'm not sure how much of a change it will be from using the Google API wrapper. I've also come across branflake2267's wrapper, but that hasn't been updated in over a year.

So, my question is: what would you consider the "best" approach to displaying a map in a GWT application? Should I stick with the "official" google product? All I really need to do is display some polygons and circles on the map, but adding stuff like weather would be a really nice feature as well. Are there any libraries that I missed that are worth checking out?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment