Thanks !
What I am Looking For
can i add a label which show how much record found in data grid?
...... graphicsLayer.Graphics.Add(graphic); // Zoom to selected graphic var geometry = graphic.Geometry; if (geometry.Extent.Width == 0 && geometry.Extent.Height == 0) { // Zoom to point is not supported -> need to expand the geometry (we might also just Pan) var center = geometry.Extent.GetCenter(); double size = MyMap.MinimumResolution == 0 ? 1000 : MyMap.ActualWidth * MyMap.MinimumResolution * 4.0; geometry = new ESRI.ArcGIS.Client.Geometry.Envelope(center.X - size / 2, center.Y - size / 2, center.X + size / 2, center.Y + size / 2); } MyMap.ZoomTo(geometry); ......
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.