Task #16
openTask #11: Create master data for categories (Admin Login -->Menu: Locations)
Map-Based Latitude and Longitude
0%
Description
Integrate map functionality in the location creation/edit screen.
Admin should be able to select a location on the map and store its latitude and longitude automatically in the database.
***locations_table(Already Created update it)
latitude (nullable) – Geographic latitude captured from map selection
longitude (nullable) – Geographic longitude captured from map selection
**Validations
*Latitude and longitude must be saved together
*Latitude value must be between -90 and +90
*Longitude value must be between -180 and +180
*Manual entry is not allowed; values should come only from map selection
*Values are optional but mandatory if map selection is used
*Only admin users can add or update latitude and longitude