• Resolved joerg7799

    (@joerg7799)


    Hello. We need to display a map, showing all countries (complete globe), even if there is only one event in the US, let’s say. Using the dynamic map (when there is only one event scheduled), shows only the location of this event. There is no zoom option which would allow us to show a bigger area of the map. Would using the static maps have the option to display a map with all countries shown, but only one event being scheduled? Or can this be done even with the dynamic view?

    Thanks for any hint & support, Jörg

Viewing 2 replies - 1 through 2 (of 2 total)
  • When embedding a Google Map, the zoom value is an optional parameter that can range from 0 to 21: 

    • 0: The whole world is visible
    • 21: Individual buildings are visible

    The zoom value for embedded google maps in Events Manager is set to 15. To change this you can use the following code snippet:

    add_filter( 'em_location_global_maps_embed_args', function( $args ) {
    $args['zoom'] = 0;
    return $args;
    });

    You can use the Code Snippets plugin to add this code snippet.

    Thread Starter joerg7799

    (@joerg7799)

    Thank you very much! I don’t know much about code snippets, but I’ll have a look at it. Thanks for the link too!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Static or dynamic Map – Zoom setting possible?’ is closed to new replies.