Hi, I'm using a Vector layer with BBOX strategy and WFS protocol with a layer.refresh({force:true}) to reload the data The refresh I perform every 5 seconds (with setInterval)
So I don't know which format the lonlat is provided by the JAVA server but WFS or GML orso would be the easiest to work with I guess. Hope this helps you a bit. Cheers KRis -----Original Message----- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of sasi Sent: Monday, May 11, 2009 11:00 AM To: users@openlayers.org Subject: [OpenLayers-Users] How can I display a map with a position changing marker. After i displayed a map from the geoserver, i want to add a marker whose position is changing. The position information(lat,lon) comes from the web server(JAVA) and it changes per second. How can I realize it? What is the code in the Brower and the web server? Or, which technology should i use? Ajax, HTTPRequest, or the other? -- View this message in context: http://n2.nabble.com/How-can-I-display-a-map-with-a-position-changing-ma rker.-tp2861920p2861920.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users