This is a sample map showing Central and South America together. The plugin normally only allows to show North, Central or South America alone or all together on a map. The given map was created by applying specific CSS rules. We recommend to take a look at the CSS and the HTML of the map template which can be found at the end of this page. The documentation is missing this part right now, but it will be extended soon.
If you need help with a custom crop, please let us know!
Please note that the custom crop is not useful for all maps. It is possible that tooltips will get cut off if they are are located close to the left side.
The map configuration can be seen here:
Copy the following text and click on "Import" in the plugin.
Map settings
Name |
Value |
Description |
Region |
Americas |
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 |
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 |
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. |
Map template
CSS |
#{cssid} {
overflow: hidden;
position: relative;
width: 100%;
}
#{cssid}:after {
content: "";
display: block;
padding-top: 61.7%;
}
#{cssid} .map_wrap {
width: 240%;
height: 160%;
margin-left: -88%;
margin-top: -81%;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
} |
HTML |
<div id="{cssid}_click_value">
</div>
<div id="{cssid}">
<div class="map_wrap">
%%map%%
</div>
</div> |
JavaScript
Executed when a marker/region is clicked.
Click value can be defined for each map element.
|
jQuery("#" + cssid + "_click_value").html(click_value); |
Map elements (0)
Color |
Name |
Click Value |
Empty table |
Comments
If you need help or have questions, please leave a comment.