该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Styled Google Maps Block

描述

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

  • Use the Google’s Map Styling Wizard to fully customize the appearance of your maps.
  • Use pre-made themes from Snazzy Maps.
  • Switch between roadmap, satellite, hybrid, and terrain backgrounds.
  • Display navigational directions from one point to another.
  • Embed an interactive street view.
  • Display multiple Google Maps search results.

区块

该插件提供了1个区块.

  • Styled Google Maps A highly-customizable Google Maps block. Supports custom themes, navigational directions, and Google Street View.

常见问题

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.

评价

此插件暂无评价。

贡献者及开发者

“Styled Google Maps Block” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Styled Google Maps Block」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Styled Google Maps Block”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release