Using ArcGIS server, we have developed an entire system using AJAX technology. Since ArcGIS server web contents refershes the whole page whenever any action is taken. We have developed from scratch all tools (zoomin, zoom out, identify and other functions using simple HTML /Javascripts controls only)
The most difficult part was the creating of the TOC using Ajax.
This project contains a sample code of how to generate the table of content with the symbols in HTML format
To run the project you need to set impersonation in the Web.config
hhhh = hostname
xxxx = username
pppp = password
example
in the QueryAjax.aspx
you have to set the following variables
'------------ Here you put your parameters to create the map ---------------
Private Const m_sServerName As String = "master"
Private Const m_sServerObject As String = "allds"
Private Const m_sDataFrame As String = "layers"
This sample code is being written by :
Hussein AlSayegh
EDN:
M.Hussein
|