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 August 25, 2020

Can't find what you’re looking for? Ask a human.

We're a small team of real people providing real help. Send us an email at hello@pixelgrade.com and we will give you a helping hand.