> user  details must be stored in  table.This table contains
> name ,address, latitude and longitude details.using this details i am
> trying  to plot the users in the map.user status table is available
> for checking the user  whether it is online or offline.

That's straightforward.  Use the techniques given in the example
http://code.google.com/apis/maps/articles/phpsqlsearch.html
modified to suit whichever database you might want to use, and written
in whatever server-side code you have available and understand.

> instead of search address text box.i need display the user who
> available at the radius within 5km which is based on the currently
> logged user latitude and longitude.

Wherever this mysterious logged data is, get it to the server side
search script.  Modify the client-side code from the example to remove
the search box.

> And  i need to display the each user with different color marker for
> differentiate the user.

Add some 'online/offline' attribute to your data, and use the
technique in this example
http://econym.org.uk/gmap/basic16.htm
to show as red or green markers or whatever.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to