You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you click on a marker, you should display the information about that specific incident. It might be easier if you make a Custom Callout Component that gets shown whenever the user presses on a marker.
Great! 21336d1 uses modals instead of callouts to achieve the same effect.
One small fix and then we can merge into main:
Use the incident and severity labels from import { INCIDENT_TYPE_LABELS, SEVERITY_LEVEL_LABELS, PIN_COLORS } from '@/constants/Incidents' rather than displaying the raw severity and incident type fields. This just ensures we're using the same labels throughout all the screens
When you click on a marker, you should display the information about that specific incident. It might be easier if you make a Custom Callout Component that gets shown whenever the user presses on a marker.
Callouts: https://github.com/react-native-maps/react-native-maps/blob/master/docs/callout.md
Custom Callouts: https://blog.spirokit.com/maps-in-react-native-adding-interactive-markers#heading-customizing-the-callout-component
The text was updated successfully, but these errors were encountered: