Extent question for Web AppBuilder (Beta) . . .

2084
7
Jump to solution
10-22-2014 10:00 AM
VenusScott
Occasional Contributor III

I have a .mxd with an extent defined in it.

I've published my service. If I use the "Use Web Maps Default Extent" it ignores what I've defined?

I need my focus to be the City of Phoenix only and minimal surrounding cities. How do I achieve this?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Venus,

   It sounds like you are dealing with the standard cached Map LODs limitation. When you use esri basemaps like you are they are restricted to the Levels of Display (LODs) that the map was cached at. So if your desired extent is not the same as one of the LOD scales then the map will automatically zoom to the closest LOD.

View solution in original post

0 Kudos
7 Replies
JaredGrondin
New Contributor III

Hello,

The button "Use Web Map's Default Extent" is designed to use the default extent of the web map that is specified.  In the screen shot that you added above it looks like you defined the web map as "City of Phoenix - Planning and Zoning".  If you press the button, it should zoom to the default extent for that web map which may not necessarily be the same as the default extent of the service that you published.

At this stage you really would have 2 choices:

1) Update the extent of the web map and then use the "Use Web Map's Default Extent" button.

2)  Zoom to your desired area for the default extent of the web app and press the "Use Current Map View" button to make that your apps default extent.

I hope this helps!

Jared G.

VenusScott
Occasional Contributor III

When I try either option, it seems to "force" zoom levels and I either end up with the map cutting off the top and bottom of our city:

The zoom out forces it to an extent that the users says is too far out.

Even when I try the "shift + click and drag" for a more accurate zoom level, it goes to a predefined scale?

Suggestions?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Venus,

   It sounds like you are dealing with the standard cached Map LODs limitation. When you use esri basemaps like you are they are restricted to the Levels of Display (LODs) that the map was cached at. So if your desired extent is not the same as one of the LOD scales then the map will automatically zoom to the closest LOD.

0 Kudos
StanMcShinsky
Occasional Contributor III

What you see on the screen is also dependent on the size of the browser. If you have a large screen and maximize it and load your map you get a different result on a smaller browser window. Your extent will adjust based on the viewing area of the browser.

VenusScott
Occasional Contributor III

True enough. Now I just have to convince my customer of this. It should be an easy sell if I remind them of the "mobile" aspect/view of the map.

Thank you!

0 Kudos
VenusScott
Occasional Contributor III

Robert. What are my alternatives?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Venus,

   You should choose the next LOD that allows all of your area of interest to be displayed and set that as the maps extent.