Select to view content in your preferred language

Zoom to Full Extent

4380
12
09-08-2010 05:34 AM
JoshuaCoates
Deactivated User
Is there a way to zoom to the full extent of the map by adding some some sort of widget or feature to the header? I have read through similar posts, however, I have not read anything specific about "zoom to full extent". Also, any reason why my map background used to display white as it is suppose to be in my web browser but it is now black like the rest of the UI around the map? (off topic I know, just didnt want to posts several different posts for what is probably an easy fix). Thanks!


Josh C.
Tags (2)
0 Kudos
12 Replies
NadeemShaukat
Deactivated User
Josh, I'm assuming this is in regards to the new Flex Viewer...

FYI - "Zoom to full extent" functionality will be part of a Navigation Widget that we plan to include in version 2.1 of the ArcGIS Viewer for Flex.


Bjorn,

The new Navigation Widget is great.

Is there any way to bring the map to my inital extent when I click on the "Full Extent" button? I guess it reads the full extent from the ESRI's Web map service by default.
0 Kudos
BjornSvensson
Esri Regular Contributor
Is there any way to bring the map to my inital extent when I click on the "Full Extent" button?


Yes, setting the fullextent to the same value as the initialextent should achieve that.

<map
        initialextent="-13046840 4036096 -13045400 4036867"
        fullextent="-13046840 4036096 -13045400 4036867"
        top="40">
0 Kudos
jerrysalinas
Deactivated User
Hello,
I need some help in setting up my full extent. I am using ESRI's default web services for  my basemap. I am also using the new FLex API.
  I setup my initial extent to open up displaying my city, but after panning and zooming around, if I click the full extent from the navigation bar, it takes to the extent of the entire world. i thought setting the fullextent to the same value as the initialextent would fix it, can't get it work.

Thanks.
jerry
0 Kudos