Welcome to the Highcharts Maps JS (highmaps) Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

mapView.fitToGeometry

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.