Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 14, 2014
May 14, 2014

#Japan Map (jQuery plugin)

jQuery plugin to show clickable map of prefectures (or area) of Japan.

[Download, Quick Start, Examples, Usage] (http://takemaru-hirai.github.io/japan-map/)

Installation

Include the script after the jQuery library:

<script src="/path/to/jquery.japan-map.js"></script>

Usage

Creating the clickable map of Japan:

$(target).japanMap( options );

EXAMPLE - Alert prefecture name when clicked:

$(target).japanMap({
    onSelect : function(data){
        alert(data.name);     // "北海道" (Hokkaido) will be shown on dialog when you click Hokkaido Island.
    }
});

Please visit [the Project Page] (http://takemaru-hirai.github.io/japan-map/) to see more informations.

Authors

Takemaru Hirai

##License

Japan Map is released under the MIT License.

About

jQuery plugin to show clickable map of prefectures (or area) of Japan.

Resources

License

Packages

No packages published