Electronic horizon position notification should directly contain pointer to edge tree #2906
Labels
op-ex
Refactoring, Tech Debt or any other operational excellence work.
release blocker
Needs to be resolved before the release.
topic: location
Milestone
As of #2834, the
electronicHorizonDidUpdatePosition
notification’s user info dictionary’streeKey
is set to an instance of theElectronicHorizon
struct, whose only purpose is to hold the startingElectronicHorizon.Edge
of the tree. This is redundant. Assuming we don’t intend to add more properties toMapboxNavigationNative.ElectronicHorizon
in the future, we should eliminate the struct and place the starting edge directly in the user info dictionary. The extensive struct documentation comment should be split betweenElectronicHorizon.Edge
,ElectronicHorizonOptions
, andtreeKey
. Nested types likeElectronicHorizon.Edge
should be renamed to no longer nest underneathElectronicHorizon
./ref #2834 (comment)
/cc @mapbox/navigation-ios
The text was updated successfully, but these errors were encountered: