Added Web Service Examples
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
||||
<style type="text/css">
|
||||
html { height: 100% }
|
||||
body { height: 100%; margin: 0; padding: 0 }
|
||||
#map_canvas { height: 100% }
|
||||
</style>
|
||||
<script type="text/javascript"
|
||||
src="http://maps.googleapis.com/maps/api/js?key=AIzaSyBLsOKBo1cgE0ZbXaWHzbOA6JSeGYDdylw&sensor=false">
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function initialize() {
|
||||
var myLatlng = new google.maps.LatLng(-7.78690, 110.37815);
|
||||
var BethesdaLatlng = new google.maps.LatLng(-7.78346, 110.37844);
|
||||
var myOptions = {
|
||||
center: myLatlng,
|
||||
zoom: 18,
|
||||
mapTypeId: google.maps.MapTypeId.SATELLITE
|
||||
};
|
||||
var map = new google.maps.Map(document.getElementById("map_canvas"),
|
||||
myOptions);
|
||||
|
||||
var marker = new google.maps.Marker({
|
||||
position: myLatlng,
|
||||
map: map,
|
||||
title:"Duta Wacana Christian University!"
|
||||
});
|
||||
|
||||
var marker = new google.maps.Marker({
|
||||
position: BethesdaLatlng,
|
||||
map: map,
|
||||
title:"Bethesda Hospital"
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="initialize()">
|
||||
<div id="map_canvas" style="width:100%; height:100%"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user