How do I change the default Zoom Level of the Map Widget?

Under some circumstances, you may need a different zoom level for the Location Map from the Single Listing page. We’ve set a global variable that you can easily use to alter the zoom level.


Add the following code in Appearance → Customize → Theme Options → Custom JavaScript → Footer:

MapWidgetZoom = 6;

The default zoom level is set to 13, but you have the possibility to choose a value between 0 (World Zoom Out) and 18 (maximum Zoom Level).

Additional Reading:

Updated on September 5, 2019

Was this article helpful?