+1 vote
which concept is used to create google map?

Any help on the coding ?
asked Sep 24, 2015 in Computer Science - IT by deepika
edited Apr 19, 2016 by slow_learner | 168 views
Do you want with any particular location?if you cannot post comments
you can edit question and answer comments in question details part

1 Answer

0 votes

You can easily create / integrate google map to your website .

To give a try ,just add below html content in your page :

<!DOCTYPE html>
      #map {
        width: 500px;
        height: 400px;
    <script src="https://maps.googleapis.com/maps/api/js"></script>
      function initialize() {
        var mapCanvas = document.getElementById('map');
        var mapOptions = {
          center: new google.maps.LatLng( 21.0000,  78.0000),
          zoom: 8,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        var map = new google.maps.Map(mapCanvas, mapOptions)
      google.maps.event.addDomListener(window, 'load', initialize);
    <div id="map"></div>

In place of :     center: new google.maps.LatLng( 21.0000,  78.0000) in above code add relevant co-ordinates of your location.

You can find co-ordinates from this website :http://www.latlong.net/

answered Sep 25, 2015 by slow_learner