[Map 3D development practices series] Map Resource Explorer-what is the use? How to use it?

Source: Internet
Author: User

I have introduced the implementation method of this tool. Now let's take a look at the usefulness of this tool. We all know that Map 3D connects to various data sources through FDO (including SDF, shp, Oracle, and so on), but what happened under the interface mask in this process? You can use this tool to get some inspiration. This gives us a deeper understanding of how to develop a Map-based 3D application.

 

You can take a look at this video. I am not very good at English. You will take a look at it :)

 

 

This video and source code are all published on the Map 3D Developer Center. If you are interested in Map 3D development, you can check the address www.autodesk.com/developmap at any time.

DevTV: AutoCAD Map 3D Resource Explorer
A self-paced video tutorial demonstrating AutoCAD Map 3D resources and relevant Geospatial Platform API to access, edit and update them on the fly.
View online | Download

Let me briefly explain how to use this tool. First, load the MapResourceExplorer assembly by using the netload command, and a panel appears, listing all resources in Map 3D.

Now I connect to a data source through the Map 3D interface, such as connecting to the SDF file. When I click the Connect button, pay attention to the MapResourceExplorer window. A new FeatureSource has been added, which is the work done by the underlying layer of Map 3D, connecting to the data source actually creates a featuresource resource.

Then add the resource to the map and click "add to map". A resource named LayerDefiniation is added in the MapResourceExplorer window, to add a map, you need to create a layer for the data source, that is, Layerdefiniation resource.

Right-click a layer resource in MapResourceExplorer and view its resource content. We will get an xml document. This xml document defines the display style of layers and other information. To better understand the meaning of these xml documents, I can modify the xml content and submit it to Repository for storage, and then see what changes have taken place on the drawing, in this way, we can have a deeper understanding of the meaning of all resource content, and be more confident in future development.

If there is a Thickness under LineRule and the original value is 0, I will change it to 0.3. What will happen? After saving the changes, refresh the map (move the mouse to refresh the map) and you will find that the lines will become thicker. The original line width is controlled.

Well, this is a simple application. You can use this tool to explore more internal world of Map 3D.

If you want to know the creation process of this tool, read the previous article:

[Map 3D development practices series] background of Map Resource Explorer -- Kick off

[Map 3D development practices series] Map Resource Explorer 2-running and debugging

[Map 3D development practices series] Map Resource Explorer 3 -- add an AutoCAD-style Palette Interface

[Map 3D development practices series] Map Resource Explorer 4 -- WPF in Map3D Development

[Map 3D development practices series] Map Resource Explorer 5-Interface Design

[Map 3D Development Series] Map Resource Explorer 6-Resource operations and Data Binding

[Map 3D development practices series] Map Resource Explorer 7-view Resource content and Resource references

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.