getMarkersInstance

fun getMarkersInstance(startAfresh: Boolean = false): Realm

getMarkersInstance opens the Realm database which stores the markers and routes.

Parameters

startAfresh

if true results in the database being deleted and re-created.

The database is current created inMemory so that it only exists when Soundscape is opened with a GPX file. If it's opened in any other way then the database will be empty.