Select to view content in your preferred language

Set specific extent

693
1
08-29-2012 10:04 AM
MarcusBush
Emerging Contributor
Hello,

I am trying to get my map to zoom out to initial extent when I hit my "full extent" button I have hooked up.

Anyone have any advice for this?  I'm trying to do it without changing the full extent in the service, and just do it within the code.  I'd like it to just zoom to the first extent I have set, or "startExtent", when I hit my "full" extent button.

I appreciate any suggestions!

Thanks!
0 Kudos
1 Reply
MarcusBush
Emerging Contributor
Please disregard, I was able to use "setExtent" with my startExtent variable,

thanks again.
0 Kudos