Opened 12 years ago

Closed 12 years ago

#102 closed task (fixed)

Valid Config Parameters

Reported by: andersd Owned by: theduckylittle
Priority: major Milestone: 2.6.1
Component: Docs Version: 2.6
Keywords: Cc: EliL

Description

I need to know which parameters are valid for mapbook.xml config. This needs to be done prior to completing documentation for 2.6. It appears that the following are deprecated or unknown. We need to verify that these are or not:

drawing_tools.default_fill (deprecated)
drawing_tools.default_stroke(deprecated)
drawing_tools.default_opacity(deprecated)
layer_controls.refresh.on(deprecated)
layer_controls.cycle.on(deprecated)
layer_controls.cycle.seconds(deprecated)
mapserver_url (deprecated)
mapfile_root(deprecated)
reference_map_enabled (deprecated)
scale_line.enabled (deprecated)
scale_line.top_units(deprecated)
scale_line.width (deprecated)
waiting_html (unknown if still current)
messages.requirement_failure(unknown if still current)
messages.invalid_tool(unknown if still current)
messages.service_not_found(unknown if still current)
messages.invalid_response(unknown if still current)
messages.mapbook_version(unknown if still current)
messages.mapbook_required(unknown if still current)
messages.mapbook_param_error(unknown if still current)
popups.autosize(unknown if still current)
show_service_settings_in(unknown if still current)

Please let me know if this the deprecated ones are truly deprecated and which of the unknowns are still valid.

Change History (10)

comment:1 by theduckylittle, 12 years ago

Owner: changed from EliL to theduckylittle
Status: newassigned

comment:2 by theduckylittle, 12 years ago

Owner: changed from theduckylittle to EliL

Here are my findings and a description of those that are still used.

waiting_html - Used to populate the HTML of a service tab while waiting for a reload.

messages.requirement_failure - The users is prompted with this message when they fail to fill in all of the required fields for a service.

messages.invalid_tool - Altered to the user when the mapbook features the enablement of a tool that doesn't exist (like "polysquare").

messages.service_not_found - Deprecated. Removed from config.js
messages.invalid_response - Deprecated. Removed from config.js

messages.mapbook_version - Currently unused because it appears that I'm not longer checking mapbook versions before moving forward with running the application. We may want to check that this is desirable.

messages.mapbook_required - Deprecated. Removed from config.js

messages.mapbook_param_error - Altered to the user when something did not go well with the parsing the parameters.

popups.autosize - Currently deprecated, will be coming back in 2.6.1

show_service_settings_in - Deprecated. Removed from config.js.

comment:3 by EliL, 12 years ago

Cc: theduckylittle added
Status: assignedtesting

Rearranged alphabetically and made these changes too. Please carefully review during testing.

I didn't change anything for reference_map_enable or popups.autoresize since they have tickets and will be revised when the tickets are addressed.

tabs needs review, Dan, please advise.

Just a note, I don't seem able to make a code block without a visible :

r842

comment:4 by EliL, 12 years ago

Status: testingneeds_work

Please review tabs.

comment:5 by EliL, 12 years ago

Cc: EliL added; theduckylittle removed
Owner: changed from EliL to theduckylittle
Status: needs_workassigned

comment:6 by bfischer, 12 years ago

Milestone: 2.62.6.1

comment:7 by theduckylittle, 12 years ago

Status: assignedtesting

default_tab has been deprecated.
tabs has been deprecated also.

I updated teh docs for this.

comment:8 by theduckylittle, 12 years ago

comment:9 by theduckylittle, 12 years ago

Updated tab docs r953

comment:10 by EliL, 12 years ago

Resolution: fixed
Status: testingclosed
Note: See TracTickets for help on using tickets.