GetMapFilterHeader() public static method

Gives the header part for the map filtering
public static GetMapFilterHeader ( integer $p_mapWidth, integer $p_mapHeight ) : string
$p_mapWidth integer
$p_mapHeight integer
return string
示例#1
0
			try {
				if (window.opener && (!window.opener.closed) && (!window.opener.geo_filter_window)) {
					window.opener.geo_filter_window = window;
				}
			}
			catch (e) {alert(e);};
		}
		if (window.opener) {
			window.setInterval('window.update_opener_link();', 1000);
		}
	</script>

<?php 
$map_width = 800;
$map_height = 500;
echo Geo_Map::GetMapFilterHeader($map_width, $map_height);
?>

</head>
<body onLoad="return false;">

<div class="map_show_filter">

<div class="map_mappart_outer_filter">

<div class="map_mappart_filter">
<a href="#" class="geo_map_show_initial" onClick="<?php 
echo Geo_Map::GetMapFilterCenter();
?>
 return false;"><?php 
echo $translator->trans('show initial map view', array(), 'geolocation');