MyMap.ZoomTo(g.Attributes["MyLocation"] as Polygon);
Sure you can use the table URL as your QueryTask.URL, this should return you Attributes but no Geometry would be returned. If Geometry is an Attribute or Field in your table, then you can still zoom to this location. For example MyMap.ZoomTo(g.Attributes["MyLocation"] as Polygon);
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.