Open specific POI info window on load

Home Forums MapPress Support Open specific POI info window on load

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19011
    roamingk
    Participant

    Is there a shortcode to specify a specific POI to show with an open info window on a map, where for example there are multiple POIs.

    #19012
    Chris
    Keymaster

    Hi,

    For maps, you should be able to just drag the POI into the first position in the list in the map editor.  It’ll always open the first POI.

    For mashups, you can user an ‘orderby’ clause in the query to order by various fields – see the link below for a list from the WP Codex:

    https://developer.wordpress.org/reference/classes/wp_query/

     

     

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.