PurplePen.GpxFile.GpxFile C# (CSharp) Method

GpxFile() public method

public GpxFile ( EventDB eventDB, CoordinateMapper coordinateMapper, GpxCreationSettings settings ) : System
eventDB EventDB
coordinateMapper CoordinateMapper
settings GpxCreationSettings
return System
        public GpxFile(EventDB eventDB, CoordinateMapper coordinateMapper, GpxCreationSettings settings)
        {
            this.eventDB = eventDB;
            this.settings = settings;
            this.coordinateMapper = coordinateMapper;

            if (coordinateMapper == null)
                throw new Exception("The map file must be an OCAD file to use GPX files.");
        }