smallufo wrote:
I start to understand.
I can confirm that the maps are clickable on my computer.
Also that sometimes some lines are not drawn. On my computer I get the
impression, that it is sometimes the lines going north, that are now drawn.
I have not gone into deep calculation, but could it be that the lines
extend the shown map very far?


Yes , because I don't know the map border.
I always draw the line to 10 degrees. It will go very far if zoomlevel is
large...

Maybe restricting the endpoints somewhere close to the border of the map
might help.
wicket.contrib.gmap.event.LoadListener might help figuring out the
coordinates of the border of the shown map.


Thank you
I'll look into it.

The class GMap2 has a bounds property, with the coordinates of the bounds of the map.
These are updated on any XMLHttpRequest (aka Ajax Request)

The Webapp can't calculate these coordinates itself, it relies on what Google's GMap2 JavaScript code comes up with.

Using the LoadListener just initiates such an request right when the map is loaded.

Also you can look at wicket.contrib.examples.gmap.listen.HomePage in the examples.

mf

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to