summaryrefslogtreecommitdiff
path: root/mapedit.php
blob: 4f268b7842618498b5f3a6af1827925549c11e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
	html { height: 100% }
	body { height: 100%; margin: 0; padding: 0 }
</style>
<?php include "config.php"; ?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyADLTH2csWlgn92BHVOuN6cRYsd_uKJowk&sensor=true"></script>
<script type="text/javascript">
	<?php
	#prefs
	echo "G = google.maps;\n";
	echo "EDITABLE=".$editable."\n";
	echo "DEBUG=".$debug."\n";
	echo "STARTPOS=new G.LatLng(".$startlat.",".$startlng.")\n";
	?>
</script>
<script src="map.js" type="text/javascript"></script>
</head>
<body onload="onLoad()" style="width:100%; height:100%">
	<div id="map" style="width:100%; height:90%"></div>>
	<div id="info" style="width:100%; height:10%"></div>>
</body>
</html>