My web form doesn t show basemap to record coordinate

I have point, line and polygon question type in my form. I choose web form as a tool to collect data. But when I try to open it on my phone, it does not show the map like when I try to open the web form through web browser in my laptop. Is there any way to fix it?

@faqihr, would you mind changing the screen from portrait to landscape to see how it behaves? Changing your screen from portrait to landscape should solve the issue. Please confirm what happens.

It still does not show, unfortunately.

@faqihr, what do you get after selecting this, as shown in the image below:

If itā€™s a point, it seems like it will record the coordinate of the phone. (still not showing the map)


But, if itā€™s either a line or an area, the screen shows nothing but, when I try to delete a node, it will show the nodeā€™s coordinate. But still, no map showed up. Unlike using KoboCollect or Web Form on a laptop where we only need to trace the line from the map shown, this web form on the phone seems like we need to walk along the line/area boundary to record its shape.

@faqihr, maybe a final check. Try downloading your XLSForm and check to see the appearance for this geopoint question type. Also try checking this survey link with a different browser to see how it behaves.

I actually havenā€™t set up anything on ā€˜appearanceā€™ in Form Editor. What should I write there?

Would appreciate if you could download and check it in the XLSForm. Please also try checking the form through a different browser (other then the one you are currently using).


This is the XLSForm.

As for the different browsers, I tried Opera and Safari. Both does not show anything even when I set my phone in landscape.

Hi,
To make the map visible on mobile devices (from looking at your screens I assume you use Android) you need to add the parameter ā€œmapsā€ (without quotation marks) in the appearance column for any geo widget.

It will then appear as a frame with a button in itā€™s center labelled with ā€œMapā€. Tap this button and the map will show up for manually setting the point.

If you also want to hide the input fields for lat/long etc. the appearance statement to paste is ā€œmaps and hide-inputā€ (again without quotation marks).

I donā€™t know the reason but this is necessary only for mobile devices. On x86 machines the map will show independently from using the maps statement. But the hide input statement also takes effect on x86 machines.

Hope this helps.

1 Like

@faqihr, have you checked out what @DSimon has advised? Feel free to reach us back if the issue is still on.