kml.h 499 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <furi.h>
  3. #include <storage/storage.h>
  4. #include "../helpers/ublox_types.h"
  5. typedef struct KMLFile {
  6. File* file;
  7. } KMLFile;
  8. /**
  9. * Open a KML file and write out initial XML tags for list of points in path.
  10. * This assumes that `path` is a valid and complete Flipper filesystem path.
  11. */
  12. bool kml_open_file(Storage* storage, KMLFile* kml, const char* path);
  13. bool kml_add_path_point(KMLFile* kml, double lat, double lon, uint32_t alt);
  14. bool kml_close_file(KMLFile* kml);