Truxton media set latitude

From truxwiki.com
Revision as of 06:44, 10 February 2021 by Sam (talk | contribs) (→‎Sample)
Jump to navigation Jump to search

This sets the latitude portion of the WGS84 coordinates of where the media was seized. This corresponds to the [Latitude] column of the [Media] table.

Syntax

void truxton_media_set_latitude( uint64_t media_handle, double latitude );

Parameters

media_handle

The handle created by the truxton_media_create or truxton_media_open_id call.

latitude

The latitude portion of the geographic coordinate using the WGS84 ellipsoid of where this media was seized.

Sample

void set_location( uint64_t media_handle, double latitude, double longitude )
{
   truxton_media_set_latitude( media_handle, latitude );
   truxton_media_set_longitude( media_handle, longitude );
}