Dear All ..
First I Apologize since i'm sure this question is very nubies.
I already read some samples at my "examples" directory, but since I'm not a java nor a html guy it's hard for me to understand the sample codes without tons of comments in it.

Now,
I have a HTML with map displayed.
Under it , I want to have a form layout :
<div id=thedisplay>
   My Name is : aaa
   Latitude : bbb
   Longitude : ccc
</div>
<div id=theform>
   <form>
       <input type="hidden" name="myName" value=myNameV />
       <input type="hidden" name="myLat" value=myLatV />
       <input type="text" name="myLon" value=myLonV />
       <input type="hidden" name="myGeom" value=myGeomV />
   </form>
</div>

My Question is :
How to make every time a user do a click on an object (Layer="mymap:points", DataSource PostGis, WMS by GeoServer), openlayers will : 1. Replace myNameV, myGeomV with label and the_geom values of the clicked object
2. Replace myLatV, myLonV, With Latitude and Longitude taken from the_geom
3. Replace and display-refresh of aaa,bbb,ccc with myNameV, myLatV, myLonV.

Kindly please give me any of your enlightments.

Sincerely
-bino-
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to