Created
January 27, 2016 03:41
-
-
Save yeltsin/c7485ee8bb916215fba7 to your computer and use it in GitHub Desktop.
backup localização
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Directions --> | |
<div class='directions custom-color'> | |
<div class='map' id='detail-map'></div> | |
<!-- Embed map --> | |
<script> | |
<!-- function initialize() { | |
var myLatlng = new google.maps.LatLng(<?php echo $detail_gps_latitude.",".$detail_gps_longtitude; ?>); | |
var mapOptions = { | |
zoom: 14, | |
center: myLatlng, | |
scrollwheel: false | |
} | |
var map = new google.maps.Map(document.getElementById('detail-map'), mapOptions); | |
var marker = new google.maps.Marker({ | |
position: myLatlng, | |
map: map, | |
title: 'Hello World!' | |
}); | |
} | |
google.maps.event.addDomListener(window, 'load', initialize); --> | |
</script> | |
<!-- Directions content --> | |
<div class='directions-content'> | |
<p> | |
<strong><?php echo $poi['poi_address_street'][0]; ?></strong><br /> | |
<?php echo $poi['poi_address_postcode'][0]; ?>, <?php echo $poi['poi_address_city'][0]; ?><br /> | |
<?php echo $poi['poi_address_country'][0]; ?> | |
</p> | |
<p> | |
<strong>GPS</strong><br /> | |
<?php echo $poi['poi_gps_latitude'][0]; ?><br /> | |
<?php echo $poi['poi_gps_longtitude'][0]; ?> | |
</p> | |
<p> | |
<strong>Contact</strong><br /> | |
<a href='<?php echo $poi['poi_contact'][0]; ?>'><?php echo $poi['poi_contact'][0]; ?></a> | |
</p> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment