Choose Location
What this screen is for
The full-screen map opened from the business form to pick a location: it opens on an existing location if there is one, or on a fixed view centred on Istanbul if there is none; tapping the map moves the pin to that point, and confirming returns the chosen coordinates to the form.
When you would use this
A business owner comes to this screen to mark their business's location on the map for the first time, or to correct an existing pin.
Who sees it
Any user who can open the business form can open this map too; there is no separate authorisation check, because the screen itself reads or writes no data at all.
Where it lives
The screen exists on the mobile app only.
What you can do here
Move the pin by tapping the map
Tapping anywhere on the map moves the pin to that point; the map is drawn with OpenStreetMap tiles.
Opens on an existing location, or a default centre
If the form already carries a coordinate, the map opens centred on it; with no location at all, the map opens on a fixed point centred on Istanbul.
Confirm and return to the form
Returns the chosen coordinates to the form that opened it; going back without confirming passes no coordinates to the form at all.
What the server accepts and refuses
The location only becomes permanent when the form saves
This screen only returns the chosen coordinates to the form that opened it and writes to no Firestore document itself; the coordinates never reach the server until the business form's save action sends them, and they are lost if the form is closed without saving.