Uncaught TypeError: format.writeGeometry is not a function at HTMLButtonElement

Viewed 25

I would like to create a GML using openlayers to send to Geoserver to insert a new feature. While displaying writeGeometry() in console it displays the error like: Uncaught TypeError: format.writeGeometry is not a function

`var gml3 = format.writeGeometry(coords, {})`

What's wrong with this code?

0 Answers
Related