Blame view

pages/contact.php 742 Bytes
07793ced   henyxia   Contact page
1
2
3
4
5
  <div class="jumbotron">
    <h1>Contact</h1>
    <p>Pour toute information, vous pouvez contacter Mme Pichonnat</p>
  </div>
  &nbsp;
b7e57048   Geoffrey PREUD'HOMME   Map now initializ...
6
  &nbsp;
a2f5866b   Geoffrey PREUD'HOMME   Added static map ...
7
8
9
  <div id="map-canvas">
      <img src="img/polyMap.png"/>
  </div>
07793ced   henyxia   Contact page
10
11
12
13
  <script>
  	function initialize()
  	{
  		var mapCanvas = document.getElementById('map-canvas');
a2f5866b   Geoffrey PREUD'HOMME   Added static map ...
14
          mapCanvas.innerHTML = ''
6250fe8d   Geoffrey PREUD'HOMME   Added marker on map
15
          var polytechPos = new google.maps.LatLng(50.6074998, 3.1373338);
07793ced   henyxia   Contact page
16
17
  		var mapOptions =
  		{
6250fe8d   Geoffrey PREUD'HOMME   Added marker on map
18
  			center: polytechPos,
791963f0   henyxia   Another design
19
  			zoom: 16,
07793ced   henyxia   Contact page
20
21
22
  			mapTypeId: google.maps.MapTypeId.ROADMAP
  		}
          var map = new google.maps.Map(mapCanvas, mapOptions)
6250fe8d   Geoffrey PREUD'HOMME   Added marker on map
23
24
25
26
27
          var marker = new google.maps.Marker({
              position: polytechPos,
              map: map,
              title:"Polytech Lille"
          });
07793ced   henyxia   Contact page
28
  	}
b7e57048   Geoffrey PREUD'HOMME   Map now initializ...
29
      initialize()
07793ced   henyxia   Contact page
30
  </script>