summaryrefslogtreecommitdiff
path: root/mapedit.php
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2013-05-08 22:59:04 +0100
committerComment <tim@gray.(none)>2013-05-08 22:59:04 +0100
commit4f81e9399051cc90ccddeb69b785d7422a28a1ff (patch)
treeea5187184ed61114b9315371e5c2d709bdf26c4f /mapedit.php
initial commit
Diffstat (limited to 'mapedit.php')
-rwxr-xr-xmapedit.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/mapedit.php b/mapedit.php
new file mode 100755
index 0000000..4f268b7
--- /dev/null
+++ b/mapedit.php
@@ -0,0 +1,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>