This PR improves MapViewController's mapViewMode property.
First, MapViewMode case .selectedFeature now permits an input variable featureLoaded: Bool. This gives checking state more accurate when there is a selected feature but it hasn't loaded it's related records yet.
Second, this PR decouples automatically updating mapViewMode after setting currentPopup. This gives us a finer degree of control over managing the UI.
NOTE* I have no idea why the changes to the README (and subsequent new image files) made it into this PR. If you look at the development branch, you'll see they are already there and in this condition.
This PR improves
MapViewController
's mapViewMode property.First,
MapViewMode
case.selectedFeature
now permits an input variablefeatureLoaded: Bool
. This gives checking state more accurate when there is a selected feature but it hasn't loaded it's related records yet.Second, this PR decouples automatically updating
mapViewMode
after settingcurrentPopup
. This gives us a finer degree of control over managing the UI.NOTE* I have no idea why the changes to the README (and subsequent new image files) made it into this PR. If you look at the
development
branch, you'll see they are already there and in this condition.