liinnjohansson / todays-lunch

0 stars 1 forks source link

53 create calculation to map #64

Closed eminamuratspahic closed 3 years ago

eminamuratspahic commented 3 years ago

Close #53

Added: MapViewDirections map.tsx to calculate both time and distance to chosen marker.

Please can you confirm that it is working for Android as well.

EmelieBrobergs commented 3 years ago

image

I get this error on my android phone, thested sudgested soulution by you (https://stackoverflow.com/questions/68320484/error-while-updating-property-linecap-of-a-view-managed-by-airmappolyline-in) by adding: lineDashPattern={[0]}

image

Then the map worked very well, the pressable element in the app works again. The only problem is that he read line starts i Russia when map first load.

EmelieBrobergs commented 3 years ago

image The map view looks really nice and working on my android! The Dotted line shown when mapIcon is pressed.