forked from RoboxOrg/kodamaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
76 lines (50 loc) · 2.67 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
=== Kodamaps ===
Contributors: Tomoka Baba (@robox.org)
Tags: google maps, map, shortcode, address, post
Requires at least: 4.1.1
Tested up to: 4.1.1
Stable tag: 0.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This plugin is possible to post the location information, and can be embedded google maps.
== Description ==
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.](https://github.com/RoboxOrg/kodamaps)
= 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.
== Installation ==
* Go to the plugins administration screen in your WordPress admin, click on Add New, search for "Kodamaps" and click on Install Now.
== Screenshots ==
1. Post the location information.
2. Embed the map.
== Changelog ==
= 0.2.0 =
* Display multiple map in a page.
* Specify the position of the map.
* Fixed some bugs.
= 0.1.0 =
* The first release.
== Contact ==
GitHub Issues: https://github.com/RoboxOrg/kodamaps/issues
Email: [email protected]