Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • vernontee Friend
    #894674

    Hello,

    is it possible to set a default location and zoom level for the maps that is being displayed for each category?

    http://screenpresso.com/=Db3ob

    Thanks

    HW

    Saguaros Moderator
    #895922

    Hi

    I’m afraid that there is no option to set the default location right now.

    For the room level, you can open the file: ROOT/templates/ja_directory/html/com_k2/directory/category.php

    Look for this line of code:

    $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' zoom='4' disable_scrollwheelzoom='1' display_scale='1' display_overview='1'}{/jamap}";

    and change zoom=’4′ to your desired value.

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

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 8 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum