• Resolved davidlink

    (@davidlink)


    Hi Tijmen,

    I was wondering if you might be willing to add some additional map control options to the WP Store Locator Settings page in wp-admin.

    In particular, it would be nice to be able to set:

    draggable: false
    and
    zoomControl: false

    If not, is there any other way for me to be able to do that other than to go in and edit core plugin files? I’d rather not have to make this change with each plugin update.

    Thanks!
    -David

    https://wordpress.org/plugins/wp-store-locator/

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    The only way right now is to edit the /js/wpsl-gmap.js, and search for ‘mapOptions’. You will have to minify the file, and save it as wpsl-gmap.min.js before the changes are used on the front-end.

    I will look into adding them to the options page for the 2.1 update, and otherwise maybe create a filter that makes it possible to add them.

Viewing 1 replies (of 1 total)

The topic ‘Additional Map Options’ is closed to new replies.