I select a place and feed the coordinates in, then start Google maps.
The map displays ok and I hit the back button to get back to the app.
In the app, I select different coordinates and call the same intent for Google maps, but I still get the previous map displayed?
I have a log statement that tells me the coordinates have changed, but the map doesn't seem to change?
Any ideas?
Malky
The map displays ok and I hit the back button to get back to the app.
In the app, I select different coordinates and call the same intent for Google maps, but I still get the previous map displayed?
I have a log statement that tells me the coordinates have changed, but the map doesn't seem to change?
B4X:
Sub GetOnlineMap
Dim MapIntent As Intent
Dim MyPosition As GeoPoint
Dim strBeforeSplit As String
strBeforeSplit=ContactMAP
Log (ContactMAP)
Dim strSplit() As String
strSplit=Regex.Split(",",strBeforeSplit)
Location = "geo:?q=" & strSplit(0) & "," & strSplit(1) & ""
Log("location " & location)
GMapRunning = True
MapIntent.Initialize(MapIntent.ACTION_VIEW, Location)
StartActivity(MapIntent)
End Sub
Any ideas?
Malky