zoukankan      html  css  js  c++  java
  • 如何安装配置Intelligent landing page for AIMS/MapGuide Ajax viewer

    前面的文章中我介绍了一个应用于MapGuide Ajax Viewer的智能起始页,它支持缩放到指定位置,查询并高亮和缩放到指定条件的要素,对图层中要显示的要素进行过滤等等。但也许还有些同学不太会用这个示例,下面是安装使用方法:

    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\Autodesk Infrastructure Web Server Extension 2013\www\mapviewernet\bin” to “C:\Work\CodeSamples\MgViewerExtention\MgViewerExtention\bin”

    3. Copy “WebConfig.ini” from “C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2013\www” to “C:\Work\CodeSamples\MgViewerExtention\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 as “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\MgViewerExtention.

    image

    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 should 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 2012 x64, 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.

  • 相关阅读:
    VBScript 语法函数(ScriptControl 控件)
    VB 读和写配置文件
    【转】VB控件和对象:ScriptControl 控件
    VB ADODB中的RecordSet.Open打开记录的两个参数adOpenKeyset、adLockBatchOptimistic的详细说明
    JavaScript的replace方法与正则表达式结合应用讲解
    jQuery DatePicker
    PHP date与gmdate的区别及如何修改PHP的默认时区
    jQuery获取Select选择的Text和 Value(转)
    JavaScript字符串函数大全
    CONFLICTING TYPES的原因
  • 原文地址:https://www.cnblogs.com/junqilian/p/2741530.html
Copyright © 2011-2022 走看看