• Resolved sunes

    (@sunes)


    Hi! First of all, the plugin is great! And now a question.

    What I would like to achieve is:

    I have N posts where the map is shown. In each post, the users can add locations with a text. In each post, only the locations related to the post_id should be shown.

    Is there a way to do that?

    What I have tried so far:

    1)
    * I have a page with a reference to the map (example for page with post_id 531 -> [open-user-map post_id=”531″] )
    * and a post with a reference to the map (example for post with post_id 123 -> [open-user-map post_id=”123″]).

    I created some markers in the map shown in the page 531 and some markers in the post 123.

    All markers are shown in the page and in the post. I thought they would be filtered by the post_id.

    2) As workaround for the functionality that I would like to have:

    Using markers, creating one marker per post.

    * A marker with type “marker123″ for post with post_id=”123”. Then in the post add [open-user-map post_id=”123″ type=”marker123″ ]

    * A marker with type “marker345″ for post with post_id=”345”. Then in the post add [open-user-map post_id=”345″ type=”marker345″ ]

    This does not work. Only one marker type is not showing anything.

    If I try for example type=”marker345|marker123″, then it is working. But it is not what I want to get, and it is really slow.

    Maybe I am missing something.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author 100plugins

    (@100plugins)

    Hi @sunes,

    Thanks for opening up a new thread. I just saw it too late so I already answered you here.

    Please follow up there. Thank you.

    Best Regards,
    Daniel

    Thread Starter sunes

    (@sunes)

    Sorry, but I can′t see any reply in the other thread. In fact, now I do not even see what I wrote there. Maybe because it is resolved?

    Plugin Author 100plugins

    (@100plugins)

    Hi @sunes,

    Maybe something went wrong with my reply or maybe the forum moderation removed it because it’s meant to be a separate thread. Or I just missed something. I don’t know.

    However – here is my response on your request:

    You can have separate maps with individual markers. To do this you should use “Marker Categories”. You can activate this feature under Settings > Open User Map > Form Settings > Filterable Marker Categories.

    Consider to have the following setup:

    Page 1:
    Use Shortcode [open-user-map types="categoryA"].
    
    Page 2: 
    Use Shortcode [open-user-map types="categoryB"].

    Doing so, the locations being added on each page will be attached to the individual categories. And the Map on each page will only show locations of this specific category.

    Using the shortcode attribute post_id makes no sense here. You only want to use it if you’d like to show a single location (post_id) on a map. But I think this is not what you are trying to achieve.

    Does this work for you?

    Best Regards,
    Daniel

    Thread Starter sunes

    (@sunes)

    Thanks a lot! It works!

    Plugin Author 100plugins

    (@100plugins)

    Awesome!

    If you are happy please consider dropping a quick review over here. This helps me a lot to reach a broader audience.

    Thanks and Best Regards,
    Daniel

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show group of locations per post (to emulate one map per post)’ is closed to new replies.