Hi
i recently used this version and it works perfectly with 6.7 up to 6.8.5
only you need to download the latest gwt-maps.jar file compatible with gwt 2.3.0 compiler.
I’m currently trying the app out at a cloud service (CloudFoundry) but got this error when trying to paint markers on the map:
Nov 26, 2012 1:44:13 PM com.vaadin.Application terminalError
SEVERE: Terminal error:
java.lang.NullPointerException
at org.vaadin.hezamu.googlemapwidget.overlay.BasicMarkerSource.getMarkerJSON(Unknown Source)
at org.vaadin.hezamu.googlemapwidget.GoogleMap$1.getStream(Unknown Source)
at com.vaadin.Application.handleURI(Application.java:798)
at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleURI(AbstractCommunicationManager.java:2289)
at com.vaadin.terminal.gwt.server.CommunicationManager.handleURI(CommunicationManager.java:370)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleURI(AbstractApplicationServlet.java:1099)
at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:535)
at com.example.myapp.ui.CustomApplicationServlet.service(CustomApplicationServlet.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:344)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:110)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:98)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:95)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:79)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:178)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:150)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
I’m using a custom application servlet extending AbstractApplicationServlet and
everything works fine on a local jetty or tomcat server .
Any ideas what’s wrong?
I would like to know if there is a way to differ an one-click event from a two-click event when the user clicks on the map. Is it possible yet?
I apologize if I’m doing something wrong. I’m sort of new to this forum.
Yes, I plan to migrate the add-on to Vaadin 7 and fix at least some of the known issues as soon as I find a few days to work on it. I don’t have an ETA though, so if you really need it you should contact to sales@vaadin.com.
Hello Sir,
Let me tell whether Google map Add on supports if I give Address in String format E.g: I have Address ‘45 Lawrence Ave
Lodi,07644 New Jersey, United States’ so can I find the location using this add on in vaadin
Please do not post duplicate questions. I tagged your other post for deletion.
To convert addresses to coordinates, you need to use a geocoding API - e.g.
Google has one and there should be others available. It is not related to this Vaadin add-on, and you can use it directly from the server side. Note that there are limits to how many free queries you can do per day.
Just to let you know about availability of a
Google maps add-on by Tapio Aali that supports Vaadin 7 and maps API v3. It’s not a upgrade to this add-on but instead a full rewrite, so the API is a bit different. Most of the features are still there, though.
The work was partially sponsored by several companies, but the add-on is still available under Apache 2 license.
This means that there will probably be no (unsponsored) updates to the old add-on.
Need urgent help. I used this widget for number of applicaitons and now its not loading the map since today morning. I just check your online demo and its also not working for me. Appreciate your help to solve this matter.
As mentioned by Fulvio Google has deprecated the Google Maps API v2, which this add-on requires. Please migrate to the new add-on ASAP. More info: https://vaadin.com/forum#!/thread/3802318