Linux 软件免费装

Styled Google Maps Block

开发者 danielshawellis
更新时间 2023年1月11日 12:35
WordPress版本: 6.1.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

theme style block gutenberg google maps map directions street view styled themed

下载

1.0.1 1.0.2

详情介绍:

This Gutenberg block allows you to embed a fully-customizable Google Map into any page.

常见问题:

Do I Need to Generate an API Key to Use This Block?

After installing, you'll be able to view the block immediately. However, Google requires unique API keys to be created for each site. API keys must also be generated before previewing themed maps.

How Do I Generate an API Key?

Follow these steps to generate an API key:

  1. Go to the Google Maps Platform > Credentials page. If you haven't already, you may need to create an account and a Google Cloud project here.
  2. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key.
  3. Copy the new API key and paste it into the API key field in the block settings.
  4. Go to the Google Maps Embed API page, ensure that the correct project is selected, and click Enable.
  5. If you're using the themed map mode, go to the Google Maps JavaScript API page, ensure that the correct project is selected, and click Enable. This is a pay-as-you-go API, so be aware that you may incur charges.
  6. Optionally, you can restrict your API keys to improve security. Google strongly recommends this.

更新日志:

1.0.0