Maps & Custom Fields – No Maps Generated

Home Forums MapPress Support Maps & Custom Fields – No Maps Generated

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12240
    whershfeld
    Participant

      Hi – I’m not sure where I’ve gone wrong here… I have a custom post type: POIs with custom fields for:

      – Address
      – City
      – State
      – Zip

      I have another field that also combined all these into one line: poi_address

      I set MapPress Pro to use GeoCoding using the poi_address field – but it doesn’t generate any maps.  Even if I select “Generate New Map”…  The only way I can create a map for each custom post type is to manually generate it.

      Help!  I’m sure it’s something simple that I’m just not getting… pouring over the docs and forums and nothing’s clicked yet.

       

      Thanks!

      #12245
      Chris
      Keymaster

        Hi,

        Here’s how to test the basic setup:

        1. Make sure you’ve enabled your custom post type for maps and configured your address field in the geocoding settings
        2. Create a new post using the normal WordPress post editor (not a custom field plugin, etc.)
        3. Manually add the ‘address’ custom field (try ‘NYC’ for New York) to the post
        4. Publish the post

        You should see a map named ‘automatic’ with a marker for New York.

        If that doesn’t help, try deactivating your other plugins and switching to the 2012 theme for a moment, in case there’s some kind of conflict.  And if you’re still stuck after that, please feel free to send a login with the contact form and I’ll take a look at the blog.

        #12247
        whershfeld
        Participant

          Thanks Chris – there was a hiccup in my setup somewhere… everything is working just fine now.

          #12500
          kathycac
          Participant

            Hi Chris,

            I’m working on a site for a public school system. I have my custom post type of “school” enabled for maps and a wysiwyg field for the complete address.

            The automatic map works on some but not all of the schools. (about 20 out of 82)

            I have examined the address field for spurious characters.  I’ve tried eliminating all other plugins.  I’ve tried creating new posts and also updating existing posts.  I can’t switch themes because that is where the custom post type with the custom fields is created.

            Do you think the wysiwyg field might be the issue?

            Thanks,

            Kathy

            #12501
            kathycac
            Participant

              Hi Chris,

              Changed my field from wysiwyg to text and split it in two – street address and city, state, zip. Works great now!

              Thanks,

              Kathy

              #12503
              Chris
              Keymaster

                Hi, I’m glad you got it working.  I don’t know what a ‘wysiwyg’ field is, but it sounds like something from a fields plugin.  Some plugins don’t write the data to WordPress custom fields, which is where it needs to be for MapPress to read it.

                #12504
                kathycac
                Participant

                  It’s a field with an editor – visual and text views. I’m using a custom meta box plugins to assist with building the functions for the custom fields.

                  Your plugin is working great! Now I just have to go through and change all the addresses. : (

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