Applies To
SharePoint in Microsoft 365 SharePoint admin center SharePoint operated by 21Vianet

When you add a modern page to a site, you add and customize web parts, which are the building blocks of your page.

This article describes the Maps web part, which allows you to display a map on your page.

Note: The Maps web part is not available in SharePoint Server 2019.

Use the Maps web part to add a map to your page. Simply enter an address or a well known name and your map will appear. You can choose a different map type, such as road or satellite. You can also change the zoom level or give your map pin a friendly name.

Add a Map

  1. If you're not in edit mode already, click Edit at the top right of the page.

  2. Hover your mouse above or below an existing web part or under the title region, click Circled plus sign used to add a modern web part to a page, and then select the Maps web part.

  3. Click Add a title to enter a title for your map.

  4. Enter the address in the search box and click

  5. Select either Road, Satellite, or Hybrid view to choose the default view for the map. 

    Select Map view

  6. To change the zoom level for the map, click + or - in the top left corner of the map.

  7. In the toolbox on the right, choose whether or not you want to display a pin label on your map. If Yes, type the text you want to appear in the Pin label box. You can also change the text for the address shown on the map in the Address to display box.

    Edit Pin Label and Address