Having a bit of a hiccup with the "spacial search" or "buffer" section of the super awesome enhanced search tool under flex viewer 2.5 (the rest of the tool works as expected).
After selecting a parcel, then clicking the "Spacial Search" nothing happens when you click "apply buffer" button.
It was working with ArcGIS 10.0
not working on 10.1.
Any ideas where i should be looking?
Below is the appropriate section of my SearchWidget.xml
After selecting a parcel, then clicking the "Spacial Search" nothing happens when you click "apply buffer" button.
It was working with ArcGIS 10.0
not working on 10.1.
Any ideas where i should be looking?
Below is the appropriate section of my SearchWidget.xml
Code:
<spatialrelationships>
<!-- possible spatial relationships esriSpatialRelIntersects | esriSpatialRelContains
| esriSpatialRelCrosses | esriSpatialRelEnvelopeIntersects | esriSpatialRelIndexIntersects
| esriSpatialRelOverlaps | esriSpatialRelTouches | esriSpatialRelWithin currently
unavailable: esriSpatialRelRelation -->
<spatialrelationship>
<name>esriSpatialRelContains</name>
<label>entirely contained in</label>
</spatialrelationship>
<spatialrelationship>
<name>esriSpatialRelIntersects</name>
<label>interssected by</label>
</spatialrelationship>
<spatialrelationship>
<name>esriSpatialRelEnvelopeIntersects</name>
<label>intersected by envelop of</label>
</spatialrelationship>
</spatialrelationships>
<bufferunits>
<bufferunit>
<name>UNIT_FOOT</name>
<label>Feet</label>
</bufferunit>
<bufferunit>
<name>UNIT_STATUTE_MILE</name>
<label>Miles</label>
</bufferunit>
<bufferunit>
<name>UNIT_METER</name>
<label>Meters</label>
</bufferunit>
<bufferunit>
<name>UNIT_KILOMETER</name>
<label>Kilometers</label>
</bufferunit>
</bufferunits>
<enabledatagridinteractionwithwidget>true</enabledatagridinteractionwithwidget>
<toleranceforpointgraphicalselection>6</toleranceforpointgraphicalselection><!-- value is in screen pixels -->
<tolerancebydefault>false</tolerancebydefault>
<spatialreference>102003</spatialreference>
<zoomscale>2400</zoomscale>
<geometryservice>http://10.0.20.11:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer</geometryservice>
<csvseparator>,</csvseparator>
<disablebuttons></disablebuttons><!--possible values one or more not all four search types comma separated text,graphic,spatial,grid,datagrid -->
<defaultselectionoption>textInput</defaultselectionoption><!--possible values only one graphicalInput or textInput or spatialInput -->
<enabledrawgraphicbutton>true</enabledrawgraphicbutton>
<enablebuffergraphicbutton>true</enablebuffergraphicbutton>
<selectedgraphicaltool></selectedgraphicaltool><!-- possible values are extent or polygon or mappoint or polyline or nothing -->
<multipartgraphicsearch>false</multipartgraphicsearch>
<floatorfixed disablerelatestabinfixed="false">float</floatorfixed><!-- possible values are fixed and float -->
<relatetooltip>Show Relates</relatetooltip>
<relateicon>widgets/eSearch/assets/images/i_relate.png</relateicon>
<labels>
<bufferusergraphics>Buffer Graphic</bufferusergraphics>
<norelatesfound>No related features found for: </norelatesfound>
<norelatesfoundalerttitle>No Results</norelatesfoundalerttitle>
<addtolerance>Add search tolerance to point selection</addtolerance>
<existingdrawgraphicslabel>Use Existing eDraw Widget Graphics</existingdrawgraphicslabel>
<existingbuffergraphicslabel>Use Existing Point Buffer Widget Graphics</existingbuffergraphicslabel>
<graphicalsearchlabel>Graphical Search</graphicalsearchlabel>
<textsearchlabel>Text Search</textsearchlabel>
<resultslabel>Results</resultslabel>
<layerlabel>Search Layer:</layerlabel>
<layerfieldlabel>Search Layer Field:</layerfieldlabel>
<nolayerlabel>No search layer defined.</nolayerlabel>
<submitlabel>Search</submitlabel>
<pointlabel>Select by Point</pointlabel>
<linelabel>Select by Line</linelabel>
<rectanglelabel>Select by Rectangle</rectanglelabel>
<polygonlabel>Select by Polygon</polygonlabel>
<clearlabel>Clear</clearlabel>
<loadinglabel>Loading...</loadinglabel>
<selectionlabel>Features Selected:</selectionlabel>
<gridresultslabel>Show Results in Grid</gridresultslabel>
<csvdefaultname>Selected Records</csvdefaultname>
<relatescsvdefaultname>Related Records</relatescsvdefaultname>
<exportbtnlabel>Export...</exportbtnlabel>
<export2csvoptionlabel>Export to CSV...</export2csvoptionlabel>
<export2txtoptionlabel>Export to Txt...</export2txtoptionlabel>
<bufferlabel>apply a search distance:</bufferlabel>
<spatialsearchlabel>Spatial search</spatialsearchlabel>
<applybufferlabel>Apply buffer</applybufferlabel>
<searchlayerlabel>Search entities of:</searchlayerlabel>
<enablemultipartsearch>enable multi-part graphics</enablemultipartsearch>
<zoomalllabel>Zoom</zoomalllabel>
<zoomalltip>Zoom to all results</zoomalltip>
<bufferalpha>Adjust buffer alpha</bufferalpha>
<buffercolor>Select buffer color</buffercolor>
</labels>
<symbols>
<simplefillsymbol color="0xff0000" alpha="0.5">
<outline color="0xff0000" alpha="0.8" width="2" />
</simplefillsymbol>
<!-- You can have one or the other, either simplemarkersymbol or picturemarkersymbol
defined for your point results NOT BOTH. picturemarkersymbol will override
simplemarkersymbol if you do not have it commented out. -->
<!--<simplemarkersymbol style="square" size="12" color="0xff0000" alpha="0.5"
xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0x000000"
alpha="1" width="1"/> </simplemarkersymbol> -->
<picturemarkersymbol url="assets/images/i_search.png" height="30" width="30" xoffset="0" yoffset="0" />
<simplelinesymbol color="0xff0000" alpha="0.8" width="2" />
</symbols>