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.