I have searched the forum and there are some fantastic things being done with Google Maps library. At some point I may jump into those deep waters, but for now I am just trying to display a Google map in a webview using LoadUrl. I don't need plotting, navigation or GPS as I will be passing coords to the URL myself. I tried this:
but I just get a white square. But something is happening because I get vertical and horizontal scrolling and the zoom +/- button.
So I have two questions: how do I get the map to display and how do I get a marker (standard marker, no label) to display at the provided coordinates?
B4X:
Activity.LoadLayout("wv")
webview1.Initialize(Me)
webview1.LoadUrl("http://maps.googleapis.com/maps/api/staticmap?center=37.58,-87.6&zoom=14&size=400x400&sensor=false")
but I just get a white square. But something is happening because I get vertical and horizontal scrolling and the zoom +/- button.
So I have two questions: how do I get the map to display and how do I get a marker (standard marker, no label) to display at the provided coordinates?