How to install and configure Intelligent landing page for AIMS/MapGuide Ajax viewer

Source: Internet
Author: User
Tags visual studio 2010

In the previous article, I introduced a smart start page for MapGuide Ajax Viewer. It supports scaling to a specified position, querying, highlighting, and scaling to elements of a specified condition, filter the elements to be displayed in the layer. However, some users may not use this example. The following describes how to install and use it:

How to install this sample application?

I am often asked how to install/use this sample application, here is the detailed steps:

1. unzip the sample application to a folder of your web server where Map Server Extension is installed. Let's say: C: \ Work \ CodeSamples \ MgViewerExtention

2. copy all dlls from "C: \ Program Files \ Autodesk Infrastructure Web Server Extension 2013 \ www \ mapviewernet \ bin" to "C: \ Work \ CodeSamples \ MgViewerExtention \ bin"

3. Copy "WebConfig. ini" from "C: \ Program Files \ Autodesk Infrastructure Web Server Extension 2013 \ www" to "C: \ Work \ CodeSamples \ MgViewerExtention"

4. Open Internet Information Services (IIS) Manager by typing "inetmgr" in Start-> Run

5. add a application in IIS. right click "Default Web Site" and select "Add Application", input alias "MgViewerExtension", please note that the URL to access this web application will be http: // localhost/<yourAliasName>, for me it ishttp: // localhost/MgViewer/Extension. it is recommend to select "MapServer2013App" as application pool. you will notice that it is using. net Framework 4.0 for AIMS2013. The physical path refers to the folder which contains the ASPX web page, for me, it is C: \ Work \ CodeSamples \ MgViewerExtention.

6, Give it a run and test, refer to the top of this post for test URLs.

How to Debug and Extend this further?

1. Open the "MgViewerExtention. sln" solution is Visual Studio 2010, set an break points at somewhere.

2. Launch the browser to the MgViewerExtension.

3. Attach to process from Debug menu, attach to "w3wp", please note the username shoshould be "MapServer2013App" as it may have more than one "w3wp" process.

4. Refresh the webpage, your break point will be hit.

Please refer to this video at MapServer Developer Center, it is for AIMS 2012x64, but it still applies to AIMS 2013 as well.

Video: Autodesk Infrastructure Map Server 2012 API Webcast
Recorded version of the Autodesk Infrastructure Map Server 2012 API webcast
View Online | Download

Hope this helps.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.