Step by Step Instructions to Building Your First Page

OVERVIEW

 

This tutorial provides step-by-step instructions on how to build your own web page starting from a basic template page that we have supplied called basic_template.htm.

 

The elements that are covered are as follows:

 

1.    Selecting an editor for building your pages.

2.    What are the Earth Resource Mapping supplied JavaScript Include files and why is it important that you use the Classes provided.

3.    Adding the Layered View Control to your page using the supplied NCSCreateView function.

4.    Adding a ProgressBar to the page and linking it with a callback to the View Control.

5.    Adding a Toolbar to the page and linking it to the View Control using JavaScript functions.

6.    Adding Callbacks to the View Control which access JavaScript functions to

§         Display the Map Extents based on an extents change event

§         Display the mouse pointer Lat/Long coordinates using the Mouse Down and Mouse Move events.

PREVIOUS KNOWLEDGE REQUIRED

 

To successfully handle this tutorial the user should have a fairly good knowledge of HTML and a basic knowledge of JavaScript coding. In all cases the code to be added is provided in the tutorial and the user asked to copy and paste it into the web page as it develops so even users with limited DHTML skills could work through the process and learn as they go.

Images Used For the Tutorial

 

The tutorial relies fully on the images that are supplied with the Image Web Server installation and also relies on the user having an operational Image Web Server set up. Once the page is complete, the user is encouraged to add their own ECWP image URL’s to experiment with as well as trying to add images from the EarthEtc Image Web Server.