stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
180 stars 25 forks source link

Conform NavigationMapView to SwiftUI-DSL MapView (inputs and modifiers). #264

Open Archdoog opened 2 months ago

Archdoog commented 2 months ago

The goal of this ticket is to explore multiple ways to make the NavigationMapView usable in the same fashion as the SwiftUI-DSL MapView. This includes:

  1. Giving the NavigationMapView the same ViewModifiers as the MapView. There are several potential ways to achieve this (wrap the modifiers, abstract them so that both the MapView and NavigationMapView can inherit them, etc).
  2. Ensure the NavigationMapView has all of the input args that the MapView has.
  3. Move as many navigation specific features upstream to the NavigationViews.