Hi all !
I have users getting mobile pop-ups when they click for information using web apps on their desktop internet browser. Maps created in AGOL with web app builder. There seems to be no rhyme or reason for certain users
or type of web browsers, or which web app they are using. The mobile pop ups seem to come up one day, and come up as regular pop ups the next.
Anyone experience this or know a cause? Or, better yet, a solution?
Thanks & Happy GISing!
Dan
Solved! Go to Solution.
Hi Robert,
thanks for Replying, how do I change this in web app builder/AGOL?
You have to add &mobileBreakPoint=300 to your url.
So the web url link of my app add that above to end?
Correct
Is there a way to force the standard/desktop popup in embedded JS API maps on mobile devices? The solution above seems to focus on the Web App Builder. Is there a way to force through the Desktop popup on all devices? As Ben mentions above, the mobile popup isn't visually appealing in certain situations.
Thanks a lot.
Brendan,
What exactly do you mean "embedded JS API maps"?
Hi Rob,
Sorry... a web map embedded on a web site that is not using the WAB.
So basically a web map from the sample code: Sample Code | ArcGIS API for JavaScript 4.12
I am using a modified version of a sample map and the feature layer includes popups. By default, on mobile devices the pop up displays the heading but not the main body/details of the pop up. The user is required to tap the heading to expand the pop up to reveal the main details.
Hope that makes sense.
Brendan
I am hoping to have the main body/details of the popup revealed without the the need for the user to tap/expand.
Brendan,
Then you need to add this to your code
view.popup.watch('content', function(show){
if(view.popup.collapsed){
view.popup.collapsed = false;
}
});
Thanks so much Rob... worked perfectly!