My Maps

描述

My Maps is a simple and lightweight WordPress plugin that allows you to easily embed Google Maps on your site using shortcodes.

With this plugin, you can:
– Create custom maps and assign them to shortcodes.
– Add a single location to the map by specifying a valid address.
– Display the map anywhere on your site using the shortcode: [my-map id="8"], where id is the unique identifier of the map.

Shortcode also supports the following optional parameters:
width – sets the width of the map
height – sets the height of the map
zoom – sets the zoom level of the map

Example:
[my-map id=”8″ width=”800″ height=”600″ zoom=”14″]

Perfect for contact pages, location previews, or any situation where a map with a single address pin is required.

屏幕截图

  • Admin table listing all created map shortcodes.
  • Map creation form where you enter the map title and address.

安装

  1. Upload the plugin to the /wp-content/plugins/ directory or install it using the WordPress plugin installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the “My Maps” menu in the admin panel to create your maps and generate shortcodes.

常见问题

How do I embed a map on my site?

Use the shortcode [my-map id="X"], where X is the ID of the map you’ve created. You can optionally add parameters: width, height, zoom.

Can I add more than one location to the map?

Currently, the plugin supports only one location per map based on an address.

评价

此插件暂无评价。

贡献者及开发者

「My Maps」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「My Maps」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.1.3

  • Tested up to WordPress 6.9.0

1.1.2

  • Added support for installing a plugin for the multisite.

1.1.1

  • Change help.

1.1.0

  • Complete code refactoring.

1.0

  • Initial release – allows creation of maps with single address markers and embedding via shortcode.