WordPress.org

Ready to get started?Download WordPress

Forums

WP Flexible Map
I need a search bar (8 posts)

  1. kylesw555
    Member
    Posted 1 year ago #

    Hi there

    Firstly, great plugin. I've been trying to do this for so long and using Google's methods weren't working for me and I'm so grateful to have finally found an app that make me a kml app without any problems.

    However, I am desperate to have a search bar on my map so people can search addresses/ postcodes but I have no idea where to even begin trying to implement this. I'm hoping that someone could help me, I'm very desperate to have this as part of my map.

    Thanks,
    Kyle

    http://wordpress.org/extend/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Kyle,

    This plugin doesn't do that itself, but if you're a little handy with JavaScript it isn't hard to add a search that will use the same map. The FAQ tells you how to get the map object (see section "How can I get access to the map object?"), and this Google Maps example shows how to do a simple address search.

    cheers,
    Ross

  3. kylesw555
    Member
    Posted 1 year ago #

    Thanks for that, unfortunately I'm not really understand what I'm supposed to do, I need to know the code and where to put it but it never seems to be that simple and my knowledge only goes so far :(.

    Are you able to help me more?

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day Kyle,

    It's a fairly small job for someone with JavaScript skills, so perhaps hire someone to do it for you.

    cheers,
    Ross

  5. kylesw555
    Member
    Posted 1 year ago #

    I'm not able to hire someone, my skills are above basic but below advanced, surely you could help me a little bit? :)

  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    I already did! :)

  7. kylesw555
    Member
    Posted 1 year ago #

    Yes and I'm very appreciative of your help but could you not explain it in a way where more people like me with less advanced skills can understand? :)

  8. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    OK: what you need to do is incorporate the code from the Google Maps example page above, and combine it with the example code I put in the FAQ. You will probably need to use the 'flexmap_shortcode_html' filter to add some script to the end of the HTML for the map.

    Hmmm... still sounds like something you need a programmer for.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.