latlng for marker from either lat or lng

Typically latlng is stored in one field in db and is operated not separately in code. Separating it here is not useful. So either fields can be used to set latlng.