Can chart points on Google Maps be calculated based on the number of hours in seconds

I am trying to display GPS data that is given to me in the Hour Minute Second degree format. Will GLatLng accept it in this form or do I need to convert it first. It is not easy to find anything on the Internet about this. If this can be read in this format, then this example will be very valuable.

+3
source share
1 answer

As far as I know, it does not accept this format, but it is very easy to convert, just do the math:

var = hour+(((minute*60)+(second))/3600);
+8
source

Source: https://habr.com/ru/post/1723164/


All Articles