Home Forums Front-end Issues Location Plugin


Location Plugin

  • Hi
    I tried the location plugin but can’t get it to show the map on the frontend.
    All I get is the coordinates.
    Is there anything else to inputting the field in the page?
    <?php the_field('my_map') ?>


    • Elliot

    • July 16, 2013 at 12:31 pm

    Hi @danstramer

    Using the_field on the location field will not create a map. Perhaps you should read over the documentation of how to use this field:

    Looks like it returns an array containing co-ordinates. You will need to create the google MAP JS yourself using these values.

  • Thanks Elliot,
    I have read that guide and it doesn’t show how to actually implement the field with the map API.
    I have read some more confused responses about this plugin.
    Do you think you (ot the plugin author) can post a demo showing how to implement this plugin on the front-end?

  • I found this documentation:

    I’ll give it a try


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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.