Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • otomol Friend
    #973843

    How can i change the zoom on the map per each category, city or subject?

    I want to by able to view the map in a big zoom covering just a few blocks, like just the city center with museums, a marina, or the beach malecon restaurants.

    Also is it possible to lock the map icons, so they do not move by the users?


    1. Screen-shot-2016-10-05-at-12.47.21-PM
    Ninja Lead Moderator
    #973941

    Hi,

    Thanks for your contacting us but the map does not option to change the zoom on the map per each category, city or subject.

    You can find the code to change the zoom on map from templates/ja_directory/html/com_k2/directory/category.php file

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

    with zoom=’4′ (it is the zoom level)

    Regards

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

This topic contains 1 reply, has 2 voices, and was last updated by  Ninja Lead 8 years, 1 month ago.

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