WordPress.org

日本語

プラグインディレクトリ

Test out the new Plugin Directory and let us know what you think.

Simple Map

Google マップを簡単に埋め込むことができます。

Easy way to embed google map(s) using gmaps.js.

This plugin allows you to convert address into google maps like below:

[map]San Francisco, California[/map]

Another way, you can embed Google Map with url only like oEmbed.

You can also use coordinates, set width, height and zoom:

[map lat="37.77493" lng="-122.41942"]
Text you would
like to appear
as a tooltip
goes here
[/map]

In this case there will be a marker on the map with a tooltip appearing on click on the said marker. You can use simple html as the tooltip content.

This plugin is maintained on GitHub.

特徴

  • Allows you to embed google map based on shortcode.
  • Markers can be added using address or lat/long.
  • Displays static map for iPhone automatically.
  • oEmbed Support.

Arguments

  • width: Width of the map. Default value is "100%".
  • height: Height of the map. Default value is "200px".
  • zoom: Zoom of the map. Default value is "16".
  • breakpoint: If display is narrower than this value, this plugin will display static map. Default value is "480".
  • addr: Address of the map you want to place.
  • lat: Lat of the map you want to place.
  • lng: Lng of the map you want to place.
  • infowindow: If you want to open infoWindow by Default, please set "open".
  • map_type_control: True or Flase.
  • map_type_id: 'ROADMAP' or 'SATELLITE' or 'HYBRID' or 'TERRAIN'.

If you will set lat/lng and address, this plugin gives priority to lat/lng.

Filter Hooks

This plugin has some filter hooks for customize default.

  • simplemap_default_width
  • simplemap_default_height
  • simplemap_default_zoom
  • simplemap_default_breakpoint
  • simplemap_default_infowindow
add_filter( 'simplemap_default_zoom', function(){
    return 10; // Default zoom is 10
} );

翻訳者

Please contact me.

貢献者

Requires: 3.9 or higher
Compatible up to: 4.7.3
最終更新: 4か月 ago
有効化済みインストール: 40,000+

評価

4.7 (5点満点中)

サポート

意見や質問がありますか ?

互換性

+
=
Not enough data

0人が動作すると言っています。
0人が動作しないと言っています。

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
0,1,0
0,1,0