Share via


ImportGPX method

Imports data from a .gpx file to the map in MapPoint. Imported data can include latitude, longitude, metadata, waypoints, pushpins, routes, trails, search results, and more. For more information, see About importing and exporting .gpx data.

Exports data on the map to a .gpx file. Exported data from the map includes latitude, longitude, metadata, waypoints, pushpins, routes, trails, search results, and more.

Applies to

Objects: Application, MappointControl

Syntax

object.ImportGPX(FileName)

Parameters

Part

Description

Object

Required. An expression that returns an Application or MappointControl object.

FileName

Optional String. Name of the GPX file to import. If none is provided, the user is prompted to select a file.