Share via


Show All

Show All

Save a map as a Web page

When you save a map as a Web page, a collection of graphics files (.gif files) is saved along with the Web page (.htm file) in folder layout. For example, if you save a map as a Web page with the file name MyMap.htm in a folder named My Documents, then a subfolder is created under My Documents named MyMap_files that contains the collection of graphics files. To accomplish this task, you must have permissions to create folders on your computer.

  1. Determine what you want to include on the Web page, and then prepare your map file:

    To include hyperlinks

    Associate hyperlinks with Pushpins or data on your map.

    How?

    To include driving directions

    1. Create a route on the map.
    2. Show the Directions pane.
    3. Expand or collapse directions by clicking Expand/collapse button on the Directions pane.

    To include the map legend

    1. Open the Legend and Overview pane.
    2. Expand the legend sections you want to include.

    To include an image of the map

    Navigate to get the view of the map that you want.

    - or -

    Use the Select tool  Select button on the Navigation toolbar to select an area of the map.

  2. On the File menu, click Save as Web Page.

  3. In the Title box, type the title you want to appear as the heading.

    Note  This title will also appear in the Manage Saved Web Pages dialog box.

  4. In the Items to Save section, select the check boxes next to the items that you want included on your Web page:

    Map  Includes the current map view or the selected area on the map.

    Note  This map view cannot be changed after the Web page is saved.

    Include hyperlinks  Includes the hyperlinks associated with your map. This option is available only if Map is also selected.

    Create a thumbnail page  Creates an additional Web page that includes a thumbnail image of the map that links to your Web page. This option is available only if Map is also selected.

    Click to see an example of a thumbnail page.

    Thumbnail page that links to Web page

    Driving Directions  Includes driving directions for the route on your map. This option is available only if a route has been calculated on your map.

    Map legend  Includes the expanded sections of the open map legend.

    Overview Map  Includes the Overview Map.

    Create a hyperlink to a separate copy of this map file (.ptm)  Creates a separate copy of your map file in the same location as your Web page and adds a hyperlink to that file on your Web page.

  5. To change the dimensions of the map from the current map view, type new dimensions in the Width and Height boxes.

    Notes

    The default width and height represent the current map view or selected area as it appears on your screen, not the other elements of the Web page. Changing the default value changes the map view saved to the Web page. For example, if you increase the width and height, it has the same effect as making your map window larger to show more geography while keeping the same elevation.

    The width and height must be between 32 and 3,500 pixels.

  6. In the File name box, type the location and file name you want for your Web page.

    Note  If you selected Create a thumbnail page, this is the name and location of the thumbnail page. The main Web page will have the same file name, but will be located in the graphics subfolder.

  7. To automatically update your Web page with any changes you make to your map every time changes are saved to the map file (.ptm), click AutoSave as Web page every time this map is saved.

  8. To automatically open your new Web page after you've finished creating it, click Open saved Web page in browser now.

  9. Click OK.

Note  Remember that copyright rules apply to maps.

Tip  You can save multiple Web pages from a single map file, each showing a different map view or combination of any of the other options. Just be sure to save each Web page with a unique file name in step 6. You may also want to give each Web page a unique title in step 3.

Change options for a saved Web page

Change a saved Web page

About automatically updating a Web page

Work with the MapPoint window

About using hyperlinks in MapPoint

About copyrighted material