public static function GetMapSearchBody() { global $Campsite; $tag_string = ''; $map_suffix = '_search'; $tag_string .= "<div id=\"geo_map_mapcanvas{$map_suffix}\"></div>\n"; return $tag_string; }
</head> <body onLoad="return false;"> <div class="map_preview_serach"> <div class="map_mappart_outer_serach"> <div class="map_mappart_serach"> <div class="map_mapmenu_serach"> <a href="#" onClick="<?php echo Geo_Map::GetMapSearchCenter(); ?> return false;"><?php putGS('show initial map view'); ?> </a> </div><!-- end of map_mapmenu --> <?php echo Geo_Map::GetMapSearchBody(); ?> </div><!-- end of map_mappart --> </div><!-- end of map_mappart_outer --> </div><!-- end of map_preview --> <div class="map_search_rectangle"> <ol>Top left <li>longitude: <span id="top_left_longitude"> </span></li> <li>latitude: <span id="top_left_latitude"> </span></li> </ol> </div> <div> <ol>Bottom right <li>longitude: <span id="bottom_right_longitude"> </span></li> <li>latitude: <span id="bottom_right_latitude"> </span></li> </ol>