Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. GMAP search

GMAP search

Scheduled Pinned Locked Moved ASP.NET
comjsonhelptutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Farraj
    wrote on last edited by
    #1

    Hello, I'm planning to build a tourguide search website, i looked around and found the api of google "GMAP". What i need to do is a form where you can fill some fields (city, availablity dates and other things) and it should show you available registered tour guides in the map where you can click on some icon and it shows you a small window of the available tour guide profile. Something like that: http://tourguides.viator.com/Map.aspx Any ideas? i would appreciate any help. thank you

    A 1 Reply Last reply
    0
    • F Farraj

      Hello, I'm planning to build a tourguide search website, i looked around and found the api of google "GMAP". What i need to do is a form where you can fill some fields (city, availablity dates and other things) and it should show you available registered tour guides in the map where you can click on some icon and it shows you a small window of the available tour guide profile. Something like that: http://tourguides.viator.com/Map.aspx Any ideas? i would appreciate any help. thank you

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #2

      This shows you how to hook up an auto-complete textbox to get location results from Google. Based on the user's selection, it will show an alert dialog with the latitude and longitude of that location. The next part is to use the Google map API (I link to it in the above message) to insert a map and then navigate to that latitude/longitude. Store your tour guides in a database by the latitude/longitude and you can do a search to find nearby tour guides. The Google map API allows you to create custom icons that you can drop at those locations. The Google Map API also allows you to create click events for those icons. You can use that to pop up custom info windows for each icon when they are clicked. Those info windows would show information about the tour guides. As a final implementation note, I recently did this and I got the tour guide info (though I wasn't actually working with tour guides, the same principles apply) from a web service using AJAX. That allows the user to search and get results without any postbacks.

      [Managing Your JavaScript Library in ASP.NET]

      F 1 Reply Last reply
      0
      • A AspDotNetDev

        This shows you how to hook up an auto-complete textbox to get location results from Google. Based on the user's selection, it will show an alert dialog with the latitude and longitude of that location. The next part is to use the Google map API (I link to it in the above message) to insert a map and then navigate to that latitude/longitude. Store your tour guides in a database by the latitude/longitude and you can do a search to find nearby tour guides. The Google map API allows you to create custom icons that you can drop at those locations. The Google Map API also allows you to create click events for those icons. You can use that to pop up custom info windows for each icon when they are clicked. Those info windows would show information about the tour guides. As a final implementation note, I recently did this and I got the tour guide info (though I wasn't actually working with tour guides, the same principles apply) from a web service using AJAX. That allows the user to search and get results without any postbacks.

        [Managing Your JavaScript Library in ASP.NET]

        F Offline
        F Offline
        Farraj
        wrote on last edited by
        #3

        Thank you AspDotNetDev for your help. it sure helped me.

        A 1 Reply Last reply
        0
        • F Farraj

          Thank you AspDotNetDev for your help. it sure helped me.

          A Offline
          A Offline
          AspDotNetDev
          wrote on last edited by
          #4

          Glad I could help. :)

          [Managing Your JavaScript Library in ASP.NET]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups