简体   繁体   中英

how to save features in openlayers

Using openlayers, I want to add new features to a vector layer and then save that feature in POSTGIS DB. I want to achieve this functionality using the save button which comes along with openlayers download. Plz provide some sample code.

Have you read this tutorial? It works, but this way you will need a geoserver between openlayers and postgis, I don't know if it is possible without geoserver.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM