Module: ol/format/GPX

ol/format/GPX


Classes

GPX

Type Definitions

GPXAuthor{Object}

Properties:
Name Type Description
name string | undefined

名称

email string | undefined

电子邮件

link GPXLink | undefined

链接

GPXCopyright{Object}

Properties:
Name Type Description
author string | undefined

作者

year number | undefined

年份

license string | undefined

许可证

GPXLink{Object}

Properties:
Name Type Description
text string | undefined

文本

type string | undefined

类型

GPXMetadata{Object}

Properties:
Name Type Description
name string | undefined

name

desc string | undefined

描述

author GPXAuthor | undefined

作者

link GPXLink | undefined

链接

time number | undefined

时间

keywords string | undefined

关键词

bounds Array.<number> | undefined

边界

extensions Object | undefined

扩展

LayoutOptions{Object}

Properties:
Name Type Description
hasZ boolean | undefined

包含Z值。

hasM boolean | undefined

包含M值。

Options{Object}

Properties:
Name Type Description
readExtensions function | undefined

用于处理 extensions 节点的回调函数。为防止内存泄漏,此回调函数不得存储对节点的任何引用。注意 extensions 节点在 GPX 1.0 中不允许使用。此外,只能处理来自 wptrtetrkextensions 节点,因为它们直接映射到要素。

ReadExtensions()