iOS Question Load Maps using coordinates

Discussion in 'iOS Questions' started by ginsh, Jun 11, 2019.

  1. ginsh

    ginsh Member Licensed User

    Hi All ,

    How to load Maps using coordinates in IOS. Something similar to the below android.

    Code:
    Dim MapIntent As Intent
     
    Dim Location As String
    Dim Lat as String
    Dim Longt As string

    Lat  = 
    25.562556
    Longt = 
    55.565625


     
    Location = "geo:0,0?q=" & Lat & "," & Longt
          MapIntent.Initialize(MapIntent.ACTION_VIEW, 
    Location )
          
    StartActivity(MapIntent)
    Anyone please help.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can embed a map in your app: GoogleMaps Tutorial

    Or:
    Code:
    App.OpenURL($"http://maps.apple.com/?ll=${lat},${lon}"$)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice