fromString static method

GPXDocument fromString(
  1. String content,
  2. GPXOptions options
)

Create a GPX document from a string.

  • content The content of a GPX file as string.

  • options The options to customize reading.

Returns GPXDocument. An GPXDocument instance.

Throws InstantiationException. Indicates what went wrong when the instantiation was attempted.

Implementation

static GPXDocument fromString(String content, GPXOptions options) => $prototype.fromString(content, options);