Get plugins bundle today and save over 80%

How to zoom and center the initial map on markers ?

There are a few different ways to zoom and centralize map.

Live preview

The easiest one is to drag your map if the draggable option is turned on. The same way you can zoom map with “Zoom control” as you want or if you have “Mouse wheel to zoom” option turned on with mouse scroll. Make your live preview map version as you prefer seeing it on site and just copy/paste shortcode under your map.

Zoom control in WordPress Google Maps

Shortcode

The second way is to insert the additional code parts into the main shortcode.

Centralization

With code help you can centralize map on one of your markers or on the exact coordinates. Write this string [google_map_easy id=”your map id” map_center=”markers id” or “x coordinate/y coordinate”] in your shortcode.

For example

[google_map_easy id="2" map_center="1" or map_center="41.902813; 12.496376"]

centralization in WordPress Google Maps

You can find out the id of the chosen marker in admin area under the map.

WordPress Google maps marker id

Zoom

To zoom your map with shortcode you should add [zoom=”1-20″] in it.

For example

[google_map_easy id="2" map_center="1" zoom="5"]

zoom in WordPress Google Maps