What you can do is include the MapGuide API in your applications (BIN) and use JavaScript top.YourFrame.MapFrame....etc to run the viewer scripts like zoom selection after you have made the selection using your local MapGuide API. THere are countless examples of this on the site and the API guide.
On Wed, Sep 24, 2008 at 1:56 PM, Greenhough, Jamie <[EMAIL PROTECTED]> wrote: > Hello, I hopefully someone can help me out… > > > > I have been struggling to integrate MapGuide into a custom .NET web based > application we are developing. > > > > I setup MapGuide on an external server, the dotnetsamples run great and the > MapGuide server appears to be working ok. Great. All of the dev examples > reference the dotnetviewer relatively (../mapguide/mapviewernet), I am > referencing via http://mapguideserver/mapguide/mapviewernet. > > > > We are using MapGuide inside of an iframe. Our application consists of > master pages, user controls, and other .net3.5 goodness. > > > > The problem I am facing, is that I don't know how to reference the viewerAPI > outside of the MapGuide frames. > > > > I can use InvokeScript and pass SelectionXML to another page in another > frame. But this is not really what we want to do. We want to use code > outside of the iframe to manipulate the ViewerAPI and MapGuideAPI inside of > the iframe. > > > > Does anyone have experience with manipulating MapGuide from outside of an > iframe? How about setting up a robust web application with MapGuide in the > middle? > > > > Thanks for reading, looking for direction, > > Jamie Greenhough > > ----Notice Regarding Confidentiality---- > This email, including any and all attachments, (this "Email") is intended > only for the party to whom it is addressed and may contain information that > is confidential or privileged. Sierra Systems Group Inc. and its affiliates > accept no responsibility for any loss or damage suffered by any person > resulting from any unauthorized use of or reliance upon this Email. If you > are not the intended recipient, you are hereby notified that any > dissemination, copying or other use of this Email is prohibited. Please > notify us of the error in communication by return email and destroy all > copies of this Email. Thank you. > > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
