It's not a secret anymore!
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
JavaRanch » Java Forums » Languages » PHP
Bookmark "issue in google map" Watch "issue in google map" New topic

issue in google map

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 1012
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?

Paul Clapham

Joined: Oct 14, 2005
Posts: 19741

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: 1012
wow, yes i found it buddy.
I agree. Here's the link:
subject: issue in google map
jQuery in Action, 3rd edition