• Hello developers,

    first of all thanks again for this great PlugIn. I love it.

    In the settings of the map in the search it is possible to set the size and zoom level of the map.

    Is it possible to make these settings also available for the map in the store details?

    Currently it is unfortunately so, the map is always full screen and the zoom level can not be changed.

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Well, you can certainly customize the store page template (see documentation).

    As you see, this template uses the [wpsl_map] shortcode, and you can always create a new template where you pass on certain parameters to this shortcode to make the map fit your needs, including controls for adjusting the zoom level.

    But these zoom level controls are the native Google Maps controls, not the ones from wp store locator that you can see in the [wpsl] shortcode, sorry about that.

    Regards,

    Thread Starter softsyncpro

    (@softsyncpro)

    Hi farroyob ,

    I think I have found a bug.
    The way you described with the store template file works in principle.

    But the setting of the zoom level is not taken over.
    In the documentation of the shortcodes it also says “Defaults to the zoom level from the settings page”. But the zoom level in the store is always 1 or 2.

    Any ideas?

    Hi again,

    It is weird, it works in our test sites. It just takes the default zoom level specified in the settings.

    However, have you tried overriding the default zoom value using the “zoom” parameter in the shortcode? Something like:

    [wpsl_map zoom=”8″]

    I hope that helps,
    Regards,

    Thread Starter softsyncpro

    (@softsyncpro)

    Sorry, my fault.
    I think it was a chaching problem.

    It works great:

    echo do_shortcode( ‘[wpsl_map zoom=”8″ height=”350″ map_type=”roadmap”
    map_type_control=”true” map_style=”default” street_view=”true”
    scrollwheel=”true” control_position=”left”]’ );

    I’m glad it worked for you !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Store Detail-Map Questions’ is closed to new replies.