Link Map Areas
-
Thanks for this awesome plugin I really liked playing with SVGs.
I am trying to link map areas to custom url please check my code. When I click on area it ZOOM that portion even after disabling auto-zoom. How I can link area or city/state it to custom url.Titles are active on mouse-hover. Is it possible to active title without mouse-hover
Please check my code.
var $CHART$ = AmCharts.makeChart( “$CHART$”, {
“type”: “map”,
“dataProvider”: {
“map”: “pakistanHigh”,
“getAreasFromMap”: true,
},
“areasSettings”: {
“autoZoom”: false,
“selectedColor”: “#CC0000”,
“areas”:
{
“id”: “PK-GB”,
“showAsSelected”: true,
“url”: “https://google.com”,
“urlTarget”: “_blank”
},},
“zoomControl”: {
“zoomControlEnabled”: false
},
“smallMap”: {}
} );Thanks
- The topic ‘Link Map Areas’ is closed to new replies.