Step 2: We create map_api_wrapper.php file that will use google API to get latitude and longitude using City name, added below code into this file. We have included bootstrap and jquery libs into the head section of this file, created a div container id is ‘#map’, this div will responsible to display a map, Also Added some CSS for the map div container. * Optional: Makes the sample page fill the window. * Always set the map height explicitly to define the size of the div Step 1: We will created index.php file added below HTML code into this file.
0 Comments
Leave a Reply. |