• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide Enterprise Developer

    Reply
    Active Member
    Posts: 6
    Registered: ‎02-09-2006

    Set initial view - MG Enterprise

    102 Views, 1 Replies
    09-25-2006 03:28 PM
    I am trying to work with the new MapGuide Enterprise using ASP.NET.

    My task is simple.

    Start a MapGuide website and zoom to a given location.

    I planned on passing the X, Y coord as part of the site URL.

    I have two issues:

    1) In order to zoom to a location, the viewer frameset must be loaded and I cannot find a way to catch any events to execute a zoom to operation.

    2) The viewer frameset is defined and implemented in such a way as to make it close to imposible to pass additional parameters through the initial URL.

    Any input on how best to perform this type of operation?
    Please use plain text.
    *Andy Morsell

    Re: Set initial view - MG Enterprise

    09-25-2006 04:15 PM in reply to: wcrichton
    If you implement your application much like the sample application where an
    index page does some processing and then passes some parameters to a
    frameset (including the web layout definition), you should be able to pass
    additional URL parameters to your index page and handle them or store them
    for later handling.

    Regarding events, I know there has some been discussion on the OSGeo mail
    list about this in the past, but I do not immediately know the answers.


    --
    Andy Morsell, P.E.
    Spatial Integrators, Inc.
    http://www.SpatialGIS.com


    wrote in message news:5340523@discussion.autodesk.com...
    I am trying to work with the new MapGuide Enterprise using ASP.NET.

    My task is simple.

    Start a MapGuide website and zoom to a given location.

    I planned on passing the X, Y coord as part of the site URL.

    I have two issues:

    1) In order to zoom to a location, the viewer frameset must be loaded and I
    cannot find a way to catch any events to execute a zoom to operation.

    2) The viewer frameset is defined and implemented in such a way as to make
    it close to imposible to pass additional parameters through the initial URL.

    Any input on how best to perform this type of operation?
    Please use plain text.