More than one click over the final image on the browser?
punkish at EIDESIS.ORG
Wed Apr 12 10:19:14 EDT 2006
raffle peter wrote:
> accomplishing this i need to click more than once
> in the final image. The browser should send the
> request to the webserver after clicking some button,
> not on the final image.
> Any detail explanation on the topic will be highly
The reason the browser sends the request on clicking on an image is
because that is what you are asking it to do. You are doing so by
possibly embedding the image in a form, or by trapping the mouseclick
In your case, what you want to do is to modify that behavior. On
all the mouseclicks. As the user clicks around on the map, the map
coordinates are pushed into the Js array. Then, when the user is ready
the see the results of all that happy clicking, have her click on a
submit button, and send the Js array back to the server along with the
rest of the request.
Hope that is clear. When you implement that successfully, be sure to
share it with the rest of the list... someone else will benefit from
More information about the mapserver-users