ArcGIS server9.2 Learning and Development (4) -- use the TOC Control

Source: Internet
Author: User
In learning and developing ArcGIS server9.2 (3) -- using map controls, the basic usage of map controls provided by ArcGIS server9.2 is explained. However, only map controls are far from enough, we also need a lot of controls for Electronic Map operations that can be displayed on the map control. ArcGIS server9.2 also provides us with this control. Here we will explain the control TOC that can control the Map Display layer.
The procedure is as follows:
1. still use the arcgisstudy website created in ArcGIS server9.2 Learning and Development (3) -- use map control. Add a new web page and name it "tocctrluse. aspx ".
2. In tocctrluse. the map control and mapresourcemanager control are also placed on the ASPX page, and configured according to the steps described in "ArcGIS server9.2 Learning and Development (3) -- use map control" to enable the map control to browse electronic maps.
3. Place a TOC control on the web page and set its attribute "buddycontrol" to "map1 ".
4. Set tocctrluse. aspx to the start page and run the arcgisstudy website. For example:

All layers are displayed (the key unit _ font_point is the "point" layer, the double road_polyline is the "line" layer, and the area _ region is the "area" layer)

Point layer not displayed

Line layer not displayed

Surface Layer not displayed

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.