config.js Configuration Options¶
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.
cursorObject of CSS cursor definitions
cursor.panCSS for pan tool.
cursor.zoomoutCSS for zoomout tool.
cursor.zoominCSS for zoomin tool.
cursor.measureCSS for measure tool.
cursor.measureareaCSS for measurearea tool.
scale_line.enabledToggle whether the scale line should be displayed on the map. Defaults to false.
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.
servicesOptions for controlling the behaviour of services.
services.disable_hidden_tabsToggle whether to disable tables when they have been hidden. Defaults to false.
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.
