如何安装配置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.

作者: 峻祁连
邮箱:junqilian@163.com 
出处: http://junqilian.cnblogs.com 
转载请保留此信息。
本文转自峻祁连. Moving to Cloud/Mobile博客园博客,原文链接:http://www.cnblogs.com/junqilian/archive/2012/10/26/2741530.html ,如需转载请自行联系原作者
相关文章
|
12月前
|
XML 前端开发 JavaScript
什么是Ajax和jquery
什么是Ajax和jquery
83 0
|
6月前
|
JSON 前端开发 Java
利用Spring Boot处理JSON数据实战(包括jQuery,html,ajax)附源码 超详细
利用Spring Boot处理JSON数据实战(包括jQuery,html,ajax)附源码 超详细
132 0
|
6月前
|
敏捷开发 JavaScript 前端开发
❤❤❤【Vue.js最新版】sd.js基于jQuery Ajax最新原生完整版for凯哥API版本❤❤❤
❤❤❤【Vue.js最新版】sd.js基于jQuery Ajax最新原生完整版for凯哥API版本❤❤❤
|
6月前
|
前端开发 JavaScript
Jquery ajax捕获错误信息
Jquery ajax捕获错误信息
52 0
|
6月前
|
JSON 缓存 前端开发
Jquery中AJAX的应用
Jquery中AJAX的应用
75 0
|
6月前
|
JSON 前端开发 JavaScript
jQuery中ajax的使用
jQuery中ajax的使用
|
6月前
|
XML JavaScript 前端开发
【Web智能聊天客服】之JavaScript、jQuery、AJAX讲解及实例(超详细必看 附源码)
【Web智能聊天客服】之JavaScript、jQuery、AJAX讲解及实例(超详细必看 附源码)
88 0