Skip to content

Feature Request: Always use default Map Zoom Level #273

@chrisbergr

Description

@chrisbergr

On my website I always want to display my static map images with a zoom level of 14.

A possible solution would be at line 160 in /includes/class-location-plugins.php

$always_default_zoom = apply_filters( 'simple_location_always_default_zoom', false );
if ( ! $always_default_zoom ) {
    [...]
} else {
    $default_zoom = get_option( ... );
    set_post_geodata( $args['ID'], 'zoom', $default_zoom  );
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions