Infrastructure Map Server Developer

Reply
Active Member
wcrichton
Posts: 6
Registered: ‎02-09-2006
Message 1 of 2 (117 Views)

Set initial view - MG Enterprise

117 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?
*Andy Morsell
Message 2 of 2 (117 Views)

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?

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community