iOS Question Google Maps does no show the map

EduardoElias

Active Member
Licensed User
Longtime User
When using mapfragment on iOS it does not show the map itself. The position arrow is there, but the map is blank.

B4X:
Private Sub InitializeMap As ResumableSub

    #If B4i
    gmap.Initialize("gmap", Main.GMapsAPI_KEY)
    pnlovHomeMap.AddView(gmap, 0, 0, pnlovHomeMap.Width, pnlovHomeMap.Height)
    gmap.GetUiSettings.CompassEnabled = True
    gmap.GetUiSettings.MyLocationButtonEnabled = True
    gmap.MyLocationEnabled = True
    Return True
    #end if

The key used is the same that I use on android successfully

Looking up on the log i found this:

Google Maps SDK for iOS cannot connect or validate APIKey: Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<.....>}
Your key may be invalid for your bundle ID: com.debug.dcaa
 
Last edited:
Top