Skip to main content

Constrain the Zoom Extent in HTML5 Viewer?

Comments

4 comments

  • Permanently deleted user

    I second this request.

    0
  • Permanently deleted user

    Just as a follow up for anyone who is an HTML5 guru... found this link for a working constraint solution for HTML5 on ESRI services.

    http://arcscripts.esri.com/details.asp?dbid=16956

    More specifically, there is a link to a zip file which has a webpage as an example.  That may be more useful. I unfortunately am not literate at all with HTML so maybe a guru is willing to help out and get something like this working for us? :-)

    Thanks!

    Cecil

    0
  • Permanently deleted user

    Take the existing workflow, and wherever you see 'NewExtent' change this to the number '0' (use the Search bar).

    So:

    CType(eventArgs.GetValue("NewExtent.xmin"),Double)

    becomes

    CType(eventArgs.GetValue("0.xmin"),Double)

    Hope this helps.

    0
  • Permanently deleted user

    I'll give that a shot, thanks!

    Cecil

    0

Please sign in to leave a comment.