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,
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.org/mapguide/wiki/CodeSamples/PHP/InitialMapView

Note that with this approach, every time you reset your view in the AJAX
viewer, it will reset to your custom initial position and scale.

- Jackie
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to