[OpenLayers-Users] Save polyline drawn in to database

truongpm truong_pham_minh at yahoo.com
Tue Feb 2 20:49:15 EST 2010


Hello, 
I want to create function that draw a polyline in to new feature class of
map and save this line in to database.
My ideal is similar with this tutorial.
http://dev.openlayers.org/releases/OpenLayers-2.8/examples/vector-formats.html

It will generate data at KML format and can use it to save to database.
I have some question:
1. In above example, the KML string generate when select line which just
draw. How could I change it to automatically when draw line?
2. Is there any other ideal about how to draw polyline and save it into
database (postgres or mysql)?
3. How to edit polyline which display from database?

Thank for your attention and sorry about my language skill. 
-- 
View this message in context: http://n2.nabble.com/Save-polyline-drawn-in-to-database-tp4505039p4505039.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list