Show marker per user

Home Forums Google Maps Plugin Show marker per user

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  info646414 3 days, 18 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15689

    info646414
    Participant

    Dear Team
    Would it be possible that you integrate the following function in one of you next updates?
    I need to show only those markers in a map which have the same user_id in the user_id column of the marker-list set as the logged in user.
    If a user is logged in (e.g. user_id = 3) the map shows his allocated markers.
    A variable should be available in the shortcode e.g. user_id=%%CurrentUserID%%
    Would be great!
    Best Regards
    Michael

    #15710
    mila_support
    mila_support
    Keymaster

    Hi @info646414

    Thank you for contacting us about your Google Maps plugin question.

    Your issue was redirected to our developer. I will inform you about the progress.

    #15733
    mila_support
    mila_support
    Keymaster

    Hi @info646414

    Please clarify, how markers will be related to the user?

    Maybe the logged in user with id 3 will add the markers to the map from the front end?

    #20814

    info646414
    Participant

    Hi

    There are two possibilities:
    1. The logged in user with id 3 adds marker from the front end.
    2. In the database is a column contains the user_id. This can be edit and used.

    e.g.: As an additional parameter in the shortcode [google_maps_easy id=”6″ user_id=”3″] or even better [google_maps_easy id=”6″ user_id=logged_in_user] can solve the requirement.

    BR
    Michael

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

You must be logged in to reply to this topic.

Get plugins bundle today and save over 80%