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

Jackie Ng jumpinjackie at gmail.com
Wed Jan 20 05:59:09 EST 2010


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
-- 
View this message in context: http://n2.nabble.com/Start-with-a-map-coordinates-passed-by-parameters-in-the-URL-tp4425806p4425859.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list