Skip to content

This is WordPress plugin for posting the location information

Notifications You must be signed in to change notification settings

TomckySan/kodamaps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== 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: baba@robox.org

About

This is WordPress plugin for posting the location information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 58.5%
  • CoffeeScript 40.8%
  • CSS 0.7%