Select to view content in your preferred language

Extent question

2445
2
Jump to solution
03-07-2012 10:30 AM
GlennBischof
Deactivated User
How can I change the extent of my veiwer so when I open it opens to a locol extent. I know I will need to change the config.xlm file, but how to I find the extent local to update the file. Also what section newed to change in the file, just the intial extent or full.
Thanks
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Glenn,

   So you did see the Extent Helper Application in your last Post that Dasa answered right? That is how you get the webmercator extent if you are using esri base maps. If you are not going to use esri base maps and you are only going to use your own map services than you can get the extent info from your Rest Service directory. It will look something like this:

Spatial Reference: 102629

Single Fused Map Cache: false

Initial Extent:

    XMin: 456068.395762521
    YMin: 1105718.70541803
    XMax: 853254.878947251
    YMax: 1267835.63733016
    Spatial Reference: 102629
Full Extent:
XMin: 551635.039422134
YMin: 1102416.32347167
XMax: 757688.235287638
YMax: 1271138.01927652
Spatial Reference: 102629

You should update both full and initial extents.

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:

View solution in original post

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Glenn,

   So you did see the Extent Helper Application in your last Post that Dasa answered right? That is how you get the webmercator extent if you are using esri base maps. If you are not going to use esri base maps and you are only going to use your own map services than you can get the extent info from your Rest Service directory. It will look something like this:

Spatial Reference: 102629

Single Fused Map Cache: false

Initial Extent:

    XMin: 456068.395762521
    YMin: 1105718.70541803
    XMax: 853254.878947251
    YMax: 1267835.63733016
    Spatial Reference: 102629
Full Extent:
XMin: 551635.039422134
YMin: 1102416.32347167
XMax: 757688.235287638
YMax: 1271138.01927652
Spatial Reference: 102629

You should update both full and initial extents.

Don't forget to click the Mark as answer check and to click the top arrow (promote) as shown below:
0 Kudos
GlennBischof
Deactivated User
Thanks, I tried the  earlier post but kept having problem. It seem after the third or fourth change made to my config.xlm file, the veiwer would give me an error. I found I need to make a backup copy and only make one or two changes then make another copy. After many trial and error attempts, it finally works. Do not know what is causeing the config.xml save problems.
Thanks Glenn
0 Kudos