public override void Process() { MapControlModel model = MapControlModel.GetModelFromSession(); model.SetMapSize(MapAlias, MapWidth, MapHeight); MapInfo.Mapping.Map map = model.GetMapObj(MapAlias); if (map == null) { return; } System.Drawing.Point[] points = this.ExtractPoints(this.DataString); double x = points[0].X / 10000; double y = points[0].Y / 10000; double zoom = Double.Parse(HttpContext.Current.Request["Zoom"]); if (zoom == -1) { zoom = map.Zoom.Value; } UserMap.Center(map, x, y, zoom); MemoryStream ms = model.GetMap(MapAlias, MapWidth, MapHeight, ExportFormat); StreamImageToClient(ms); return; }