Closed GoogleCodeExporter closed 8 years ago
By default, quick zooms will now reset once the map is panned or zoomed. This
can be overridden by setting the resetOnMove option in the quickZoom
configuration with a value of false. Leaving the resetOnMove option out is the
same as setting it to true.
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:48
The value does clear now, so it's better than it was, but the box is blank -
any chance it can say "Pick a town" or whatever the initial string was? Also,
if I click on it, the previously picked down is highlighted. Can we get rid of
that?
Original comment by Aleda.Fr...@state.ma.us
on 14 Feb 2012 at 3:45
Original comment by Aleda.Fr...@state.ma.us
on 31 Oct 2012 at 4:04
Original issue reported on code.google.com by
Aleda.Fr...@state.ma.us
on 23 Jan 2012 at 2:17