• Resolved MKW

    (@vannimakk)


    Hello,

    I’m testing with “wcfm” on xampp 5.6.19 win with Wp 5.4.1.
    I set up openstreetmap as the map engine for Geolocation, on the stores page I need to set a wide initial zoom across the country. I tried several zoom factors by writing parameters, for example map_zoom=’1000′ or even in negative ‘-4′ but it doesn’t work.
    This is the shortcode I used last:
    [wcfm_stores theme=’classic’ map_zoom=’1000′ per_page=’20’ per_row=’3′ auto_zoom=”] but this doesn’t work either.
    Can you help me?
    Thanks

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Well, “1000” map zoom is an invalid parameter.

    Try this short code – [wcfm_stores theme=”classic” map_zoom=”10″ per_page=”20″ per_row=”3″ auto_zoom=”no”]

    Thank You

    Plugin Author WC Lovers

    (@wclovers)

    One more important thing, after copy past this delete double quotes (“) and type from keyboard.

    Thread Starter MKW

    (@vannimakk)

    Hi,

    no look, I tried with all these variations, again with and without auto_zoom parameter, but nothing changes:
    [wcfm_stores theme = ‘classic’ map_zoom = ’10’per_page = ’20’ per_row = ‘3’ auto_zoom = ‘no’]
    [wcfm_stores theme=’classic’ map_zoom=’10’ per_page=’20’ per_row=’3′ auto_zoom=’no’]
    [wcfm_stores theme=”classic” map_zoom=”10″ per_page=”20″ per_row=”3″ auto_zoom=”no”]
    [wcfm_stores theme= “classic” map_zoom= “10” per_page= “20” per_row= “3” auto_zoom= “no”]
    [wcfm_stores theme = ” classic ” map_zoom = ” 10 ” per_page = ” 20 ” per_row = ” 3
    ” auto_zoom = ” no “]
    The result is always the same, the zoom level remains the standard one, even if on the Settings>Geolocation page I try to set a different, wider zoom.

    • This reply was modified 4 years, 6 months ago by MKW.
    Plugin Author WC Lovers

    (@wclovers)

    Well, as I see your parameters are always same, you just have change theme, but that actually has no effect on map display.

    One more important thing, after copy past this delete double quotes (“) and type from keyboard.

    – Do you have followed this?

    https://ibb.co/KWmv739 – all quotes are useless here. I am not sure, how these are in your page content.

    Thank You

    Thread Starter MKW

    (@vannimakk)

    Yes of course, I modified by rewriting all the versions I tested. I have verified that both double and single quotes return the same result.
    I can also tell you that it does not depend on the theme used because I also verified this with two different theme.
    The only common element that makes me think of some problems is the local installation with xampp and php 7.2.11, but this is only my hypothesis.

    But after doing these further tests, I’ve disabled “Store List Radius Search” and now I get at least one map that responds to the hop configuration set here https://ibb.co/VMcqvs1
    In any case the “map_zoom” parameter does not work, it is completely ignored.

    In the end: if I have a registered Membership that is located in Sicily and one that is located in Trentino Alto Adige (the opposite ends of the Nation’s border) and set Italy as Map Default Location, I finally get what I wanted a zoom of the entire Nation.

    For the moment I’m happy with the result I have on the frontend.
    Thank you anyway.

    • This reply was modified 4 years, 6 months ago by MKW.
    • This reply was modified 4 years, 6 months ago by MKW.
    Plugin Author WC Lovers

    (@wclovers)

    I am debugging this.

    Between, for openstreetmap “auto_zoom” does not work, so you will not understand whether it’s working or not!

    Thread Starter MKW

    (@vannimakk)

    Ok I await your results.
    Thank you.

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    We have fixed this latest update, this should work for you now.

    Please update yours and take a look.

    Thank you

    Thread Starter MKW

    (@vannimakk)

    Hi,

    I’m using version 6.5.0 of WCFM, 2.9.0 of Woocommerce Multivendor Membership and 3.4.0 of Woocommerce Multivendor Marketplace. WP 5.4.1 and PHP version 7.2.11
    I have tried on two installations with different themes, unfortunately nothing has changed.

    Plugin Author WC Lovers

    (@wclovers)

    What short code you are using now, show me screenshot for edit page.

    Thread Starter MKW

    (@vannimakk)

    I don’t know if it matters, in any case consider that I am working locally on xammp.
    This is the page with code:
    https://ibb.co/THz2S5h

    Plugin Author WC Lovers

    (@wclovers)

    Please add auto_zoom=”no” to this shortcode.

    When auto_zoom is enable then map zoom parameter will not work.

    Thank You

    Thread Starter MKW

    (@vannimakk)

    [wcfm_stores theme=’classic’ per_page=’20’ per_row=’3′ map_zoom=’7′ auto_zoom=’no’]
    Not working

    Plugin Author WC Lovers

    (@wclovers)

    What kind of view you are getting with this short code, show me screenshot please.

    Between, this quotes(‘) are not proper. Type these from keyboard (“)

    Thank You

    Thread Starter MKW

    (@vannimakk)

    Here https://ibb.co/3ryYPns
    you can find the result view of the shortcode modification.

    This is modified shortcode:
    [wcfm_stores theme=”classic” per_page=”20″ per_row=”3″ map_zoom=”8″ auto_zoom=”no”]

    I tried first with a zoom factor of 2 and then 8, but nothing has changed.
    The result applies to both zoom factors that I have tried.

    Here https://ibb.co/RvWxyCd
    you can see the geolocation settings.

    Thank You

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘The map_zoom parameter don’t work’ is closed to new replies.