That is true, however in the first 2 examples the marker is not added
by the user. What I meant by adding by the user is that the user
clicks a map and then the marker is added.
This is achieved in the last example, but I have another problem
there, the page does a postback.
So my question is can I do that postback somehow with ajax (so have
ajaxed actionListener on map component)?
If now, another question is, how can I maintain the view location and
zoom level of the map between postbacks?
I've used the binding and bound the map to a Map field in code behind,
but the values of lat/long and zoom are not refreshed on the postback
(remain the initial).
Thanks for the fast reply
Filip
>
http://www.mashups4jsf.com/gmaps4jsf-examples-1.1.4/pages/mapServerSi...
>
>
>
> On Fri, Dec 10, 2010 at 10:41 PM, Filip Kis <
filip....@gmail.com> wrote:
> > Hi guys...
>
> > I would like the user to be able to add the marker to the map and then
> > on push of the button submit it's location together with some other
> > form values that the user enters.
>
> > How would I go about doing that?
>
> > Thanks in advanced
>
> > Filip
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "gmaps4jsf-dev" group.
> > To post to this group, send email to
gmaps4...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
gmaps4jsf-de...@googlegroups.com<
gmaps4jsf-dev%2Bunsu...@googlegroups.com>
> > .
> Author of (The Definitive Guide to Apache MyFaces and Facelets):
http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/159...http://www.amazon.com/-/e/B002M052KY