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.