new module:org/locationtech/jts/io/OL3Parser(geometryFactory, olReference)
OpenLayers 3 Geometry parser and writer
Parameters:
Name | Type | Description |
---|---|---|
geometryFactory |
GeometryFactory | |
olReference |
ol |
Methods
read(geometry) → {Geometry}
Parameters:
Name | Type | Description |
---|---|---|
geometry |
ol.geom.Geometry |
Returns:
- Type
- Geometry
write(geometry) → {ol.geom.Geometry}
Parameters:
Name | Type | Description |
---|---|---|
geometry |
Geometry |
Returns:
- Type
- ol.geom.Geometry