Use geolocation api when creating a new location.
Modify the lat and lng fields in the location table to be integers (x100000)