Running the Example
 
 

To run the example, perform the following steps:

  1. Save it where it is accessible by your web server.

    For this example, name it hellomap.php, and save it in the www\devguide directory.

  2. Using Studio, create or modify a web layout. Create a new command. Name the command Hello Map. Set the command type to Invoke URL. Set the command URL to the URL of hellomap.php.

    ../devguide/hellomap.php

  3. Add the command to the Task Menu of the web layout.
  4. Open a web browser to the URL of the web layout. The URL is available when you edit the layout using Studio. Use either the DWF Viewer or the AJAX Viewer.
  5. Select Hello Map from the task list. Click Tasks (at the top right of the Viewer windows), and select Hello Map.

    The task pane displays basic information about the map.