mazi-project / portal

This is the portal of the MAZI toolkit
http://www.mazizone.eu/toolkit/
MIT License
18 stars 6 forks source link

Allow tolerance in entering lat/long in admin set up field #124

Open mgaved opened 6 years ago

mgaved commented 6 years ago

When you enter the latitude/longitude in the admin set up process, I have learned that only [latitude] comma space [longitude] is acceptable - missing a space, missing the comma etc. will result in the system refusing to accept the entered details and declare an error.

I propose the system should be more tolerant and a script written that accepts two numerical strings, and processes and discards any combination of seperators between the two strings (it should matter if people put in a comma and a space, just a comma, two spaces, just a space, etc.