summaryrefslogtreecommitdiff
path: root/map_prepare.php
blob: b4d2ea75ac11b2ba5e987ffc31c4044dcdd9d86c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21



<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 (isset($_GET['q']) ? str_replace("'", "\'", htmlspecialchars($_GET['q'])) : ''); // DS added htmlspecialchars 2013 May 8 and single quote escaping 2013 May 9 ?>';
	var quicklinks_posted = '<?php //echo $quicklinks_posted; ?>';
	var submit_the_query_form = false;
</script>