![图片[1]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806474664.png)
Your website adds Google Maps with basic interactive features.Google My Mapsis a much more appropriate tool. This article will detail how to use Google My Maps to create and post on a WordPress websiteEmbedded interactive mapsThe
What is Google My Maps?
Google My Maps is a free online service that allows users to customize Google Maps. Maps can beAdd unique markers, points of interest, driving directions, etc., and embed it in your website through code.No need to install a separate WordPress pluginThe
Step 1: Create a new map
First, visit the Google My Maps website and click on "Create a new map".
![图片[2]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806235326.png)
Select base map
Once in the map editor, you can select the base map and add points of interest and layers.
![图片[3]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806251070.png)
Click on the three dots next to "Untitled layer" and select "Rename this layer". Enter the desired name and click "Save".
![图片[4]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806255161.png)
Changing the map style
You can change the appearance of your map by selecting an existing style. Click on the arrow next to "Base Map" to browse and select a style that suits you.
Step 2: Add Points of Interest
Search and add tags
If you just want to create a simple map, you can skip to step four. However, to add richness to the map, points of interest may need to be added. When a visitor clicks on a point of interest, a tooltip pops up that displays the name, description, photos, and video (if available) for that location.
![图片[5]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806292157.png)
Enter the address in the search field and click the "Search" icon Google My Maps will zoom in on the area. If the location already exists in the map, simply click on it and select "Add to map" is available. You can edit this default message, add your own photos and videos, and click the little pencil icon to edit.
![图片[6]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806312327.png)
Customizing Point of Interest Information
Titles and descriptions can be entered, and images and videos can be added to enrich information about points of interest. For example, when creating a map for a restaurant website, you can add photos of the restaurant's exterior to help customers find it, or upload a photography portfolio for a photography studio.
![图片[7]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806321288.png)
Step 3: Add a route
Travel routes can also be added to the map, which can be useful for helping attendees find event locations or recommending sightseeing routes to travel blog readers.
Add a driving, walking or cycling route
Click on the "Add Route" icon at the bottom of the search bar and enter the start and end addresses on the left side of the screen. By default, driving routes are displayed, but you can choose to ride or walk.
![图片[8]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806334497.png)
Drawing customized routes
![图片[9]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806343769.png)
Click on the "Draw a Line" icon below the search bar to select a driving, walking or cycling route. Click on the starting point and draw a line along the route, then click to place a marker when you reach your destination.
Step 4: Publishing Interactive Maps in WordPress
When the map is set up to your satisfaction, you can use theEmbedding iFrame CodeAdd it to the site. First, click on "share (joys, benefits, privileges etc) with others" button to make the map public, enter a map title and description, and then click "recognize".
![图片[10]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806362448.png)
Configuring Shared Settings
Enable the "Anyone with this link can view" switch and click "Share on Drive".
![图片[11]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806374383.png)
Get Embed Code
Click on the three dots icon in the left menu, select "Embed in my website" and copy the generated iFrame code.
![图片[12]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806384591.png)
Adding Custom HTML Blocks in WordPress
![图片[13]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806410066.png)
In the WordPress dashboard, go to the post or page where you want to add an interactive map, open the Gutenberg editor, click the "+" button and search for "HTML" to add a custom HTML block. Paste the Google Maps code into the HTML block and click the "Update" or "Publish" button.
![图片[14]-如何使用 Google 我的地图在WordPress上创建交互式自定义地图-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/uploads/2024/08/2024080806415043.png)
reach a verdict
With the above steps, it is easy to create and customize interactive maps using Google My Maps and embed them into your WordPress website. This not only improves the interactivity of your website, but also provides visitors with a more intuitive geographic information service.
Link to this article:https://www.361sale.com/en/16101/The article is copyrighted and must be reproduced with attribution.




















![表情[wozuimei]-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/themes/zibll/img/smilies/wozuimei.gif)
![表情[baoquan]-光子波动网 | WordPress教程、Elementor教程与故障修复](https://www.361sale.com/wp-content/themes/zibll/img/smilies/baoquan.gif)

No comments