Results 1 to 3 of 3

Thread: Google Maps API :: Help Needed

  1. #1
    Join Date
    Dec 2007
    Posts
    123
    Thanks
    17
    Thanked 1 Time in 1 Post

    Question Google Maps API :: Help Needed

    Hi

    I was wondering if there is any way I can display a google map by just passing the street address, city and country name in the API instead of Longitude and Latitude and the locations would appear as balloons as shown in the attached screenshot.


    Pls help me.


    Many Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I have no idea about the specifics of the API, and I would guess that unfortunately few users here do, because it is a specialized bit of knowledge.

    However, I do know that the website can accept other variables in the url, like address, so you can attempt either to mimic that or find how to input in that way if they include that in the API.

    I hope you figure it out.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Hi,

    You can find out the latitude and longitude of a location that you want through Google Map API and can tag the location without much trouble.

    Google Map API provides a class GClientGeocoder for that purpose. Here is one such example that works on a provided location name here. Just provide the location name in the provided textbox and hit the button. The JS code will find out the latitude and longitude and tag the location.

    Here is another good article about Google Maps.

    You can just learn from the demo page mentioned above and develop your own page with the changes that you want to apply in your case.

    Hope this helps.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •