- Source:
- parser.jsdoc, line 1
Classes
TypeDefs
-
GMLOptions
-
- Source:
- objectliterals.jsdoc, line 79
Properties:
Name Type Description curve
boolean | undefined Write gml:Curve instead of gml:LineString elements. This also affects the elements in multi-part geometries. Default is `false´. This only applies to GML version 3.
extractAttributes
boolean | undefined Should we extract attributes from the GML? Default is `true´.
featureNS
string | undefined The feature namespace. If not set it will be automatically configured from the GML.
featureType
Array.<string> | string | undefined The local (without prefix) feature typeName(s).
geometryName
string | undefined Name of geometry element. Defaults to `geometry´. If null, it will be set on <read> when the first geometry is parsed.
multiCurve
boolean | undefined Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is deprecated in GML 3, the default is `true´. This only applies to GML version 3.
multiSurface
boolean | undefined Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is deprecated in GML 3, the default is `true´. This only applies to GML version 3.
schemaLocation
string | undefined Optional schemaLocation to use when writing out the GML, this will override the default provided.
surface
boolean | undefined Write gml:Surface instead of gml:Polygon elements. This also affects the elements in multi-part geometries. Default is `false´. This only applies to GML version 3.
readOptions
ol.parser.GMLReadOptions | undefined readOptions to use for this instance.
writeOptions
ol.parser.GMLWriteOptions | undefined writeOptions to use for this instance.
-
GMLReadOptions
-
- Source:
- objectliterals.jsdoc, line 75
Properties:
Name Type Description axisOrientation
string | undefined The axis orientation.
-
GMLWriteOptions
-
- Source:
- objectliterals.jsdoc, line 77
Properties:
Name Type Description srsName
ol.ProjectionLike The srsName to use when writing.
axisOrientation
string | undefined The axis orientation.
-
GPXOptions
-
- Source:
- objectliterals.jsdoc, line 81
Properties:
Name Type Description creator
string | undefined The creator attribute to be added to the written GPX files. Defaults to `OpenLayers´.
defaultDesc
string | undefined Default description for the waypoints/tracks in the case where the feature has no 'description' attribute. Default is 'No description available'.
extractAttributes
boolean | undefined Should we extract attributes from the GPX? Default is `true´.
extractWaypoints
boolean | undefined Extract waypoints from GPX. Default is `true´.
extractTracks
boolean | undefined Extract tracks from GPX. Default is `true´.
extractRoutes
boolean | undefined Extract routes from GPX. Default is `true´.
-
GPXWriteOptions
-
- Source:
- objectliterals.jsdoc, line 83
Properties:
Name Type Description features
Array.<ol.Feature> | ol.Feature The features to write out.
metadata
Object | undefined Metadata key/value pair with keys: name, desc and author.
-
KMLOptions
-
- Source:
- objectliterals.jsdoc, line 73
Properties:
Name Type Description dimension
number | undefined Create geometries with
dimension
dimensions. Default is 3.extractAttributes
boolean | undefined Should we extract attributes from the KML? Default is `true´.
extractStyles
boolean | undefined Should we extract styles from the KML? Default is
false
.maxDepth
number | undefined Maximum depth to follow network links. Default is 0, which means we don't follow network links at all.
trackAttributes
Array.<string> | undefined Track attributes to parse.