We help IT Professionals succeed at work.

pass lat lon to google map

teera
teera asked
on
Medium Priority
823 Views
Last Modified: 2012-05-12
I have table of lat long in mysql how can I pass the select field that have  name lat long  to show where he stay on the google map  I want to pass only one filed  like when user see on  list page if he click in a item then it link to show where he stay on google map
Comment
Watch Question

Molnár IstvánHelpDesk / Programmer
CERTIFIED EXPERT
Commented:
1)export your data in xml format (generate an xml file from php)
2)parse the xml file in javascript
3)show on google map:

how to show an xml file in google maps:
http://econym.org.uk/gmap/basic3.htm
tutorial:
http://code.google.com/apis/maps/articles/phpsqlsearch.html

hope it helps
Most Valuable Expert 2011
Author of the Year 2014
Commented:

Explore More ContentExplore courses, solutions, and other research materials related to this topic.