wicket-contrib-gmap2
Yet another wicket GMap project.
Documentation
Features:
There can be more than one GMap on a page.
Components may become controls of the GMap. Any Component capable of
firing events can become a controller. The controls are executed
whenever the named event is fired by the Component. Currently ZooOut,
ZoomIn, PanDirection, AddOverlay and OpenInfoWindow are implemented.
Listeners may be added to the GMap. These are called whenever the GMap
fires the corresponding Events. So far a ClickListener and a
MoveEndListener are implemented. This allows to dynamically update any
Component and the GMap itself.
The events and the controls always do a round trip from the browser to
the server and back, this way any call can be intercepted and controlled
on the server side. The network traffic is kept down, since all needed
JavaScript functions are defined in a js-file. So only arguments have to
be transfered.
Status:
Consolidating.
With the features in mind this project basically cut right through any API ahead of it
without taking care of any design principles. So if you ever find the
time to look into the code, give feedback! It is feared that this project is in
need for a lot of feedback.
Last but not least: Installation.
There is no release currently planed. The code compiles against the
current HEAD of wicket. So get wicket from svn as described in
http://incubator.apache.org/wicket/building-from-svn.html first.
Even though this project relies on the well maintained structure of wickets pom.xml
files, it is suficient to have wicket-1.3.0-incubating-SNAPSHOT.jar present in the local mvn repository.
If the examples don't run consider getting a recent wicket SNAPSHOT.
Get the source:
svn co
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2
svn co
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2-examples
This should do the install and get a jetty started for the examples:
mvn -f wicket-contrib-gmap2/pom.xml install
mvn -f wicket-contrib-gmap2-examples/pom.xml jetty:run
Now browse to:
http://localhost:8080/wicket-contrib-gmap2-examples/gmap/
and click around.
If things don't work, don't hesitate to drop a line to the wicket-user mailing list or, even better. Place a bugreport.
http://wicketstuff.org/jira/secure/Dashboard.jspa
Latest release
The latest release is available at
Project maintainers
Martin Funk: funkattack@users.sourceforge.net
SVN Repository
The SVN repository of this project is available at