Closed GoogleCodeExporter closed 9 years ago
r383 addresses this
Right now the reset button only reset the values. The user will still have to
Apply the changes. If this is not the desired behavior let me know.
Original comment by cpl...@gmail.com
on 26 Oct 2012 at 8:02
Hi Charlton, I don't understand your comment above and I don't see any
difference with the
UI...http://maps.massgis.state.ma.us/map_ol_nov_2012/dor_la3.php I click the
Filter Builder - I expected another button on there that said "Clear" or
"Reset". Am I looking in the wrong place?
Original comment by Aleda.Fr...@state.ma.us
on 31 Oct 2012 at 4:30
You'll need to change the toolConfig*filter.js that belongs to each deployment.
In r383 I changed toolConfig_sample_filter_prisons.js.
Original comment by cpl...@gmail.com
on 31 Oct 2012 at 4:34
OK. Boy, I'm going to have to update a lot of viewers.. I guess I have job
security...
Original comment by Aleda.Fr...@state.ma.us
on 31 Oct 2012 at 4:35
I think we should move all this config business from its current mix of control
PHP + toolConfig .js's into ONE control file per deployment. Feature request!
Original comment by cpl...@gmail.com
on 31 Oct 2012 at 4:38
Original comment by Aleda.Fr...@state.ma.us
on 31 Oct 2012 at 4:42
Original comment by Aleda.Fr...@state.ma.us
on 31 Oct 2012 at 5:29
r391 fixes a bug that was keeping all the text boxes from being cleared.
I only changed this in toolConfig_sample_filter_prisons.js. FYI the only line
that changed was near the first occurrence of 'win.resetItems.push('. It's the
'id' line.
win.resetItems.push({
id : el.id
,typ : 'number'
,val : el.getValue()
});
Original comment by cpl...@gmail.com
on 31 Oct 2012 at 6:21
Original comment by Aleda.Fr...@state.ma.us
on 31 Oct 2012 at 6:28
I found a bug - Reset will clear everything if the window has remained open
since the query, but if it has been closed and reopened it won't clear.
Example -
http://maps.massgis.state.ma.us/map_ol_nov_2012/dor_la3.php?lyrs=Massachusetts%2
0Towns%20Survey%20Boundaries~massgis:GISDATA.TOWNSSURVEY_ARC~GISDATA.TOWNSSURVEY
_ARC::Default|Real%20Property%20Verified%20Market%20Sales~massgis:GISDATA.DOR_LA
3_PT~GISDATA.DOR_LA3_PT::Default&bbox=-71.07149939825234,42.43532451702461,-71.0
6283586313619,42.43871741865705&coordUnit=m&measureUnit=m&base=googleRoadmap¢er
=-7911160.9127691,5226669.539116&zoom=18&opacity=1,1&baseO=1&filt=undefined|%3Co
gc%3AFilter%20xmlns%3Aogc%3D%22http%3A//www.opengis.net/ogc%22%3E%3Cogc%3AAnd%3E
%3Cogc%3AIntersects%3E%3Cogc%3APropertyName%3ESHAPE%3C/ogc%3APropertyName%3E%3Cg
ml%3APolygon%20xmlns%3Agml%3D%22http%3A//www.opengis.net/gml%22%20srsName%3D%22E
PSG%3A900913%22%3E%3Cgml%3Aexterior%3E%3Cgml%3ALinearRing%3E%3Cgml%3AposList%3E-
7911643.1229279%205226413.6542206%20-7910678.7026103%205226413.6542206%20-791067
8.7026103%205226925.4240114%20-7911643.1229279%205226925.4240114%20-7911643.1229
279%205226413.6542206%3C/gml%3AposList%3E%3C/gml%3ALinearRing%3E%3C/gml%3Aexteri
or%3E%3C/gml%3APolygon%3E%3C/ogc%3AIntersects%3E%3Cogc%3APropertyIsBetween%3E%3C
ogc%3APropertyName%3ESALE_PRICE%3C/ogc%3APropertyName%3E%3Cogc%3ALowerBoundary%3
E%3Cogc%3ALiteral%3E300000%3C/ogc%3ALiteral%3E%3C/ogc%3ALowerBoundary%3E%3Cogc%3
AUpperBoundary%3E%3Cogc%3ALiteral%3E400000%3C/ogc%3ALiteral%3E%3C/ogc%3AUpperBou
ndary%3E%3C/ogc%3APropertyIsBetween%3E%3C/ogc%3AAnd%3E%3C/ogc%3AFilter%3E
Click Filter Builder tool.
Search for Property Type 101 and price between 200000 and 400000.
10 features will return.
If you click Reset now, the 101 and the price will clear.
However, if you were to do the above, get the 10 features, then close the
Filter Builder dialog and then open it again with the Filter tool and THEN try
to reset - the values won't clear.
Original comment by Aleda.Fr...@state.ma.us
on 23 Nov 2012 at 8:06
r407 hopefully fixes this. These changes will need to be applied to all
filters that you may already have made. :(
Original comment by cpl...@gmail.com
on 23 Nov 2012 at 9:42
Original comment by Aleda.Fr...@state.ma.us
on 23 Nov 2012 at 10:06
Original issue reported on code.google.com by
Aleda.Fr...@state.ma.us
on 27 Jun 2012 at 6:02