The autofit option enables the map to automatically adjust its view to include all markers, clusters, overlays, and KML layers, ensuring they are all visible when the map loads for the first time or when the map’s recenter button # is clicked. If this option is activated, the initial map zoom setting # will be overridden.
To enable/disable the autofit option, follow these steps:
- Edit a map
- Open the widget “Progress Map Settings”.
- Click on the menu “Map settings”.
- Open the group field “Map Properties (Zoom, Autofit etc…)”.
- To enable the autofit option, select “Yes” in the “Autofit” field. To disable it, select “No”.
In the same context
- Set the map center point
- Restrict map bounds
- Set the map container background color
- Set the initial zoom level of the map
- Set the Max. & Min. zoom levels of the map
- Zoom the map on double click
- Controlling gesture handling
- Drag the map
- Show the zoom control
- Zooming the map using the mouse scroll wheel
- Use a button to recenter the map
- Show to fullscreen control
- Show the map type control
- Show the street view control
- Resize the map controls
- Enable retina display for custom markers & clusters
- Display the traffic Layer
- Display the transit layer
- Display the bicycling Layer