Overview

Description

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).

Files

  • http/javascripts/mod_overview.js

SQL

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');

Help

http://www.mapbender.org/Overview

Maintainer

http://www.mapbender.org/User:Christoph_Baudson

Parameters

overview_wmswms 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

License

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/mapbender/trunk/mapbender/license/license.txt

Close