Place Your Location on the Google Map in Your Site

Do you want to place your custom locations on the Google Map and the map will be in your web page? If you have basic knowledge of HTML it will be a very easy task to you. For implementing the Google Map you will have to get the Google Map API key from Google. Google Map API  to get the API or you can visit the following URL.

After getting the API key you have to follow the steps mentioned below:

  1. Get the Latitude & Longitude of your place.
  2. Put your API key in the following JavaScript part and place it before closing head tag.
 <script src=";v=2&amp;sensor=false&amp;key=Your Key will be here" type="text/javascript"></script>

You have to define Latitude & Longitude in the code like as follows.

 var point = new GLatLng(43.82589,-79.10040);

Here is the full codes of the Google Map






Leave a Reply

Your email address will not be published. Required fields are marked *