This is an example map of Brazil showing all the available regions:
The administration panel for this map looks like this:
This map contains the following regions:
Continue readingAll 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 example map of Brazil showing all the available regions:
The administration panel for this map looks like this:
This map contains the following regions:
Continue readingThis 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:
#{cssid} svg g:nth-child(1) > g:nth-child(1) > path:nth-child(n+1):nth-child(-n+128) { display: none; }
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 |
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:
#{cssid} svg g:nth-child(1) > g:nth-child(1) > path:nth-child(n+1):nth-child(-n+518) { display: none; }
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 |