Wednesday, July 1, 2015

How to embed google map on a web page using javascript

 First create an HTML DOC type: <!DOCTYPE html>Then create a script that connects to the google API  note: API stands for Application Programming Interface :<script src="http://maps.googleapis.com/maps/api/js"></script> The next step is to create a javascript function, then declare a variable in the function and give it any name of your choice, in the case i used "map1" after creating the function i set the latitude and longitude in my variable <script>function...
Read More »