• Resolved kingsdavid

    (@kingsdavid)


    Hello,

    In the events page, I put [locations_map] to display all the places where there are events. But the popups of the places do not display the links of the events and display only the locations info.
    #_LOCATIONMAP displays the locations info AND the event link but
    1 – only for an event and more
    2 – the script is impossible to use on the page header.

    How to add #_EVENTLINK in all the popups on the same map showing the places of the events?

    The goal is : when the user searches for an event/place on the map and when he clicks on the Bubble popup, he can open the events page instead of just reading the location info.

    Thank you

    • This topic was modified 5 years, 1 month ago by kingsdavid.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kingsdavid

    (@kingsdavid)

    I found it !!!

    Events → Settings → Formatting →Maps → Location Balloon format -> ad #_EVENTLINK

    How to set the Zoom level in the [events_map] or [locations_map] ?

    Thank you for your plugin !

    • This reply was modified 5 years, 1 month ago by kingsdavid.
    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    You can not set a custom zoom level.
    The zoom level is automatically calculated to show all found markers within the map. If your markers are far from each other (US East and West Coast, p.e) the zoom level will (naturally) be lower then only showing one state.

    You can add some extra padding in pixels (area around the markers):
    [locations_map padding="50"]

    The plugin calculates the zoom level according to the highest & lowest Latitude & Longitude, with a default padding of 10 px. This way all found markers will be visible on map load.

    Thread Starter kingsdavid

    (@kingsdavid)

    Hello,

    Thank you for your reply.

    The problem is that the highest marker is not fully displayed on the map, forcing the user to always zoom-out to see all the markers.
    Adding [locations_map padding=”50″] solved the problem. Thank you !

    Are there any other scripts to add to [locations_map]?

    Another questions please :
    – When displaying the events results of a single category, [events_map] displays the events of all the categories. Is it possible to display only the results of the selected category?
    – Is-it possible to define a different marker color for each category?

    Thank you.

    • This reply was modified 5 years, 1 month ago by kingsdavid.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘#_EVENTLINK on popup of all event locations’ is closed to new replies.