跳到内容

MapTip

v1.0

aviket · 2016年11月4日 上架

MapTip is a jquery tooltip plugin. It is used to display map of a city or place, when mouse is hovered over the city name. It very easy to use.

正在使用
10+
评分
暂无
累计下载
1,720
最近更新
2016年11月4日
需要 WordPress 3.0+已测试到 4.0.38

贡献者

截图

Tooltip with Image
Tooltip with Image
Tooltip with Headline
Tooltip with Headline

MapTip is a jquery tooltip plugin. It is used to display map of a city or place, when mouse is hovered over the city name. It very easy to use.
The basic tooltip facility is borrowed from tooltipster wordpress plugin.
Link to the Tooltipster Jquery Library: http://iamceege.github.io/tooltipster/
URL for Tooltipster plugin: https://wordpress.org/plugins/tooltipster/

it has 10+ features in the base tooltipster plugin.
example animation, position, title, text, image, speed, delay,icon ,theme, trigger etc.

After installing the plugin, you have to enclose the city name within opening and closing shortcodes like below:
[MapTip]Mumbai[/MapTip]
[MapTip]Jakarta[/MapTip] is capital of indonesia.
We were travelling from [MapTip]New Delhi[/MapTip] to [MapTip]Kolkata[/MapTip]

The plugin refers to Overpass api for finding latitude and longitude from the place name.(http://overpass-api.de/)
You can find more about Overpass API (formerly known as OSM Server Side Scripting) at : http://wiki.openstreetmap.org/wiki/Overpass_API
If the place name is misspelled or it doesn’t exist in openstreetmap database, the tooltip shows
the message “Map Not Found”.
You can use animation values ‘fade’, ‘grow’, ‘swing’, ‘slide’, ‘fall’
You can override default theme (i.e colors, borders and general appearance).
There are four themes available “tooltipster-light” , “tooltipster-noir” , “tooltipster-punk” and “tooltipster-shadow”
There are other options available like delay, animationduration etc.
For using them, you have to pass them as arguments to the shortcode like:
[MapTip animation=”swing”]Mumbai[/MapTip] is capital of Maharashtra

[MapTip theme=”tooltipster-noir”]Pune[/MapTip] is the second most big city of Maharashtra

[MapTip animation=”grow”]new delhi[/MapTip] is capital of India

[MapTip]Chiplun[/MapTip] is a place in konkan region.

The map shown in the tooltip has some default zoom factor. You can override the zoom factor by specifying
it in the shortcode.

[MapTip zoom=”10″]Chiplun[/MapTip] is a place in konkan region.

My friend stays in[MapTip]London[/MapTip].

For getting the map images, Mapquest staticmap api is used.
For more information about staticmap refer: http://www.mapquestapi.com/staticmap/
Both openstreetmap and MapQuest have “Fair Usage Policy” in place , so if
there are too many requests from a single IP, that IP is temporarily blocked.

Known issues:
If there are multiple places with the same name, all the records are returned by the API and
the first one is selected for displaying the map tip. So, you may not see the map of the place you intend to see.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums