Mapoza Click-to-Load for Google Maps

描述

Mapoza Click-to-Load for Google Maps lets you embed Google Maps in a privacy-friendly and performance-friendly way.

Instead of loading the Google Maps iframe immediately, the plugin shows a placeholder and button first. The map is only loaded after the visitor clicks.

Features:
* Shortcode-based map embedding
* Loads Google Maps iframe embeds on click
* Default settings for height, button text, and privacy message
* Translation-ready
* Lightweight and easy to use

Example shortcode:

[mapoza_ctlgm_google_map embed_url=”https://www.google.com/maps/embed?pb=…” height=”450px” button_text=”Load map”]

屏幕截图

  • Placeholder before the map loads
  • Loaded map after click
  • Plugin settings page

安装

  1. Upload the plugin files to the /wp-content/plugins/mapoza-click-to-load-for-google-maps directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to Settings > Click to Load Maps to configure defaults.
  4. Add the shortcode to a page or post.

常见问题

What kind of URLs are supported?

This plugin supports Google Maps embed URLs copied from Google Maps via Share > Embed a map.

Does this plugin use the Google Maps JavaScript API?

No. Version 1.0.0 supports iframe embeds only.

Can I style the output?

Yes. You can pass an extra class via the shortcode class attribute and target it in your own CSS.

评价

此插件暂无评价。

贡献者及开发者

「Mapoza Click-to-Load for Google Maps」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • Improved default button text and privacy message
  • Minor UI and UX improvements
  • Updated plugin assets and listing presentation

1.0.0

  • Initial release