GeoMOOSE Configuration Options¶
Introduction¶
GeoMOOSE has a plethora of configuration options. All of them can be changed in the mapbook and it is possible to highly customize the interface without writing a single line of code. This document attempts to keep up with the various settings options in order to give the user more control over their GeoMOOSE installation. Organization is arbitrarily alphabetisized (mostly).
How to Change a Setting¶
Every Mapbook has a <configuration> section. In the <configuration> section there are multiple <param> fields. The <param> fields are how settings are changed from their defaults. For example, to add some HTML to the Links bar:
<configuration>
...
<param name="links_bar_html"><![CDATA[This is some html, with a <a href="http://www.google.com">link to Google!</a>]]></param>
...
</configuration>
The Parameters¶
links_bar_htmlHTML to be contained in the bar after the header and before the toolbar.
waiting_htmlMessage to use when a user is waiting for something to load.
mapserver_urlThe URL to use for MapServer-type map sources.
control_panel_sideChange which side on which the control panel resides.
mapfile_rootThe filesystem path on which all mapfiles reside. Used for Mapserver-type map sources.
mapbookThe URL to the mapbook. Defaults to php/getmapbook.php.
fractional_zoomToggles whether ‘in between’ zooms or strict steps should be supported.
scalesList of scales to be used in the zoom-ladder.
max_extentThe maximum bounding box of the map.
initial_extentThe initial bounding box view of the map.
projectionThe projection to be used for the map.
ground_unitsSet the ground units of the map. Defaults to ‘m’.
catalog_nameSet the catalog’s label. Defaults to ‘Catalog’
flashy_bitsToggles Animations on or off. Defaults to true
zoomtoObject representing the zoom to drop downs.
jumpto_scalesObject containing the label:scale values for the scale jumper.
startup_serviceService to call at startup. Defaults to false
layer_control_orderChanges the display order of the layer controls. Stored as an array.
layer_controlsobject containing objects describing the layer controls.
layer_options.transitionEffectOpenLayers defined transition effect for all layers. Defaults to null.
layer_options.bufferOpenLayers vector layer buffer radius. Defaults to 0.
layer_options.ratioOpenLayers “ratio” for vector layers. Defaults to 1.
catalog.toggle_controlsTurn on or off the ability to hide the layer controls in the catalog. Defaults to true.
catalog.show_controlsTurn on or off the controls in the catalog. Defaults to true.
reference_mapNot yet implemented.
scale_line.enabledToggle whether the scale lien should be displayed on the map. Defaults to true.
scale_line.top_unitsWhat units to display on the top of the scale line.
scale_line.bottom_unitsWhat units to display on the bottom of the scale line.
scale_line.widthThe width, in pixels, of the scale line.
measure_tooloptions for the measure tools.
measure_tool.precisionNumber of digits to display in the readings.
measure_tool.styleOpenLayers style object.
measure_tool.line_unitsDefault units to use for Line measurements.
measure_tool.area_unitsDefault units to use for Area measurements.
default_toolTool to default to when GeoMOOSE.activateDefaultTool is called.
popupsoptions for controlling the behavior of popups.
popups.left_offsetThis is used in conjunction with popup CSS styling to properly position the mouse after a popup has been dragged.
popups.clearOnMoveToggle whether popups should clear themselves when the user moves from the focus.
servicesOptions for controlling the behaviour of services.
services.disable_hidden_tabsToggle whether to disable tables when they have been hidden. Defaults to false.
services.disable_othersToggle whether tools and other tabs should be disabled when starting a service.
services.cancel_labelThe label for the cancel button in the service tab.
services.toolsdefault tools for spatial steps.
services.tools.panShow the pan tool for spatial steps.
services.tools.edit-polygonShow the edit polygon tool for spatial steps.
services.tools.pointShow the edit draw point for spatial steps.
services.tools.lineShow the edit draw line for spatial steps.
services.tools.polgonShow the edit draw polgon for spatial steps.
services.tools.boxShow the edit draw box for spatial steps.
services.tools.select_featureSelect a shape from a vector layer.
messagesObject of error messages.
messages.requirement_failureShown when the user does not fill in a required feild.
messages.invalid_toolShown when a user tries to start a tool which is not properly configured.
messages.service_config_errorShown when an admin does not properly configure the tools for a service.
messages.mapbook_invalidShown when the server does not return a valid mapbook contents.
message.mapbook_versionShown when a user tries to load a 1.X version of the mapbook.
mapbook_param_errorShown when the mapbook contains an invalid <param> tag.
messages.service_return_errorShown when a service failes to return valid XML.
Autogenerated¶
Generated from: docs/doc_config_js.py
