Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set initial view - MG Enterprise

1 REPLY 1
Reply
Message 1 of 2
wcrichton
268 Views, 1 Reply

Set initial view - MG Enterprise

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?
1 REPLY 1
Message 2 of 2
Anonymous
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?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report