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

Advanced Maps Block

描述

A Google Maps implementation for the WordPress block editor. This plugin has no functionality for the Classic Editor. Designed to be a feature rich implementation for Google Maps, this plugin requires a Google Maps JavaScript API key for use.

Features

  • Unlimited marker locations
    • Specific map center or based on marker locations
  • Unlimited style options
  • Simple map options for height, zoom, default UI, and scrolling
  • Align as default, wide, and full-width

区块

该插件提供了1个区块.

  • Advanced Maps Block

安装

  1. Upload the plugin files to the /wp-content/plugins/advanced-maps-block directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Aquire a Google Maps JavaScript API key from the Google Cloud Platform Console. Ensure the API key has the “Maps JavaScript API” and the “Geocoding API” enabled.
  4. Add the “Advanced Map Block” to any page or post using the block editor. The block will prompt you for your API key. You will only need to add the API key once and will be able to add as many Advanced Maps Blocks as you need after adding the API key.

评价

2024 年 6 月 12 日
This plugin is useful but not yet fully compatible with the block widgets editor: Function wp_enqueue_script() was called incorrectly. “wp-editor” script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets).  I hope you can find the time to fix this as this so far appears to be the best google maps block plugin available.
阅读所有1条评价

贡献者及开发者

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

贡献者

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

对开发感兴趣吗?

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