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.
http://code.google.com/apis/maps/signup.html
After getting the API key you have to follow the steps mentioned below:
- Get the Latitude & Longitude of your place.
- Put your API key in the following JavaScript part and place it before closing head tag.
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&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