MapClient

Extract the MapClient archive somewhere on your hard disk. In my case, I extracted it to c:\mapclient. Create a virtual directory on your webserver pointing to this directory; in my case it is "http://localhost/mapclient". You can run everything now from "main.html". If you want not only to read but also to run the examples, go to the "examples" subdirectory. In this directory is a file called . Adapt here the "imagepath" and "imageurl" lines, so that they point to the image directory and URL you installed on the previous page. Next, test if your MapServer can see the examples by typing in the URL to the MapServer executable, followed by the full path to this mapfile, e.g.:
http://localhost/scripts/mapserv.exe?map=c:\mapclient\examples\examples.map
and you should see a map of the world.

If you can see this map, you are almost finished. To run the examples from your own server, you have to specify three things in in each example: the WebServer's address, the path to the MapServer's executable, and the path to the Mapfile. This is done once and for all in , which will be included in all examples. Adapt the first three lines in it to your own configuration.

If you run the "helloworld.html" in the "examples" subdirectory from your webserver, you should see an empty window and a button. . Click the button, and the map of the world will appear in the window . Drag the window, and resize it: the leftmost button should turn red for a while, and the map should be resized to fit the window. The two buttons at the right will iconify the window (click on the icon bottom left to get it back), and maximize it. You are up and running!