fitToGeometry property
dynamic
fitToGeometry
getter/setter pair
Fit the map to a geometry object consisting of individual points or
polygons. This is practical for responsive maps where we want to
focus on a specific area regardless of map size - unlike setting
center
and zoom
, where the view doesn't scale with different map
sizes.
The geometry can be combined with the padding option to avoid touching the edges of the chart.
API Docs: https://api.highcharts.com/highcharts/mapView.fitToGeometry
Implementation
dynamic fitToGeometry;