diff options
Diffstat (limited to 'map_prepare.php')
| -rwxr-xr-x | map_prepare.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/map_prepare.php b/map_prepare.php new file mode 100755 index 0000000..288f104 --- /dev/null +++ b/map_prepare.php @@ -0,0 +1,19 @@ + + + +<script type="text/javascript"> + var G=google.maps; + <?php echo"startsearch='".$search."';\n";?> + <?php echo"startmenu='".$menu."';\n";?> + <?php echo"startmarkers='".$markers."';\n";?> + + + //security flags for js + <?php echo "EDITABLE=".$editable."\n";?> + <?php echo "DEBUG=".$debug."\n";?> + <?php echo "STARTPOS=new G.LatLng(".$startlat.",".$startlng.")\n";?> + // Pass any POST variables to Javascript, which are then used in maps-extra.js + var search_posted = '<?php echo $_GET['q']; ?>'; + var quicklinks_posted = '<?php echo $quicklinks_posted; ?>'; + var submit_the_query_form = false; +</script>
\ No newline at end of file |
