Hi,

Why do you not put all your points in one geojson- or gml-file and send this
to the client. Then you need only one request and OpenLayers can add the
points in one step to your vector layer.

Arnd 

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von frknml
Gesendet: Samstag, 5. September 2009 10:14
An: [email protected]
Betreff: [OpenLayers-Users] Dynamically add vector layer from database



 Hi everybody;

I'm new for openlayers and i need your helps.My problem is i have to add
vector layer which filled with points which comes from database .What is
your suggestions how can i get data from database and create a
vectorlayer?One way is making an ajax request to my servlet and servlet
returns datas as json or xml format to my client side and adding this points
one by one to my vector layer, this is an inefficient way please show me the
possible way or ways.

Faruk Namlı
--
View this message in context:
http://n2.nabble.com/Dynamically-add-vector-layer-from-database-tp3584364p35
84364.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to