diff options
Diffstat (limited to 'mapedit.php')
| -rwxr-xr-x | mapedit.php | 26 |
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> |
