ArcGIS server9.2 Learning and Development (3) -- use the map control

Source: Internet
Author: User
In ArcGIS server9.2 learning and development (2) -- installation and configuration, we talked about the installation, as flyingis mentioned in the comments below, in the following three figures:

Figure 1

Figure 2

Figure 3
The username and password in the three images are entered into the operating system login name and password (the password cannot be blank or less than 6 characters ), in this way, the three usernames and passwords described by flyingis are the same, so that many usernames are not displayed when you log on to the operating system.

Now let's get started with the question. From now on, a series of Essays will explain ArcGIS Server for the Microsoft.. NET Framework is installed with Visual Studio. the basic usage of various controls during GIS development on net2005 computers is to provide some help to my first friends who contact ArcGIS server9.2.
This time we will explain how to use map controls. Before development, we need to prepare the electronic map service (create it in ArcGIS Server Manager. For details about the electronic map service creation, refer to idea ), the electronic map service is named "mapserver0 ".
After installing ArcGIS Server for the Microsoft. NET Framework on a computer with Visual Studio. net2005, the "ArcGIS Web controls" tab appears in the toolbox. The following controls are available:

1. Create a new website named "arcgisstudy" in Visual Studio. net2005 ".
2. In the website solution, add a new ASPX page named "mapctrluse. aspx ".
3. Add the map control and mapresourcemanager control to the new web page, respectively named "map1" and "mapresourcemanager1 ". The map control can be bound with the mapresourcemanager control to display electronic maps. The mapresourcemanager control requests the electronic map service.
4. Set the attribute "resourceitems" of mapresourcemanager1, and click "add" in the pop-up window. For example:

5. Set the "Definition" attribute of mapresourceitem0. For example:

6. Set the mapresourcemanager attribute of map1 to mapresourcemanager1.
7. Set mapctrluse. aspx to the start page and run the arcgisstudy website, for example:

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.