I'm using the web appbuilder Search Widget (not Robert's Extended Search widget) to set up an attribute search on our parcel layer. This is a hosted feature layer, with about 110k polygons, and only 3 attributes. It is projected using WGS84 Web Mercator (wkid 3857).
When I search using the widget, the feature is found, a highlighted copy of the feature is drawn in the graphics layer, the map zooms in and the popup window is added. All that sounds great, But here are the problems:
- The feature in the graphics layer is a 'generalized' copy of the original feature, and does not align well, especially with complex polygons.
- The map zooms in way too far, past the extent of the feature being returned.
- The status wheel in the lower right of the application (new at WAB 2.1), does not stop spinning indicating some sort of error.
- Opening the console reveals the error (this error occurs every time I try to search):
TypeError: Unable to draw graphic (null): b.geometry.getCenter is not a function
Has anyone else observed similar behaviors from the Search Widget? Thank you for any insights.