[mapguide-users] Re: How to integrate the ZoomToView function
Jackie Ng
jumpinjackie at gmail.com
Sun Mar 21 18:29:03 EDT 2010
Hi Christoph,
Try this sample here:
http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/InitialMapView
The WebLayout document which defines your AJAX viewer interface, has a
section that specifies the initial extents of the map. The above code sample
re-writes the initial extents in that document based on your custom X, Y and
scale and passes that modified document on to the AJAX viewer.
Hope that helps.
- Jackie
--
View this message in context: http://n2.nabble.com/How-to-integrate-the-ZoomToView-function-tp4772980p4775039.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list