Almora Well-Known Member Licensed User Longtime User May 30, 2018 #1 hi.. Is it possible to get location coordinates without using GPS? Sub btn_Click Dim Maps As LatLng =gm.mylocation label1.Text = Maps.Latitude label2.Text = Maps.Longitude End Sub Click to expand... I tried such code but it did not
hi.. Is it possible to get location coordinates without using GPS? Sub btn_Click Dim Maps As LatLng =gm.mylocation label1.Text = Maps.Latitude label2.Text = Maps.Longitude End Sub Click to expand... I tried such code but it did not
DonManfred Expert Licensed User Longtime User May 30, 2018 #2 MyLocation is only available after you have requested the permission with Runtimepermissionslib. You should not set MyLocationEnabled to true in the designer. Instead load the map with the setting OFF. In myp ready you then can rewquest the permission. If permission is set you then can set the Flag to True. Upvote 0
MyLocation is only available after you have requested the permission with Runtimepermissionslib. You should not set MyLocationEnabled to true in the designer. Instead load the map with the setting OFF. In myp ready you then can rewquest the permission. If permission is set you then can set the Flag to True.