• Resolved agthalim

    (@agthalim)


    Hi,

    my homepage (ecopoetique.huma-num.fr/) has these instructions in its model (and it works ok):

    $shortcode='[travelers-map minzoom=3 width=100% height=80vh post_types=post open_link_in_new_tab=true custom_tax=\"type_article=description\" disable_clustering=true post_types=post page tileurl=\"https://{s}.tile.jawg.io/jawg-dark/{z}/{x}/{y}{r}.png?access-token=(...) subdomains=\"abc\" attribution=\'<a title=\"Tiles Courtesy of Jawg Maps\" href=\"https://jawg.io\" target=\"_blank\" rel=\"noopener\">? <b>Jawg</b>Maps</a> ? <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors\']';
    
    echo do_shortcode($shortcode);
    

    then I have a link to some category pages (e.g. https://ecopoetique.huma-num.fr/enjeu_environnemental/minerais_combustibles_industrie/) ; it seems the model of this is the archive.php, which has the same instructions.

    However, zooming with my trackpad works fine on the home page, but it doesn’t work for category pages.

    Do you know why ?

    Thank you in advance !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Camille V

    (@socrapop)

    Dear @agthalim,

    Your shortcode is not exactly the same, I can see on your archive page that there is a maxzoom=3 defined, and a minzoom=3 on both maps.

    Thats why you can’t zoom / unzoom ??

    Thread Starter agthalim

    (@agthalim)

    Hi,

    Thank you so much !! Indeed I just suppressed the maxzoom parameter, and it works fine. Sorry for missing that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘zooming on archive page’ is closed to new replies.