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.

image202016-02-1720at203-45-1220pm1

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 May 30, 2017

Was this article helpful?