Hi Dieter,

There is an example to:
https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/info/advanced

Thijs

On 22-3-2013 9:10, Dieter Tremel wrote:
Hello,

I would like to show an info window on clicking on a map marker with
detailed information about an entity, including links and so on. I coded
a special panel for this.

I think therefor I should use the Constructor

public GInfoWindow(GLatLng latLng, Component content)

As I read from the Code

       this.content = "document.getElementById('" + markupId + "')";
       contentIsNode = true;

only the id of the component is used and the placement in the window is
done by some javascript, referencing the id in a json structure.

As I didn't find an example and i do not understand where the component
should be rendered in fact, I ask here. Should there be one panel
supported with data by a model of the entity, rendered somehow hidden in
another place?

Any hint for way to do it or a solution welcome.

Thank You
Dieter Tremel


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to