hashcode method to LatLang