mb_background

Description

A GoogleMaps like button set to select the current background map.

Files

  • http/plugins/mb_background.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 ('<appId>',
'mb_background',1,1,'Set background WMS','Set background WMS','div','',
'',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div',
'../plugins/mb_background.js','','mapframe1','','');

INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
context, var_type) VALUES('test_background', 'body',
'setBackgroundWmsCss', '.label-background-wms {
border: 1px solid black;
padding: 2px 10px 2px 10px;
background-color: #fff;
cursor: pointer;
white-space: nowrap;
}
.label-background-wms-active {
font-weight: bold;
padding: 1px 9px 1px 9px;
border: 2px solid black;
}
.container-background-wms {
position: relative;
z-index: 300;
margin: 7px;
text-align:right;
}', '' ,'text/css');

Help

http://www.mapbender.org/<wiki site name>

Maintainer

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

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