[mapguide-users] Re: Start with a map coordinates passed by parameters in the URL

2010-01-21 Thread Rubén Casal Prieto
Hello, thank you very much for your answers! I've done the following: String requestParams STRX = [ "X"]; Stry requestParams String = [ "Y"]; MgSiteConnection siteconection = new MgSiteConnection (); siteconection.Open (new MgUserInformation (sessionId));

Re: [mapguide-users] Re: Start with a map coordinates passed by parameters in the URL

2010-01-21 Thread Kenneth Skovhede, GEOGRAF A/S
There is a .Net MaestroAPI example of the same here: http://trac.osgeo.org/mapguide/wiki/maestro/MaestroAPI/samples/CustomizedZoomWithWebLayout Regards, Kenneth Skovhede, GEOGRAF A/S On 20-01-2010 11:59, Jackie Ng wrote: What you could do is on startup, to read the content of your WebLayout, mo

[mapguide-users] Re: Start with a map coordinates passed by parameters in the URL

2010-01-20 Thread Jackie Ng
What you could do is on startup, to read the content of your WebLayout, modify it's initial view section to contain your coordinates, write the modified content to your session repository and point your AJAX viewer to load the session-based WebLayout. There's a PHP example here: http://trac.osgeo