Maps made easy

Map examples

All map examples were generated with our plugin. Most examples can be imported directly to your plugin. A download button can be found at the end of each example page.

Map of Hawaii

This is a sample map of Hawaii showing the ten biggest cities:

Map of Hawaii showing the ten biggest cities. You could also use the space below the map for any other information.
Name Population
1 Honolulu 371,657
2 Pearl City, Manana 47,698
3 Hilo 43,263
4 Kailua 38,635
5 Waipahu 38,216
6 Kāne‘ohe 34,597
7 Mililani Town 27,629
8 Kahului 26,337
9 ‘Ewa Gentry 22,690
10 Kīhei 20,881

Try to hover over the cluttered markers and you will see a magnifying glass that will open to show the markers in more detail.

The magnifying glass is automatically activated when there are overlapping markers on the map.

The map configuration can be found here:

Name Value Description
Region Hawaii List with all available regions
Width auto Width of the map in pixel. 'Auto' means that the map is centered in the available width.
Height auto Height of the map in pixel. 'Auto' means that the map is centered in the available height.
Display mode Markers Specifies the display mode of the map.
Border resolution Provinces The resolution of the map borders.
Tooltips On Allows to display a tooltip for highlighted map elements.
Tooltips: Trigger focus The user interaction that causes the tooltip to be displayed.
Tooltips: Use HTML On Specifies if the tooltips should use HTML. This allows to customize the tooltips even more. For example, if this property is on, it is possible to display images wihtin the tooltip.
CSS
#{cssid} .google-visualization-tooltip {
 white-space: nowrap;
}
#{cssid} {
  margin-right: 300px;
}
#{cssid} circle {
  cursor: pointer;
}
#{cssid} .map_left {
 float: left;
  width: 100%;
  padding: 10px;
  margin: 0 10px;
  background-color: #f5f5f5;
  border-radius: 10px;
}
#{cssid} .map_left {
  font-size: 11px;
}
#{cssid} .map_right {
 float: right;
 margin-right: -300px;
 width: 280px;
}
#{cssid} tr.active td {
  background-color: #f5f5f5;
  font-weight: bold;
}
HTML
<div id="{cssid}">
  <div class="map_left">
    %%map%%
    <div class="map_caption">
      <strong>Map of Hawaii showing the ten biggest cities.</strong> You could also use the space below the map for any other information. 
    </div>
  </div>
  <div class="map_right">
    <table class="table">
      <tr>
        <th></th>
        <th>Name</th>
        <th>Population</th>
      </tr>
      <tr id="hon">
        <td>1</td>
        <td>Honolulu </td>
        <td>371,657</td>
      </tr>
      <tr id="pea">
        <td>2</td>
        <td>Pearl City, Manana</td>
        <td>47,698</td>
      </tr>
      <tr id="hil">
        <td>3</td>
        <td>Hilo</td>
        <td>43,263</td>
      </tr>
      <tr id="kai">
        <td>4</td>
        <td>Kailua </td>
        <td>38,635</td>
      </tr>
      <tr id="wai">
        <td>5</td>
        <td>Waipahu</td>
        <td>38,216</td>
      </tr>
      <tr id="kan">
        <td>6</td>
        <td>Kāne‘ohe</td>
        <td>34,597</td>
      </tr>
      <tr id="mil">
        <td>7</td>
        <td>Mililani Town</td>
        <td>27,629</td>
      </tr>
      <tr id="kah">
        <td>8</td>
        <td>Kahului</td>
        <td>26,337</td>
      </tr>
      <tr id="ewa">
        <td>9</td>
        <td>‘Ewa Gentry</td>
        <td>22,690</td>
      </tr>
      <tr id="kih">
        <td>10</td>
        <td>Kīhei</td>
        <td>20,881</td>
      </tr>
    </table>
  </div>
  <br style="clear: both;">
</div>

JavaScript

Executed when a marker/region is clicked.

Click value can be defined for each map element.

jQuery("#" + cssid + " .map_right tr.active").removeClass("active");
jQuery("#" + cssid + " .map_right tr#" + click_value).addClass("active");
Color Name Click Value
Honolulu hon
Pearl City, Manana pea
Hilo, Hawaii hil
Kailua , Hawaii kai
Waipahu , Hawaii wai
Kāne‘ohe, Hawaii kan
Mililani Town, Hawaii mil
Kahului, Hawaii kah
‘Ewa Gentry, Hawaii ewa
Kīhei, Hawaii kih

Comments

If you need help or have questions, please leave a comment.


Search

Responsive? Yes!

Our maps are fully responsive. They automatically fit into the available width. Try it by resizing your browser window.

Did you know…

  • All examples are importable to your plugin.
  • We extend our set of examples from time to time. If you think there is an example missing, write us a message and we will try to add it!

User reviews

  • Best map-plugin I could find.
  • Great support. Real fast response. This was exactly what I needed. Very flexible and useful.
  • Was waiting for plugin like this for ages! Customer support is also great.
  • Customer support is excellent and very quick. I have no hesitation in recommending this product.

Example for a sidebar map


All maps can also easily be added to your sidebar.