liveview-native / liveview-native-swiftui-mapkit

MapKit addon library for LiveView Native
1 stars 1 forks source link

Use namespaced attributes for MapCameraPosition #209

Closed carson-katri closed 5 months ago

carson-katri commented 5 months ago

Depends on https://github.com/liveview-native/liveview-client-swiftui/pull/1240

This enables the following syntax for the MapCameraPosition type:

<Map
    position="region"
    position:latitude={34.011_286}
    position:longitude={-116.166_868}
    position:latitude-delta={0.2}
    position:longitude-delta={0.2}
/>