Title: US Heat Map
Author: athangirala
Published: <strong>29.04.2016</strong>
Last modified: 29.04.2016

---

Поиск плагинов

![](https://ps.w.org/us-heat-map/assets/banner-772x250.png?rev=1407025)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/us-heat-map/assets/icon-256x256.png?rev=1407047)

# US Heat Map

 Автор: [athangirala](https://profiles.wordpress.org/athangirala/)

[Скачать](https://downloads.wordpress.org/plugin/us-heat-map.zip)

 * [Детали](https://ru.wordpress.org/plugins/us-heat-map/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/us-heat-map/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/us-heat-map/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/us-heat-map/#developers)

 [Поддержка](https://wordpress.org/support/plugin/us-heat-map/)

## Описание

A plugin that allows users to easily show a «heat distribution» of data across a
usmap. For example, if you wanted to show which states your company’s representatives
are in, each state would correspond to the number of representatives. This would
be converted to graphically show on a US map. All you need is an initial color of
the state (representing 0) and the color that represents the highest value within
all the states. This plugin will then calculate the colors of all the other states
and graphically display it.

This is a very simple plugin that provides some graphical distribution across the
U.S. map. I hope you find it useful to your site!

## Скриншоты

[⌊Shows what the shortcode parameters correspond to on the map.⌉⌊Shows what the 
shortcode parameters correspond to on the map.⌉[

Shows what the shortcode parameters correspond to on the map.

## Установка

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the [usHeatMap] shortcode and then add two letter (lowercase) abbreviations
    as parameters. There is no admin screen (everything done by shortcode).
 4. Change the shortcode parameters to suit your need. The list of parametes are shown
    below with an example value. Colors need to be in the RGB format, exactly as shown(«
    rgb(x,x,x)»). For text, you can put plain text or any basic html. Further, for 
    the «text_after_clicking» variable, you can specifiy the state variable and the
    respective count dynamically as $state_name and $state_count.

* initial_state_color=»‘rgb(255,218,185)» * final_state_color=»rgb(207,83,0)» * 
panel_color=»rgb(255,218,185)» * panel_body_text=»**Number of representatives**»*
panel_footer_text=»**Representative statistics**» * hover_styles_color=»rgb(0,191,255)»*
text_after_clicking=»There are $state_count representatives in $state_name»

 1. An example of the state parameters is added below. Make sure that parameter names
    are lowercase, and there is only one space between the end of one parameter value
    and the start of the next parameter name. [usHeatMap panel_color=»rgb(255,218,185)»
    initial_state_color=»‘rgb(255,218,185)» final_state_color=»rgb(207,83,0)» panel_body_text
    =»**Number of representatives**» panel_footer_text=»**Representative statistics**»
    hover_styles_color=»rgb(0,191,255)» text_after_clicking=»There are $state_count
    representatives in $state_name» al=»0″ ak=»0″ as=»0″ az=»0″ ar=»0″ ca=»0″ co=»0″
    ct=»0″ de=»0″ dc=»0″ fm=»0″ fl=»0″ ga=»0″ gu=»0″ hi=»0″ id=»0″ il=»0″ in=»0″ ia
    =»0″ ks=»0″ ky=»0″ la=»0″ me=»0″ mh=»0″ md=»0″ ma=»0″ mi=»0″ mn=»0″ ms=»0″ mo=»
    0″ mt=»0″ ne=»0″ nv=»0″ nh=»0″ nj=»0″ nm=»0″ ny=»0″ nc=»0″ nd=»0″ mp=»0″ oh=»0″
    ok=»0″ or=»0″ pw=»0″ pa=»0″ pr=»0″ ri=»0″ sc=»0″ sd=»0″ tn=»0″ tx=»1″ ut=»0″ vt
    =»0″ vi=»0″ va=»0″ wa=»0″ wv=»0″ wi=»0″ wy=»0″]

## Часто задаваемые вопросы

  I have activated the plugin, now what?

The plugin works entirely through shortcode. In this case the shortcode, is [usHeatMap].
This means that to show up in a page, you should simply add «[usHeatMap]» in the
page.

  What are all the options (or parameters) for the shortcode?

The options will allow you to add numbers to the states, change colors, and change
text to your liking. States not in the shortcode will be defaulted to 0. Colors 
are defaulted to an orange-red theme. An example that has all the options is the
following:

[usHeatMap panel_color=»rgb(255,218,185)» initial_state_color=»‘rgb(255,218,185)»
final_state_color=»rgb(207,83,0)» panel_body_text=»**Number of representatives**»
panel_footer_text=»**Representative statistics**» hover_styles_color=»rgb(0,191,255)»
text_after_clicking=»There are $state_count representatives in $state_name» al=»
0″ ak=»0″ as=»0″ az=»0″ ar=»0″ ca=»0″ co=»0″ ct=»0″ de=»0″ dc=»0″ fm=»0″ fl=»0″ 
ga=»0″ gu=»0″ hi=»0″ id=»0″ il=»0″ in=»0″ ia=»0″ ks=»0″ ky=»0″ la=»0″ me=»0″ mh=»
0″ md=»0″ ma=»0″ mi=»0″ mn=»0″ ms=»0″ mo=»0″ mt=»0″ ne=»0″ nv=»0″ nh=»0″ nj=»0″ 
nm=»0″ ny=»0″ nc=»0″ nd=»0″ mp=»0″ oh=»0″ ok=»0″ or=»0″ pw=»0″ pa=»0″ pr=»0″ ri=»
0″ sc=»0″ sd=»0″ tn=»0″ tx=»1″ ut=»0″ vt=»0″ vi=»0″ va=»0″ wa=»0″ wv=»0″ wi=»0″ 
wy=»0″]

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«US Heat Map» — проект с открытым исходным кодом. В развитие плагина внесли свой
вклад следующие участники:

Участники

 *   [ athangirala ](https://profiles.wordpress.org/athangirala/)

[Перевести «US Heat Map» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/us-heat-map)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/us-heat-map/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/us-heat-map/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/us-heat-map/) по [RSS](https://plugins.trac.wordpress.org/log/us-heat-map/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0

 * Version 1.0

## Мета

 *  Версия **1.0**
 *  Обновление: **10 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 1.0 или выше **
 *  Совместим вплоть до: **1.0**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/us-heat-map/)
 * Метки:
 * [distribution](https://ru.wordpress.org/plugins/tags/distribution/)[map](https://ru.wordpress.org/plugins/tags/map/)
   [US](https://ru.wordpress.org/plugins/tags/us/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/us-heat-map/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/us-heat-map/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/us-heat-map/reviews/)

## Участники

 *   [ athangirala ](https://profiles.wordpress.org/athangirala/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/us-heat-map/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://utdirect.utexas.edu/apps/utgiving/online/nlogon/?source=GIV)