Arvaniti Posted September 24, 2014 Share Posted September 24, 2014 Hello to all. Please I need your help. I have a web site (php, mysql, dreamweaver) with some seller info in a db table. They want to show a google map with their location of address, that have in the db. Let's say: Field: Data: tbAddress 22 Kastelliou street tbPO 11141 tbLocal Athens tbCountry Greece I am try with these iframes that google has on site but this embed is ONLY for what i will find through the address bar. The dynamic web page I have, has the info of the seller (who, where, what) and I want this map dynamically change location, according to the address of the seller from the fields I provided. Thank you Quote Link to comment https://forums.phpfreaks.com/topic/291256-embed-google-map/ Share on other sites More sharing options...
Barand Posted September 24, 2014 Share Posted September 24, 2014 https://developers.google.com/maps/documentation/javascript/tutorial Quote Link to comment https://forums.phpfreaks.com/topic/291256-embed-google-map/#findComment-1491954 Share on other sites More sharing options...
Arvaniti Posted September 24, 2014 Author Share Posted September 24, 2014 https://developers.google.com/maps/documentation/javascript/tutorial they use co ords, i want to use their address as is from fields, thank you anyway Quote Link to comment https://forums.phpfreaks.com/topic/291256-embed-google-map/#findComment-1491956 Share on other sites More sharing options...
CroNiX Posted September 24, 2014 Share Posted September 24, 2014 (edited) https://developers.google.com/maps/documentation/javascript/geocoding Then store the lat/lng in the database for future use so you don't have to keep calling the geocoding service for the same address repeatedly. There are limits on how many hits to the geocoding service you can perform/day. Edited September 24, 2014 by CroNiX Quote Link to comment https://forums.phpfreaks.com/topic/291256-embed-google-map/#findComment-1491976 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.