[OpenLayers-Users] How can I display a map with a position changing marker.

sasi hgnj_025 at 163.com
Tue May 12 05:11:49 EDT 2009


thank you for your reply.
Can i store the lon&lat in the mysql and deploy this information through
geoserver. And so, the brower can access geoserver and display these point.
And, are there some documents about the use of layer.refresh.


Kris Geusebroek wrote:
> 
> 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-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
> On Behalf Of sasi
> Sent: Monday, May 11, 2009 11:00 AM
> To: users at 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 at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/How-can-I-display-a-map-with-a-position-changing-marker.-tp2861920p2868140.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list