You can use the javascript MapguideViewerAPI in Fusion and then, continue to
use the function you have in your code.
You will have to add thoses js scripts (please adapt pathes):
<script language="javascript" src="../Common/browserdetect.js"></script>
<script language="javascript" src="../Common/json.js"></script>
<script language="javascript"
src="../../../layers/MapGuide/MapGuideViewerApi.js"></script>
These files are located somewhere under the the "fusion" directory. If you
cannot find them, download the fusion2.0 beta from maptools.org and pick them
from there.
Now that the MapGuideViewerApi is loaded, you can take advantage of these
functions.
For example, you can call directly ZoomToView(x, y, scale, refresh) because
this function is inside the MapGuideViewerApi.js file.
Got it?
Regards,
Remy
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users