Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
[deleted comment]
[deleted comment]
[deleted comment]
This is Enhancement 9 in Task Order 4.
Currently QuickZoom dropdowns pull data from a datalayer to display, such as
the name of a town or the name of an openspace parcel. Currently the QuickZoom
dropdown width is standard and not configurable. We have seen some instances
where the values displayed are cut off because the width is not sufficient. In
other cases more space than necessary is taken up on the toolbar because the
values are all shorter than the current width. We would like the ability to
configure manually the width of a dropdown. We would calculate ahead of time
the maximum width of the values to be presented (we are not asking for OLIVER
to calculate it on the fly).
Original comment by Aleda.Fr...@state.ma.us
on 23 Jan 2012 at 2:18
This is now supported by setting a numeric width in the quick Zoom config in
toolConfig.js If no width is set, it defaults to 200px.
ex:
toolSettings.quickZoomTools = {};
toolSettings.quickZoomTools.status = 'show';
toolSettings.quickZoomTools.tools = [
{id: 1,
label: 'Pick a town',
layer: 'massgis:GISDATA.TOWNS_POLYM',
valueField: 'TOWN',
width:125, // optional, defaults to 200
resetOnMove : false, // optional, defaults to true
sortBy : 'TOWN',
sortOrder : 'A',
additionalFields : 'TOWN_ID',
keyMap: {
"ctrl":true,
"alt": true,
"key": "t"
}
},
...
]
Original comment by maric423@gmail.com
on 7 Feb 2012 at 7:46
Original comment by Aleda.Fr...@state.ma.us
on 14 Feb 2012 at 4:12
Original issue reported on code.google.com by
Aleda.Fr...@state.ma.us
on 14 Sep 2011 at 7:59