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

Rubén Casal Prieto terri2213 at msn.com
Wed Jan 20 05:43:22 EST 2010

Hello, I have a problem. I know how to do the following. I
tie some sheets of a tourist site that I have a mapguide application
passing through the coordinates of the element parameters in the URL of
the form "main.aspx? X = 565302.036424 & Y = 4811848.675497.

want the application to start, rather than engaging in the default view
is the weblayout, start at the point indicated in the URL.

I have tested with

String str;
str = "<script language='javascript'> parent.parent.ZoomToView (" + STRX + "" + Stry + ", 2000, true); </ script>";
ClientScript.RegisterStartupScript (typeof (Page), "script", str);

My problem is that the map is the ultimate qeu is loaded and when I run it, then return to the initial coordinates.

Someone can help me? Please do not now where to go.

Thanks and best regards! 		 	   		  
¡Descubre qué Móvil eres! Hay uno hecho para ti.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20100120/5ccecfaf/attachment.html

More information about the mapguide-users mailing list