Google Maps Widget - Blank Map / Display issue in Make It Native 10 (Beta)

0
Hi There,   I'm following through the "Build a Native Mobile Inspection App" academy course on the latest version of Mendix Studio Pro (10.18.1).    I'm having issues with the map widget displaying in Android. I've installed the beta version of the Android app to work with the latest Mendix Studio Pro release that I have installed. I can connect to and access the app when it's running locally fine and can see my dummy data that has been created as per the course instructions.   However, the Google map widget will not display anything in the Make it Native 10 app. It just displays a blank Map widget with the Google logo as below: It's the same for all of the inspection site addresses, so I'm not sure if it's related to the Address strings (I'm  using the addresses outlined in the course so I would expect them to be fine).   I've tried various settings on the widget itself to see if anything changed. I had thought maybe it related to requiring an API key for Google Maps as the default map provider, but this doesn't seem to be the case either as the widget doesn't allow you to set that in a similar way to the web app widget.   I've also tried re-installed the app, as that seems to be regularly recommended to resolve some issues, but no changes there.   Does anyone know how to resolve this?
asked
3 answers
0

Hi Simon,

Did you enter static address value inside google map widget or not? 

If not please add 1 dummy address then you will be able to see the maps.

answered
0

Hi Mohammead,

 

Yes, the Map widget has an address applied as a marker (no Marker List is set).

studiopro_46Rc5pGJkp.png

 

As per the course, the address is applied as a dynamic address to the Markers, and is based on one of the entities' attributes that was configured.

Just as a test, I've also added some extra static markers - one using the static string text of one of the property addresses and one  also using just a static decimal Latitude/Longitude as below.

mapwidget_markers.png

 

Unfortunately, there's no changes with any of this and the map widget in Make It Native 10 (Beta) still shows as a blank widget on the mobile device

I also committed the project and pulled it to a fresh install of Mendix Studio Pro on another computer, and also used a different mobile device to try view it there with no differences.

 

I guess a potential next step is to just perhaps try an older version of Mendix Studio Pro to see if the issue exists on a prior, non beta version, of the app.

 

answered
0

I ended up trying an older version of Mendix Studio Pro (10.12.12) which doesn't use the Make It Native 10 (Beta) version of the Android app that you need to opt in for.

 

I had to recreate the project as I couldn't use the existing project with the older version, but the map widget appears to be working in this version. Below is the locally running project opening in the app:

studio64_EH0No8AXPV.png

 

As far as I can tell, it just seems like the map doesn't load in the newer Make It Native Beta version.

answered