MapInfo Development Experience--multi-map related articles

Source: Internet
Author: User

Multiple forms (MDI) are displayed simultaneously, and interoperate with each other it's not difficult, little brother. Here is a description of the multiple Form association processing made up of Mapcontrol in MapInfo.

First look at the effect:

The above multiple related map forms are implemented: load multiple (up to 4) maps in the same form, drag-and-drop maps, zoom operations can be interconnected, and each of the data on the map can be completely different!

Now let me say the implementation process:

To first load multiple maps in the same form, I used UserControl to do this:

public partial class ViewMap:System.Windows.Forms.UserControl

In this viewmap control, I encapsulate all the things that the map control needs (including the method of loading the data, the method of displaying the entities, and so on).

Then declare several events in this control:

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.