I have done this using tools with custom cursor. The user draws a rectangle and the application then zooms to the extent. I can supply you with the code if you'd like.
[RIGHT][/RIGHT]Hochas,Please do. I reallly appreciate that . Curious to see how you got this to work.
Johan,I am very interested in this code you provided or any guidance you might have. Did you develop this tool as a add-in?Jamal,If your tool works in desktop, then it should work in the server environment. At this time, I do not have any other suggestions that I can think of at this time. Try running the tool in desktop again, and re-publish as a service. You are running ArcGIS Server 10.1 and ArcGIS Desktop 10.1 correct?
Hi Ian!No, unfortunately I haven't developed this as a standalone add-in. I'm developing a larger project where many add-ins are delivered in a single file and I dont have the time to extract it. I'll send you the code though, all you'll have to do is make an add-in out of it. Hopefully someone can help you if you can't do it.Best of luck!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.