Setting up maps from custom fields

Home Forums MapPress Support Setting up maps from custom fields

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20312
    MEPG
    Participant

      Hi there,

      I’m having a bit of trouble generating maps from custom fields. When I press the geocode button it comes up with no valid address, but the custom fields should be feeding into Address Line 1 and Title when I save a post. Google Server API key?

      Any help much appreciated.

      Thanks,

      Cat

      #20313
      Chris
      Keymaster

        Hi,

        There’s not much I can tell you without seeing it, but here’s some things to try:
        1. You should see any geocoding errors, but it’s worth trying with an unrestricted (no IP or referer restrictions) Google API key (or switch to Leaflet).

        2. If you are using custom post types: check that your post types are checked in the ‘post types’ setting just above the geocoding, and make sure your post types are enabled for the “REST API”

        3. Some field plugins will display the custom field title, not its slug. Double check the custom field names, or look in the database using a tool like phpMyAdmin (the table is wp_postmeta).

        If that doesn’t help, feel free to use the contact form to email me directly to share screenshots or a login to the site.

        #20318
        MEPG
        Participant

          Hi Chris,

          I moved over to Leaflet and Mapbox and that’s working now – thanks for your suggestions!

          Cat

          #20316
          MEPG
          Participant

            Hi Chris,

            Thanks for getting back to me so quickly, will give that a go and drop you an email if I’m still not having any luck.

            Cheers,

            Cat

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.