A simple example of using remoting technology and MapX to implement WebGIS.

Source: Internet
Author: User

Form1 is the mapserver and the webpage is the mapclient.
You need to install mapx4. 5
General process:
Send a request from the Asp.net webpage to the server,
After receiving the request, MapX refreshes the image to the memory bitmap and converts it to a byte [] request event sent back to the Asp.net Webpage Through remoting to generate an image file.
For details, seeCodeRight. It's very simple. It's a bit messy to write. Let's take a look at it. It's mainly a remoting test.
If you are interested and familiar with MapX development, you can use this technical framework to get a WebGIS.
MapX is really a fun toy GIS, haha.

We were there two years ago. net implements the release of WebGIS that seamlessly integrates multiple GIS engines (similar to the model drawn by Mars yesterday). However, so far, we have used COM + as the application server layer. No more technical details.

Code download
Http://files.cnblogs.com/edison1024/WebGis.rar

Decompress the package and publish the mapclient folder in IIS. Run mapserver, click the shortcut cut, and use testclinet.
Test it. After successful access, you can access http: //.../mapclient/default. aspx.

Finally, you must install mapx4.5.

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.