load
suspend fun load(data: Any, options: GpxDataSource.Companion.LoadOptions? = definedExternally): GpxDataSource(source)
Creates a Promise to a new instance loaded with the provided GPX data.
Return
A promise that will resolve to a new GpxDataSource instance once the gpx is loaded.
Parameters
data
A url, parsed GPX document, or Blob containing binary GPX data.