Making the google maps is not so difficult. Just to follow some code and google apis.We can make any location google map by using the code below. We have taken the example of dehradun location in India for making this google map.
- <html>
- <head>
- <script
- src="http://maps.googleapis.com/maps/api/js">
- </script>
- <script>
- function initialize() {
- var mapProp = {
- center:new google.maps.LatLng(30.321915,78.026619),
- zoom:5,
- mapTypeId:google.maps.MapTypeId.ROADMAP
- };
- var map=new google.maps.Map(document.getElementById("googleMap"), mapProp);
- }
You can also visit for such other blogs on Findnerd like iOS, Android, Java,PHP, Javascript Development Blogs etc.
No comments:
Post a Comment