Support

Account

Home Forums General Issues Multiple markers on single map on front-page

Solving

Multiple markers on single map on front-page

  • Hello everyone, are you well?

    I run WP Multisite 3.8.1, subfolders installation.

    I am new to the forum so apologies for asking the same question here.

    I would like to plot multiple markers on a single dynamic map on the front-page of our website. See example found on http://travel.shequine.com/map/

    So I am seeking advise from this community on the best practice to achieve the same or similar result as showed in the link above.

    I have read your tutorial http://www.advancedcustomfields.com/resources/field-types/google-map/ ; I have found it easy to read and useful however I could not implement it on our website.

    I then stumbled on this tutorial http://www.codeforest.net/wordpress-how-to-make-custom-post-field-using-advanced-custom-fields-plugin which reference ACF plugin and which gave me some ideas, but I have failed to implement it…i can not get the Class location to show up in the Field type drop down list…in the field type.

    Thank you so much for your support in advance. Please ask in case you need more information.
    I hope to be able to reciprocate one day.

    Regards, thefixer

  • Hi @thefixer

    ACF4 comes with a google map field, so you should use this instead of the 3rd party location field.

    As for adding multiple markers. i would use the repeater field to allow more multiple rows of data (each row can be a google map + extra field data such as title / description)

    Thanks
    E

  • Hi, Elliot:

    I’m having difficulties as well. I followed your directions exactly for multiple markers but nothing is showing up except for one marker on a little island next to Africa. If you click on the marker, the title and description are correct, showing the info for the first repeater sub fields.

    I created the repeater field, with 3 sub fields (title, description, address).

    I’m running WordPress 4.0, ACF 5.0.8.

    I’m using another plugin right now for the maps as the client needs this right away, but would like to know why the multiple markers aren’t showing up.

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

The topic ‘Multiple markers on single map on front-page’ is closed to new replies.