# oll:GML

Creates a vector layer by parsing a GML resource.

#### Inherits from

- {oll:Vector}

#### See also

- oll namespace
- {<OpenLayers.Layer.Vector>}

Summary

oll:GML | Creates a vector layer by parsing a GML resource.
Configurable Properties |
name | {String}
url | {String}
format | {<lf:Format>} The format you want the data to be parsed with.
formatOptions | {Object} Hash of options which should be passed to the format when it is created.
Layer Types |
OGC:GML |

### Configurable Properties

### name

{String}

### url

{String}

### format

{<lf:Format>} The format you want the data to be parsed with.

### formatOptions

{Object} Hash of options which should be passed to the format when it is created.

### Layer Types

### OGC:GML

#### See also

- {oll:GML}
- {<OpenLayers.Layer.GML>}

#### WMC example

>     <Layer hidden="0" queryable="0">
>       <Server service="OGC:GML" version="3.1.1">
>         <OnlineResource xlink:href="gml.xml" xlink:type="simple" />
>       </Server>
>       <Name>GML</Name>
>       <Title>GML Layer</Title>
>     </Layer>

Used to render vector data from a variety of sources.
Namespace for OpenLayers layers.
Creates a vector layer by parsing a GML resource.