Adding input to marker

New home Forums Pro Add-on Adding input to marker

Tagged: , , ,

  • This topic has 4 replies, 2 voices, and was last updated 5 years ago by Nick Duncan.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16739
    trekfind
    Member

    I need to add another textbox input for map markers.

    I have gone through just about every line of code and can’t seem to get this to work.

    Just trying to add a second description box that I will populate with category icons.

    What function do I need to be looking for to handle the post data?

    #16868
    Nick Duncan
    Keymaster

    Hi there.

    You’d need to reference line 3493 in ‘wp-google-maps-pro.php’. That function will save all of the data.

    Then approximately line 1863 is where you can add the additional input field.

    Line 1936 is where the post data is handled once the ‘Add Marker’ button is pressed.

    Does this perhaps help?

    #16891
    trekfind
    Member

    That gets me in the right direction. However, due to the modifications I have done, the code lines don’t match up.

    Can you give me a snippet of each line so I can search the document?

    #17025
    trekfind
    Member

    I have gone through everything I can think of. Maybe you can take a look at this and see what I’m missing.

    I am using xml files for markers. demo code

    #17147
    Nick Duncan
    Keymaster

    Hi there.

    Would it be possible for you to get in touch with me via the contact page so I can assist you further and try make the changes live on your site?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding input to marker’ is closed to new replies.