Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:places:luc_si_thanh [2016/09/17 03:17]
127.0.0.1 external edit
en:places:luc_si_thanh [2019/09/01 10:47] (current)
benoit Approved
Line 13: Line 13:
  
  
- 
-/* two ways to set the pages: 
- 
-just aligned to the left, no wrapping 
 <​html>​ <​html>​
--------->​ a script as generated by http://​www.map-embed.com/​ (height: 300px; width: 400px) +<iframe src="https://​www.google.com/​maps/​embed?pb=!1m18!1m12!1m3!1d89861.56080514296!2d105.86947126098654!3d9.96229066398799!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zOcKwNTcnMTAuNyJOIDEwNcKwNTQnNTEuNSJF!5e1!3m2!1sen!2s!4v1567334532632!5m2!1sen!2s" width="​400" height="​300" ​frameborder="0" ​style="border:0;" allowfullscreen=""></​iframe></​html>​
-</html> +
- +
-or floating on the left, with text wrapping to the right +
-<​html><​div style="">​ +
--------->​ a script as generated by http://www.map-embed.com/​ (height: 300px; width: 400px) +
-</​div></​html>​ +
-*/ +
-<​html>​ +
-<script type="​text/​javascript"​ src="​http://​maps.google.com/​maps/​api/js?sensor=false"></​script><​div style="​overflow:​hidden;​height:​300px;​width:​400px;"><​div id="gmap_canvas"​ style="​height:​300px;​width:​400px;"></​div><​style>#​gmap_canvas img{max-width:​none!important;​background:​none!important}</​style><​a class="google-map-code" ​href="http://​www.map-embed.com" ​id="get-map-data">​map-embed.com</​a></​div><​script type="​text/​javascript">​ function init_map(){var myOptions = {zoom:11,​center:​new google.maps.LatLng(9.953147602489208,​105.91217310546881),​mapTypeId:​ google.maps.MapTypeId.HYBRID};map new google.maps.Map(document.getElementById("gmap_canvas"), myOptions);​marker = new google.maps.Marker({map:​ map,​position:​ new google.maps.LatLng(9.953147602489208,​ 105.91217310546881)});​infowindow = new google.maps.InfoWindow({content:"<​b>L&#​7909;​c S&#297; Th&​agrave;​nh</​b><​br/><​br/>​ V&#​297;​nh Long" });​google.maps.event.addListener(marker,​ "​click",​ function(){infowindow.open(map,​marker);​});​infowindow.open(map,​marker);​}google.maps.event.addDomListener(window,​ '​load',​ init_map);</script> +
-</​html>​+
  
 /* paragraph re/ the place */ /* paragraph re/ the place */