Difference between revisions of "Code trial page"

From Akvopedia
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!DOCTYPE html>
+
* navigation
<html>
+
** mainpage|mainpage
<head>
+
<!-- Removed community portal, current events, donations  -->
<style>
+
<!-- portal-url|portal -->
#map-canvas { width:500px; height:300px; }
+
<!-- Add portals  -->
</style>
+
** Portal:Water|Water portal
<script type="text/javascript"
+
** Portal:Sanitation|Sanitation portal
src="http://maps.google.com/maps/api/js?sensor=false">
+
** Portal:Organisations|Organisations portal
</script>
+
** Portal:Approaches|Approaches portal
<script type="text/javascript">
+
** Portal:Finance|Finance portal
var map;
+
<!-- currentevents-url|currentevents -->
var layerl0;
+
** recentchanges-url|recentchanges
function initialize() {
+
** randompage-url|randompage
map = new google.maps.Map(document.getElementById('map-canvas'), {
+
** helppage|help
center: new google.maps.LatLng(2.6214484962674076, 98.33225075069755),
+
<!-- sitesupport-url|sitesupport -->
zoom: 14,
 
mapTypeId: google.maps.MapTypeId.ROADMAP
 
});
 
layerl0 = new google.maps.FusionTablesLayer({
 
query: {
 
select: "col31",
 
from: "1_MyBy6PAYxcs_XsPYUmr_9jHkpru4JVeUuHfR_U"
 
},
 
map: map,
 
styleId: 1,
 
templateId: 2
 
});
 
}
 
google.maps.event.addDomListener(window, 'load', initialize);
 
</script>
 
</head>
 
<body>
 
<div id="map-canvas"></div>
 
</body>
 
</html>
 

Latest revision as of 05:08, 4 April 2013

  • navigation
    • mainpage|mainpage
    • Portal:Water|Water portal
    • Portal:Sanitation|Sanitation portal
    • Portal:Organisations|Organisations portal
    • Portal:Approaches|Approaches portal
    • Portal:Finance|Finance portal
    • recentchanges-url|recentchanges
    • randompage-url|randompage
    • helppage|help