This plugin is possible to post the location information, and can be embedded google maps.
Author: | Tomoka Baba (Robox.org) (profile at wordpress.org) |
WordPress version required: | 4.1.1 |
WordPress version tested: | 4.1.2 |
Plugin version: | 0.2.0 |
Added to WordPress repository: | 01-04-2015 |
Last updated: | 23-04-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/RoboxOrg/kodamaps |
Total downloads: | 321 |
Click to start download |
This plugin is possible to post the location information, and can be embedded google maps that set up a marker at the location by shortcode.
First, let's edit the post. Enter an address or latitude and longitude to input area of Kodamaps.
How to embed is as follows:
[kodamaps]
You can decide whether put markers of all the posts or a marker of single post by specifying the type.
If you want to display all the posts, you can specify the center of the map:
[kodamaps type="all" addr="San Francisco, California"]
You can also set width, height and zoom:
[kodamaps type="all" lat="37.77493" lng="-122.41942" width="300" height="200" zoom="11"]
If you want to use on Custom Post Type, or want to use multiple map in a page, please specify "notuse" to type. In that case, add "no" attribute together. Please set a unique numeric value to "no" attribute:
[kodamaps type="notuse" no=1 addr="San Francisco, California" width="400" height="400" position="right" zoom="10"]
[kodamaps type="notuse" no=2 addr="Tokyo, Japan" width="300" height="300" position="center" zoom="12"]
[kodamaps type="notuse" no=3 addr="Los Angeles, California" width="500" height="500" position="left" zoom="11"]
This plugin is maintained on GitHub.
Arguments
- type: "single" or "all" or "notuse". Default value is "single".
- width: Width of the map (px). Default value is "100%".
- height: Height of the map (px). Default value is "450px".
- position: "right", "center" or "left". Default value is "left".
- zoom: Zoom of the map. Default value is "16".
- addr: Address of the map center. Can be used type is "all" or "notuse".
- lat: Latitude of the map center. Can be used type is "all" or "notuse".
- lng: Longitude of the map center. Can be used type is "all" or "notuse".
- no: Can be used only type is "notuse". Please set a unique numeric value in a page.