GWT + Google Maps API v3 [英] GWT + Google Maps API v3

查看:117

google-apis / downloads / detail?name = gwt-maps-3.8.0-pre1.ziprel =noreferrer> here ,但它仍处于预发布状态。



有关详情,请参阅此错误


I need Google Maps API v3 calls in my GWT Project, more specifically an Autocomplete-Feature for Places like in Google-Maps and the DirectionServices.

We already tried 2 approaches to get v3 access, but none was satisfying:

  1. Using the GWT SuggestionBox Widget + Geocoder suggestions. This solution is very slow and even worser, the constraints you can put on the suggested Places is just country codes (e.g. "uk") and, even worse, it seems to be not working.

  2. Google Maps API v3 Wrapper for GWT done by branflake2267. There seems to be a conflict between the wrapper and the already existing (older) GWT Google Maps API lib. When one tries to remove the Google GWT-maps-api from the project, severe changes would have to be made, since the structure of the API seems different (some Classes are not within the Wrapper).

Does somebody maybe had a similar problem and a solution for this? How can I get the Google Maps V3 API working in my GWT project?

Thank you very much guys for any help on this!

解决方案

There is an official port of Maps v3 supported by Google which can be found here, but it is still in pre-release.

For more info, look at the comments of this bug.

这篇关于GWT + Google Maps API v3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆