PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

An Example Geolocation Custom Input

  1. Custom post type sender form with geolocation info (custom tax and post meta):
    http://gapvitrin.com/ilanver/satilik/
    ( Its Turkish language but you can use translate in top right corner if u want )

    First Input is a custom input. First you selecting city from drop-down list and region section is coming via ajax query. Both city and region lists are 1 custom taxonomy and region lists are child of city that selected. Then you writing a value to Avenue / Street section.. Street name for example. When you click load button, system querying google maps with city + region + street name you entered and loading on map below.

    When saving: city + region values saving as custom taxonomy and location coordinates saving as post meta data.

    Example post created from that form:
    http://gapvitrin.com/satilik/ornek-satilik-konut-ilani/
    (You can mouser hover on map icon, probably that example will delete soon)

    I believe this is a good usage for real estate websites that using custom post type and want to get property info from forms.

    Posted 12 years ago on Friday June 29, 2012 | Permalink
  2. inthaiguy
    Member

    Man, that is well done. I can think of more than a few uses for this. I found your post cause I was looking for a Google Maps plugin for GF that allows users to select their location on a map and submit it with the form.

    Posted 11 years ago on Wednesday January 30, 2013 | Permalink

This topic has been resolved and has been closed to new replies.