markaspot / mark-a-spot

Public Civic Issue Tracking and Crowdsourcing / Mapping Platform based on Drupal. Open311 Server and Client Software
http://mark-a-spot.com
55 stars 30 forks source link

Enhance start.sh script with geocoding functionality for setting center coordinates #89

Open markaspot opened 8 months ago

markaspot commented 8 months ago

The current start.sh script lacks the ability to utilize geocoding to automatically determine the center latitude and longitude coordinates based on the user's specified city and country. This functionality would significantly streamline the initial setup process for Mark-a-Spot users.

So we implement a search feature within the start.sh script that allows users to enter their desired city and country. Upon receiving this information, the script should utilize a geocoding API to determine the corresponding latitude and longitude coordinates. These coordinates should then be automatically set as the center coordinates for Mark-a-Spot's initial map view.