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.
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:
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.)
Make sure that in the right column the resolution is set to “Province borders”. Otherwise, this method won’t work.
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:
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.
If you want to use this map, you can simply click on the download button below. This map mainly uses two techniques: CSS for a custom crop and CSS to hide regions. If you import the map, you will find the CSS in the map template.
If you pick the region Southern Europe, you will see all surrounding countries of France, Spain and Portugal. To hide all of them, you will need an additional CSS rule. If you want to add it to an existing map, then follow these steps: