Location: Difference between revisions
From Wiki**3
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<runphp> | <runphp>print "<script type=\"text/javascript\" src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyArSvrf-pAIg5hbhc1duw5MWoAMxlOTPrg&sensor=false\"></script><script type=\"text/javascript\">function initialize() { var mapOptions = { center: new google.maps.LatLng(-34.397, 150.644), zoom: 8 }; var map = new google.maps.Map(document.getElementById(\"map-canvas\"), mapOptions); } google.maps.event.addDomListener(window, 'load', initialize); initialize(); </script> <div style=\"height: 100%;\" id=\"map-canvas\"/>";</runphp> | ||
print " | |||
</runphp> |
Revision as of 14:32, 18 February 2014
<runphp>print "<script type=\"text/javascript\" src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSyArSvrf-pAIg5hbhc1duw5MWoAMxlOTPrg&sensor=false\"></script><script type=\"text/javascript\">function initialize() { var mapOptions = { center: new google.maps.LatLng(-34.397, 150.644), zoom: 8 }; var map = new google.maps.Map(document.getElementById(\"map-canvas\"), mapOptions); } google.maps.event.addDomListener(window, 'load', initialize); initialize(); </script>
";</runphp>