Bad choice of words...what I mean is the polygon tool goes right back to the drawing state after a polygon has been created, whereas the rectangle tool makes a new selection with a single click after the first rectangle has been drawn. They actually do not behave identically...I double checked using the code gallery link to widget and tested it using the parcels layer....
Philipp, You have never been prompted in my widget.Bad choice of words...what I mean is the polygon tool goes right back to the drawing state after a polygon has been created, whereas the rectangle tool makes a new selection with a single click after the first rectangle has been drawn. They actually do not behave identically...I double checked using the code gallery link to widget and tested it using the parcels layer....The rectangle tool works identically to the polygon tool...I will fix this in the next release.If you selected a graphical selection tool and then never draw anything on the map, you would have to hit clear on the graphical selection view to disable the currently selected draw tool.Ahh, that would make sense...
if(ViewerContainer.urlConfigParams.SEARCH != null){ callLater(queryFromURL,[ViewerContainer.urlConfigParams.SEARCH,ViewerContainer.urlConfigParams.slayer,ViewerContainer.urlConfigParams.exprnum]); }
Noticing some odd behavior when using the select by rectangle tool. After the initial selection is made (on a parcel layer) clicking anywhere else on the map will create a new selection without being prompted to draw a new rectangle.
This should work the same way as the select by polygon tool - after the initial selection if you click elsewhere you must redraw a new polygon to create a new selection.
Also, when closing the tool the selection is cleared, but the buffer remains...
And...when drawing a rectangle there is a tooltip 'Press down to start and let go to finish' that hangs around even if after you select to do a text search...
Michael, Do you have your shape and/or ObjectID fields hidden in the MXD? If that is a problem.
Michael, You need to be a little more specific.. When do you get the error when you attempt to launch the widget, when you click search?
<expressions> <expression alias="Parcel ID" textsearchlabel="Search parcels by ID [Example: 102.6-2-9]"> upper(TAXID) LIKE upper('%[value]%')</expression> <expression alias="Parcel OWNER" textsearchlabel="Search parcels by OWNER [Example: Smith, John]"> upper(OWNER1) LIKE upper('%[value]%')</expression> <expression alias="Parcel LOCATION" textsearchlabel="Search parcels by LOCATION [Example: 139 Pack Forest Rd]"> upper(PROP_ADDR) LIKE upper('%[value]%')</expression> </expressions>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.