Create map showing different post types

This topic contains 10 replies, has 3 voices, and was last updated by  Kiran 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #450039

    Andrew
    Expired Member
    Post count: 197

    Hi,

    I’d like to create a map showing listings of different post types, is this possible?

    (I’m using the gd_map widget)

    Thanks,
    Andrew

    #450056

    Alex Rollin
    Moderator
    Post count: 27815

    The Directory map will have a post type switcher, whereas the Archive map will be shown only on Listing/Archive pages where one post type is displayed (only). So no, it is not possible to show multiple post types on the same map at the same time.

    #450194

    Andrew
    Expired Member
    Post count: 197

    Right, that makes sense. I’d like to include the post type switcher – what shortcode do I need to use to include that? Currently I am using the following and it does not show a switching option:

    [gd_map width=”100%” height=”425px” maptype=”ROADMAP” zoom=”0″ map_type=”auto”]

    Thanks!

    #450256

    Alex Rollin
    Moderator
    Post count: 27815

    The shortcode is fine. On which page do you want to place a map? Location Page? URL?

    #450257

    Andrew
    Expired Member
    Post count: 197

    I wanted to place the map here: https://www.simplfi-mockups.com.au/map/ – however I just wasn’t sure how to get it to display different post types.

    #450300

    Alex Rollin
    Moderator
    Post count: 27815

    OK, try using the shortcode builder to create the map shortcode and make sure to select the post_type filter with the directory map type.

    Let us know how it goes.

    #450431

    Andrew
    Expired Member
    Post count: 197

    That’s the one! I’m having an issue with css (I think) as I can’t actually click the other post type buttons. I will provide my credentials in a private message below as it may help you to login.

    (Edit: ignore the login screenshot – accidentally attached that one)

    #450433

    Andrew
    Expired Member
    Post count: 197
    This reply has been marked as private.
    #450515

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I see what you mean, and I made another map and a test children’s listing.

    Of course the links won’t light up if there are no listings of that types, but, even with the test listing now I see now records or cannot select it.

    I will flag this for the developers to take a look, as I cannot see anything obvious.

    #450517

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #450543

    Kiran
    Moderator
    Post count: 7069

    Hello,

    There is an issue with CPT switching on directory map. It will be fixed in next update.

    Thanks,
    Kiran

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount