This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes PHP and the fly likes issue in google map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "issue in google map" Watch "issue in google map" New topic
Author

issue in google map

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1001
    
    2
Hi all, i want one functionality, when user logs in, i want to show the nearst hotels, police station, restaurants.
what i am doing is: i am searching the location depends to the location he/she putted at the time of signup, but how do i show these information also?

here i am showing the location of the user in the google map, but i want to show those extra information as well (nearst hotels, police station, restaurants.).
one thing i can do is, i can store strings like "hotels near by <dynamic_user_location>" and use it.
but it's not looks feasible.
any other solution for this?

Thanks
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

Javascript is the usual solution. Check this page and I expect you will find a link which answers your question.
Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1001
    
    2
wow, yes i found it buddy.
Thanks..
 
Consider Paul's rocket mass heater.
 
subject: issue in google map