How to remove Ammap card management pad?

How to remove controls for panning and zooming when displaying my AmMap? Is there a field that I can change when creating my map object or do I need to manually change the library code?

+4
source share
1 answer

You can disable the pan / zoom buttons using the fields zoomControlwhen creating a map:

mapObj = new AmCharts.AmMap()
mapObj.zoomControl = {
       zoomControlEnabled: false,
       panControlEnabled: false
};
+4
source

Source: https://habr.com/ru/post/1612652/


All Articles