Aplikasi Web Gis Pemetaan Penyebaran Sekolah Di Kota Medan Menggunakan Google Maps Api

LAMPIRAN
1. Index.php





Aplikasi Pemetaan







$(document).ready(function()
{
$('area').each(function()
{
$(this).qtip(
{

content: $(this).attr('alt'), // Use the ALT attribute of
the area map
style: {
name: 'dark', // Give it the preset dark style
border: {
width: 0,
radius: 4
},
tip: true // Apply a tip at the default tooltip corner
}
});
});
});


$(document).ready(function(){
/* Start Map Controls*/
jQuery("#map-container area").mouseover(function(){
var regionMap = '.'+$(this).attr('id')+'map';
jQuery(regionMap).css('display', 'inline');

}).mouseout(function(){
var regionMap = '.'+$(this).attr('id')+'map';
// Check if a click event has occured and
only change the Region hover state accodringly
if (! jQuery(regionMap).hasClass('selected'))
{
jQuery(regionMap).css('display',
'none');

Universitas Sumatera Utara

}
});
jQuery("#map-container area").click(function(){
jQuery('#map-container
img.region').removeClass('selected').css('display', 'none');
jQuery('#practice-container
ul').removeClass('selected').css('display', 'none');
var regionMap = '.'+$(this).attr('id')+'map';
jQuery(regionMap).addClass('selected').css('display',

'inline');
});
/* End Map Controls*/
});


$(document).ready(function(){
$(".search").keyup(function()
{
var kotakpencarian = $(this).val();
var dataString = 'searchword='+ kotakpencarian;
if(kotakpencarian=='')
{
}
else
{
$.ajax({
type: "POST",
url: "search.php",
data: dataString,

cache: false,
success: function(html)
{
$("#hasilpencarian").html(html).show();
}
});
}return false;
});
});
jQuery(function($){
$("#kotakpencarian").Watermark("Cari");// Untuk menampilkan
tulisan "Cari" di kotakpencarian
});








Depan
Tentang
Cari
Berita
File
Registrasi
Admin

Universitas Sumatera Utara






Form Login



Forgot Password?




Cari :






NPSNNAMAAksi