Use the overview map to navigate the main map window. You can select a new rectangle in the overview map, the details will be displayed in the main map window. Recenter the main map window section by just clicking a new position in the overview map (the scale will not change).
INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES ('<app_id>','overview', 2,1,'OverviewFrame','Overview','div','','',15,25,150,150,2, 'overflow:hidden;', '<div id="overview_maps" style="position:absolute;left:0px;right:0px;"></div>', 'div','../plugins/mb_overview.js','mod_box1.js','mapframe1','mapframe1', 'http://www.mapbender.org/index.php/Overview'); INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('<app_id>', 'overview', 'overview_wms', '0', 'wms that shows up as overview' ,'var'); INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('<app_id>', 'overview', 'skipWmsIfSrsNotSupported', '0', 'if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility' , 'var');
http://www.mapbender.org/Overview
http://www.mapbender.org/User:Christoph_Baudson
overview_wms | wms that shows up as overview |
skipWmsIfSrsNotSupported | [optional] if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility |
Copyright © 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license. http://svn.osgeo.org