The Geography Markup Language (GML) is an XML grammar used to express geographic features. It is an OGC standard and is very well accepted by the GIS community.
In this recipe, we will show you how to create a vector layer from a GML file.
You can find the necessary files in the GML format attached to the source code of this book on the Packt Publishing website.
divelement to hold the map:
<!-- Map DOM element --> <div id="ch3_gml" style="width: 100%; height: 100%;"></div>