Google Maps for Vaadin 7

dashboard issue is resolved (sorry did not mean to bother you with it)

However, pls help us with the Google Map issue

to recap, the issues is that we are able to compile successfully (BUILD Successful) from Eclipse (Kepler) using maven plugin. We use the Goals
vaadin:resources
, then
vaadin:update-widgetset
then [b]
vaadin:compile to successfully compile. (the screen for the build config for the vaadin-compile is attached)

We are not able to build the WAR after compilation. When we do a Maven install then the following error occurs:
[/b]

INFO]
[INFO]
— maven-compiler-plugin:3.0:compile (default-compile) @ googlemaps-demo —
[INFO]
Changes detected - recompiling the module!
[INFO]
Compiling 2 source files to D:\Vikas-Material\Soft_Dump\DevEnv\Vaadin\GoogleMapsVaadin7\GoogleMapsVaadin7-master\googlemaps-demo\target\classes
[INFO]

[ERROR]
COMPILATION ERROR :
[INFO]

[ERROR]
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO]
1 error
[INFO]

[INFO]

[INFO]
BUILD FAILURE
[INFO]

[INFO]
Total time: 8.932s
[INFO]
Finished at: Wed Feb 19 01:18:53 IST 2014
[INFO]
Final Memory: 9M/21M
[INFO]

[ERROR]
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project googlemaps-demo: Compilation failure
[ERROR]
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR]
→ [Help 1]

when we look at the build configuration - the JRE 7 is attached.

our question is how to make a WAR from the Demo Application, once compilation (vaadin:compile) is completed successfully.

Vikas

sorry forgot the screen (referred in the last post).
Vikas
13457.jpg

There should’n be need to run vaadin:compile separately. Just check out the root project (consisting of
googlemaps
and
googlemaps-demo
) and do
mvn clean install
for it. If you’re having problems with Eclipse pluging, I recommend trying command line Maven.

Also, now that I look again on your posts: you’re saying you’re running JRE instead of JDK - just as Maven suggests. How about installing a JDK and then trying to compile the project?

i am gettng followng message on screen while add googlemap add one under my vaadin application.
message :
Widgetset does not contain implementation for com.vaadin.tapio.googlemaps.GoogleMap. Check its component connector’s @Connect mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions.

please help me out over here

Have you compiled your widgetset?

0.8.0 is out - grab it, break it and whine in this thread! I had to restructure the project in order to keep it maintenanceable so if you just update from older version to this, you’ll have to update your classpaths.

Hi.

Is it possible to user other tiles than Google’s standard tile? For example Open Street Map Tile layer…

Yeah, KML layer support recently added makes it possible to use Open Street Map layers too

Hi,
I’m working with Vaadin 7 and googlemaps-0.8.0.jar but a get this error:

com.vaadin.server.ServiceException: java.lang.NoSuchMethodError: com.vaadin.tapio.googlemaps.GoogleMap.addMarker

I’m working with Eclipse and I have the imports, including : import com.vaadin.tapio.googlemaps.client.overlays.GoogleMapMarker;

¿Any suggestions? Thanks.

It definitely has that kind of method so something weird is going on. Care to share the full stack trace and the lines of code that cause the exception?

Hi,

I need to plot points (lat / long) within an overlay in Google Maps.

its possible using the Javascript google API (Geometry).

How do we plot using your Google Add-on

Regards

Vikas

Geometry library is not currently supported. Still, you can naturally draw to the map using click listeners and polygons/polylines.

Hi Tapio,

Is traffic overlay supported by Google Maps addon?

Regards,
Bernat.

Nope.

how to change the display of the
map
for
street view
? i need to add it on my project.

thank you very much.

Hi Tapio,
I have managed to integrate your google map plug-in into our application.

A strange thing happens in your demo. When I changes the lat long values –
googleMap.addMarker(“DRAGGABLE: Paavo Nurmi Stadion”, new LatLon(19.0177, 72.8562), true, “VAADIN/1377279006_stadium.png”);

It does not show up at all . I go the location (in India) but the marker is not there.

Am I missing something ?

Currently that can’t be changed from server-side; user has to manually drag the peg man to the place he wants to show on the street view. I’ll add this feature to the wanted features list, hopefully will be in the next release.

Seems to work for me; care to share your app so that I can check what goes wrong?

sorry, my own mistake, works now.

i need to ask another question.

Suppose we have an array of points that make the corners of the polygon, which is an overlay into the google map.

We need to plot points inside the polygon / overaly, and we know the latitude / longitude of the points.

how do we check that the points are inside / outside the polygon. (somehting like the Google API Geometry Library - function contains).

Vikas

Geometry API is not currently supported. But I guess it would be quite easy to add support for it as an extension.

Does the Google Maps add-on send any data to Google except for getting the tiles? Like marker locations etc. ?

This is strictly forbidden in my organization so I need to know before using this add-on.