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

Under some cir­cum­stances, you may need a dif­fer­ent zoom lev­el for the Loca­tion Map from the Sin­gle List­ing page. We’ve set a glob­al vari­able that you can eas­i­ly use to alter the zoom lev­el.

image202016-02-1720at203-45-1220pm1

Add the fol­low­ing code in Appear­ance → Cus­tomize → Theme Options → Cus­tom JavaScript → Foot­er:

MapWidgetZoom = 6;

The default zoom lev­el is set to 13, but you have the pos­si­bil­i­ty to choose a val­ue between 0 (World Zoom Out) and 18 (max­i­mum Zoom Lev­el).

Additional Reading:

This article applies to Listable, as they share the same underlying structure.

Updated on May 30, 2017

Was this article helpful?