added support for generic latlng object notation