S sigster Active Member Licensed User Longtime User Mar 6, 2014 #1 Hi How can I call this Coordinates into google map using ACTION_VIEW,geoURI 64°8'37.561"N 21°55'34.777"W I tray this sample to convert but it don't work http://www.b4x.com/android/forum/threads/convert-gps-coordinates.26187/#post-151544 N1 = 64 N2 = 8 N3 = 37561 Code: Copy Dim N1_ut As String N1_ut = N1.Text Dim N2_ut As String N2_ut = N2.Text / 60 Dim N3_ut As String N3_ut = N3.Text / 3600 EditText2.Text = NumberFormat(N1_ut + N2_ut + N3_ut , 1,6) Regards Sigster
Hi How can I call this Coordinates into google map using ACTION_VIEW,geoURI 64°8'37.561"N 21°55'34.777"W I tray this sample to convert but it don't work http://www.b4x.com/android/forum/threads/convert-gps-coordinates.26187/#post-151544 N1 = 64 N2 = 8 N3 = 37561 Code: Copy Dim N1_ut As String N1_ut = N1.Text Dim N2_ut As String N2_ut = N2.Text / 60 Dim N3_ut As String N3_ut = N3.Text / 3600 EditText2.Text = NumberFormat(N1_ut + N2_ut + N3_ut , 1,6) Regards Sigster
S sigster Active Member Licensed User Longtime User Mar 6, 2014 #2 I finish to fix this is this right how to zoom ? URI= "geo:" & lat & ",-" & lon & "?q=" & lat & ",-" & lon & "?z=25" Code: Copy Dim utkoma_N As String utkoma_N = NumberFormat(N2.Text/60 + N3.Text/3600 , 0,6) EditText2.Text = N1.Text & "" & utkoma_N Dim utkoma_w As String utkoma_w = NumberFormat(W2.Text/60 + W3.Text/3600 , 0,6) EditText4.Text = W1.Text & "" & utkoma_w Upvote 0
I finish to fix this is this right how to zoom ? URI= "geo:" & lat & ",-" & lon & "?q=" & lat & ",-" & lon & "?z=25" Code: Copy Dim utkoma_N As String utkoma_N = NumberFormat(N2.Text/60 + N3.Text/3600 , 0,6) EditText2.Text = N1.Text & "" & utkoma_N Dim utkoma_w As String utkoma_w = NumberFormat(W2.Text/60 + W3.Text/3600 , 0,6) EditText4.Text = W1.Text & "" & utkoma_w