Warning: Declaration of meisterpixelproduct_walker_nav_menu::end_el(&$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/functions.php on line 130

Warning: Declaration of meisterpixelproductselect_walker_nav_menu::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/functions.php on line 155

Warning: Declaration of meisterpixelproductselect_walker_nav_menu::end_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/functions.php on line 155

Warning: Declaration of meisterpixelproductselect_walker_nav_menu::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/functions.php on line 155

Warning: Declaration of meisterpixelproductselect_walker_nav_menu::end_el(&$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/functions.php on line 155

Warning: Declaration of Walker_Nav_Menu_Dropdown::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/lib/nav-menu-dropdown.php on line 39

Warning: Declaration of Walker_Nav_Menu_Dropdown::end_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/lib/nav-menu-dropdown.php on line 39

Warning: Declaration of Walker_Nav_Menu_Dropdown::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/lib/nav-menu-dropdown.php on line 39

Warning: Declaration of Walker_Nav_Menu_Dropdown::end_el(&$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /homepages/2/d498969063/htdocs/interactive-map-builder/wp-content/themes/meisterpixelproduct/lib/nav-menu-dropdown.php on line 39
Hide regions - Interactive Map Builder
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.

Interactive Map with Regions of Brazil

This is an example map of Brazil showing all the available regions:

You can execute any JavaScript when a region is clicked. For example, you can replace this text. Please click on one of the regions of Brazil to see it.

The administration panel for this map looks like this:

Our map builder and a map of Brazil Our map builder and a map of Brazil while a region is edited Our map builder and a map of Brazil while editing the map template

This map contains the following regions:

Continue reading

How to Show only France

This is an interactive map of France without showing the other countries:

If you pick France in the region box, you will see all surrounding continents. To hide all of them, you will an additional CSS rule. If you want to add it to an existing map, then follow these steps:

  1. Open your map in the map builder. (If you want to create a new map, you can simply skip all the steps and use the download button from below.)
  2. Make sure that in the right column the resolution is set to “Province borders”. Otherwise, this method won’t work.
  3. Click on “Map Template”.
  4. Append the following CSS to your existing styles:
    #{cssid} svg g:nth-child(1) > g:nth-child(1) > path:nth-child(n+1):nth-child(-n+128) {
      display: none;
    }
    
  5. Click on “Update Preview” to see the changes.

This will manually hide all elements within the SVG graphic that belong to the other countries. If you haven’t created a map yet, you skip the steps from above and import the following:

Name Value Description
Region France 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 Regions 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 Off 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} {
 
}

#{cssid} svg g:nth-child(1) > g:nth-child(1) > path:nth-child(n+1):nth-child(-n+128) {
  display: none;
}
HTML
<div id="{cssid}">
  %%map%%
</div>

JavaScript

Executed when a marker/region is clicked.

Click value can be defined for each map element.

Color Name Click Value
Empty table

How to Show only Africa

This is an interactive map of Africa without showing the other continents:

The default map of Africa shows all surrounding continents. To hide all of them, you will an additional CSS rule. If you want to add it to an existing map, then follow these steps:

  1. Open your map in the map builder
  2. Click on “Map Template”.
  3. Append the following CSS to your existing styles:
    #{cssid} svg g:nth-child(1) > g:nth-child(1) > path:nth-child(n+1):nth-child(-n+518) {
      display: none;
    }
    
  4. Click on “Update Preview” to see the changes.

This will manually hide all elements within the SVG graphic that belong to the other continents. If you haven’t created a map yet, you skip the steps from above and import the following:

Name Value Description
Region Africa 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 350 Height of the map in pixel. 'Auto' means that the map is centered in the available height.
Display mode Regions Specifies the display mode of the map.
Border resolution Countries 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 Off 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} {
 
}
#{cssid} svg g:nth-child(1) > g:nth-child(1) > path:nth-child(n+1):nth-child(-n+518) {
  display: none;
}
HTML
<div id="{cssid}">
  %%map%%
</div>

JavaScript

Executed when a marker/region is clicked.

Click value can be defined for each map element.

Color Name Click Value
Empty table

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.