Select to view content in your preferred language

Undesired "Zoom to" action on mobile

143
2
Jump to solution
11-07-2024 12:00 PM
Labels (1)
MelDop
by
Emerging Contributor

I have a parcel application utilizing sidebars around a map. One sidebar contains a Query widget, which is configured with the "Zoom to" action upon feature selection. Automatic zoom setting works great on desktop, but on mobile I am having trouble effectively zooming to selected parcels due to the small map extent on mobile screens.

MelDop_1-1731007801222.png

The ideal functionality for me is for a mobile user to select a parcel and close the sidebar to view it. Unfortunately, I cannot set a custom zoom scale on mobile without it also affecting desktop view.

My best idea so far is to set a custom zoom scale of 500, which would encapsulate about 60% of parcels on desktop (which isn't great), while at least being able to see an average-sized selection at the neighborhood level on mobile.

Is there another way around this? My goal is to resolve the issue without changing anything fundamental in the design, especially on desktop, as the client has already approved the look and feel of the application.

0 Kudos
1 Solution

Accepted Solutions
ShengdiZhang
Esri Regular Contributor

Hi @MelDop ,

One solution I can think of is to use a different query widget on the mobile phone:

1. Switch to small screen devices

2. Enable Custom layout

3. Select the query widget, duplicate it, and move the original query widget to the pending list

4. Select the new query widget, and set a custom zoom scale for it

 

Regards,

Shengdi

View solution in original post

0 Kudos
2 Replies
ShengdiZhang
Esri Regular Contributor

Hi @MelDop ,

One solution I can think of is to use a different query widget on the mobile phone:

1. Switch to small screen devices

2. Enable Custom layout

3. Select the query widget, duplicate it, and move the original query widget to the pending list

4. Select the new query widget, and set a custom zoom scale for it

 

Regards,

Shengdi

0 Kudos
MelDop
by
Emerging Contributor

Thank you, Shengdi. This is the solution I needed.

0 Kudos