Skip to content

Local Files

Christoph edited this page Aug 31, 2022 · 2 revisions

Datasources

The app has to contain a markdown file called Datasources.md containing the sources of the spatial data to inform the users about it. Markdown in SwiftUI has less functionality than on GitHub. Following Markdown syntax is not supported at the moment:

  • heading
  • numbered list
  • image

The datasources file can be formatted with the following syntax:

**Text in bold**
*Text in italic*
~This text is crossed out~
`This line of code`

Local GeoJSON files

The app has the capability to include GeoJSON files directly into the app bundle, i.e. on the device. Those files can be stored in the group/directory LocalData, but this is not mandatory. The local GeoJSON files will be referred only by their name.