try_set_gps_info


Description:

[ Version ( since = "0.12.2" ) ]
public bool try_set_gps_info (double longitude, double latitude, double altitude) throws Error

Convenience function to create a new set of simple GPS data.

Warning: Will remove any other GPS information that is currently set. See update_gps_info for just modifying the GPS data.

Parameters:

this

An instance of Metadata

longitude

Longitude value to set or replace current value

latitude

Latitude value to set or replace current value

altitude

Altitude value to set or replace current value

Returns:

Boolean success value.