Reputation: 315
Im using AmChart for Maps, When I double click on any part of map it zoom, I want to disable this zoom.
I have tried setting properties like
"dragMap": false,
"autoZoom": false,
map.zoomControl = {
zoomControlEnabled: false,
panControlEnabled: false
};
This works in IE, but still in Chrome it Zoom on double click.
Any help will be appreciated.
Thanks
Upvotes: 2
Views: 2615
Reputation: 16012
You can set zoomOnDoubleClick
to false in the top level of your chart config to disable zoom on double click:
map = AmCharts.makeChart("mapdiv", {
"type": "map",
"zoomOnDoubleClick": false,
// ...
});
Upvotes: 2