Select to view content in your preferred language

How can I reduce the zoom interval for an app created using AGOL's Finder template? The app basemap is World Topo.

3825
4
04-20-2015 06:54 AM
LynneHamlin
Emerging Contributor

How can I reduce the zoom interval for an app created using AGOL's Finder template?  The app basemap is World Topo.  Any keyboard shortcuts for this?

Tags (2)
0 Kudos
4 Replies
RebeccaStrauch__GISP
MVP Emeritus

Lynne, I haven't played with this template on AGOL, but typically the base maps's cache tiling scheme is what controls the zoom intervals.  Does this template seem to skip over some of these zoom levels and you are wanting a finer zoom?  If so, you may need to provide your own cached basemap.  ​

LynneHamlin
Emerging Contributor

Hi Rebecca,  thank you for responding and yes the app appears to skip over zoom levels when I did a side by side comparison using desktop ArcMap and the Finder app.  At the 1:8,000,000 scale, ArcMap with World Topo has an interval of 2million and Finder template appears to be apx 7million.  Am hoping to find a code modification for the template.

0 Kudos
StanMcShinsky
Frequent Contributor

Lynne,

If  you download the template then you can access the javascript code. Here are two examples of specifying the levels of detail (LOD) in a map. the first allows you to specify the scale and the second allows you to only show which predefined zoom levels you want.

Set visible scales | ArcGIS API for JavaScript

Specify LODs (levels of detail) | ArcGIS API for JavaScript

-Stan

LynneHamlin
Emerging Contributor

Thanks for the pointers Stan!  And I'll report back if I learn anything else.

Thanks,

Lynne

0 Kudos