• Resolved chaosad2

    (@chaosad2)


    Hi,

    Two questions about overview map :

    • Is it possible to keep latitude, longitude and zoom level in page address ? It would be useful when a user clicks on pop up link and come back on overview map.
    • Where can I customize popup content ? (I would like to change picture size first and, if possible, add some informations, like custom fields).

    Thank you for your great job !

    The page I need help with: [log in to see the link]

Viewing 5 replies - 16 through 20 (of 20 total)
  • Plugin Author hupe13

    (@hupe13)

    leaflet-geojson uses the syntax with curly braces to get the properties from the geojson elements in the popups. So I will use the same syntax.

    I think the way I’ve thought about it now will be perfect (until someone comes up with a new idea). ??

    Thread Starter chaosad2

    (@chaosad2)

    OK !

    I think the way I’ve thought about it now will be perfect (until someone comes up with a new idea).?

    ??

    Thread Starter chaosad2

    (@chaosad2)

    Hi,

    Thank you for update(s).

    But I’m sorry, I don’t really understand how it works. ??

    This is my usual shortcode :

    [overviewmap latlngs=coords_depart icons=marker]

    I tried this code, but it doesn’t work (“distance” is an ACF field) :

    [overviewmap latlngs=coords_depart icons=marker]{name}{thumbnail}{distance}[/overviewmap]

    What should I do ?

    Plugin Author hupe13

    (@hupe13)

    You can write the whole popup content (with the distance) in a custom field or in an ACF now. Only {permalink}, {title}, {thumbnail}, {categories} and {link} can be with curly brackets and are replaced. Example.

      Thread Starter chaosad2

      (@chaosad2)

      Well, I updated all articles.

      Pretty cool now and really useful.

      Thank you very much !

      https://mymaps.fr/carte-generale/

    Viewing 5 replies - 16 through 20 (of 20 total)
    • You must be logged in to reply to this topic.