Before, we use ESRI.ArcGIS.MapControl.AxMapControl for the map object, now we switch to esri wpf which uses esri.arcgis.client.Map.
Before, to zoom in, we do the following:
<AxMapControl instance>.CenterAt(mapPoint)
ESRI.ArcGIS.esriSystem.IClone clone = axMapControl.Extent as ESRI.ArcGIS.esriSystem.IClone;
IEnvelope envelope = clone.Clone() as IEnvelope;
envelope.Expand(0.50, 0.50, true);
To zoom out: envelope.Expand(1.25,1.25,true);
In wpf api, I cannot find the Expand() or CenterAt() for Map. Please advise what I can use in replacements of these methods.
Thanks!!